Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

HELP! IS THERE SUCH A THING AS BIGGER FONT?

babyprogrammerbabyprogrammer Posts: 3Member
hi! I just started programming in basic and i need to know if there
is a command to make font bigger! Easily! i don't know if this is even possible but if someone could help as soon as possible...that would be great!!!!
thanks

Comments

  • anthrax11anthrax11 Posts: 511Member
    : hi! I just started programming in basic and i need to know if there
    : is a command to make font bigger! Easily! i don't know if this is even possible but if someone could help as soon as possible...that would be great!!!!
    : thanks
    :
    :
    [blue]There is no such command, but you could try entering screen mode 13, just put a "SCREEN 13" on the first line in your program.
    QB puts bigger text on the screen in grahics modes than in text modes.

    In graphics modes you could also draw your own font or copy existing text into memory and display it on the screen on a larger area.
    I'll try to make a simple example:
    [code]
    SCREEN 13
    PRINT "Simple text"

    FOR x = 1 TO 180
    FOR y = 8 TO 35
    col% = POINT(x / 2, (y / 2) - 7)
    PSET (x, y), col%
    NEXT y
    NEXT x
    [/code]
    That looks ugly, because the algorithm isn't very advanced, but it does do the job.

    You could look for QBasic libraries that would draw big fonts. I haven't seen any, but I haven't really looked for them either. If you have lots of time, you could make your own libraries, it shouldn't be too difficult, just the font drawing is time consuming.
    Good luck!
    [/blue]
  • babyprogrammerbabyprogrammer Posts: 3Member
    : : hi! I just started programming in basic and i need to know if there
    : : is a command to make font bigger! Easily! i don't know if this is even possible but if someone could help as soon as possible...that would be great!!!!
    : : thanks
    : :
    : :
    : [blue]There is no such command, but you could try entering screen mode 13, just put a "SCREEN 13" on the first line in your program.
    : QB puts bigger text on the screen in grahics modes than in text modes.
    :
    : In graphics modes you could also draw your own font or copy existing text into memory and display it on the screen on a larger area.
    : I'll try to make a simple example:
    : [code]
    : SCREEN 13
    : PRINT "Simple text"
    :
    : FOR x = 1 TO 180
    : FOR y = 8 TO 35
    : col% = POINT(x / 2, (y / 2) - 7)
    : PSET (x, y), col%
    : NEXT y
    : NEXT x
    : [/code]
    : That looks ugly, because the algorithm isn't very advanced, but it does do the job.
    :
    : You could look for QBasic libraries that would draw big fonts. I haven't seen any, but I haven't really looked for them either. If you have lots of time, you could make your own libraries, it shouldn't be too difficult, just the font drawing is time consuming.
    : Good luck!
    : [/blue]
    : [/black] Thanks! I never thought of that, and the normal font looks like just the size i need. Maybe when i have more time i'll make a library...haha maybe. Thanks again.

  • IDKIDK Posts: 1,784Member
    : You could look for QBasic libraries that would draw big fonts. I haven't seen any, but I haven't really looked for them either.

    I've done 2, and found severals. One of them is only making the font bigger, but in hundreds of different ways. The other is an editor where you can design your own fonts, that's then compressed and saved to a file. Then it's possible to use it as usuall. It is as nice as this text.

    Happy coding wishes
    the one and only [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

Sign In or Register to comment.