Shop OBEX P1 Docs P2 Docs Learn Events
TV Text font size — Parallax Forums

TV Text font size

Computer Geek 101Computer Geek 101 Posts: 179
edited 2011-06-13 11:49 in Propeller 1
I have a 5" lcd display. I would like to have the text from the TV_Text object to be about 2X the size. I tried the graphics object, but it requires too much memory. Is there any way to adjust the TV_Text object's resolution? Thanks.

Comments

  • localrogerlocalroger Posts: 3,452
    edited 2011-06-13 10:24
    Yes! You have to make two sets of changes to the tv_text object:

    1. Change the cols=40 and rows=13 declarations in the CON block
    2. Change tv_hx and tv_vx in the tv_params DAT block at the end of the file. Default settings are 1 for vx and 5 for hx; changing to 2 and 10 will make the text twice as large, suggesting cols=20 and rows=6.

    Since the default hx is 5 you can make relatively fine changes to the horizontal text resolution, but your options for rows are basically 13 (vx=1), 6 (vx=2), 4 (vx=3), and 3 (vx=4)
  • Computer Geek 101Computer Geek 101 Posts: 179
    edited 2011-06-13 10:45
    Thanks! That did the trick.
  • nestor73nestor73 Posts: 33
    edited 2011-06-13 11:49
    Can the same trick be done for VGA ?

    I'm currently struggling very hard to get two different fonts on a screen. The normal font
    and a font at least twice the size to show a digital clock. I'm very new to the Propeller
    and the Spin language, and i have seen demo's where it's done (a graphical area with
    a bigger font in it) but i can't seem to figure out those tile stuff :(:(:(

    Any help will be very very appreciated !
Sign In or Register to comment.