Shop OBEX P1 Docs P2 Docs Learn Events
Can you use different size fonts at the same time on Ray's PSB? — Parallax Forums

Can you use different size fonts at the same time on Ray's PSB?

Don MDon M Posts: 1,652
edited 2012-12-18 02:28 in Propeller 1
I've been playing with Ray's PSB_8x8_Test code and making some menus. Is it possible to mix in a larger font so I can have some lines in the 8x8 style and some in the larger standard VGA style? I don't know what the larger font is called but it is the standard larger sized font in some of his other demos.

Or is there an object already that has some mixed size fonts?

Thanks.
Don

Comments

  • RaymanRayman Posts: 14,667
    edited 2012-12-17 15:24
    I can imagine that the top of the screen could be one font and the bottom a different one...
    But, that would take some work with the assembly driver...

    Might be easier to use Graphics.spin and the vector font over some portion of the screen...
  • Don MDon M Posts: 1,652
    edited 2012-12-17 15:33
    Do you have a graphics demo for the PSB that can also display the smaller text?
  • RaymanRayman Posts: 14,667
    edited 2012-12-17 17:08
    PSB Paint is essentially a graphics demo. You can just replace the drawing code with some that shows the standard Parallax vector graphics...
  • Don MDon M Posts: 1,652
    edited 2012-12-17 21:02
    Ray you're talking foreign to me here. I don't know what you mean by that.
  • RaymanRayman Posts: 14,667
    edited 2012-12-18 02:28
    Ok, maybe the easiest way is if you take a look at the classic "Graphics Demo" for TV that comes with the Propeller tool. (Maybe there's a better example?) Anyway, in that you can see code that draws the word "Propeller" into the graphics area.

    I think you can pretty much copy and paste that line or lines of code into "PSB Paint" and do the same thing there.
Sign In or Register to comment.