You must be logged in to do that.

EnableVariableWidth

EnableVariableWidth
void EnableVariableWidth(int fonthandle)

Documentation

This function enables variablewidth mode for the font passed. If you're not familiar with variable-width fonts, this simply means that each character only occupies as much space as it needs when printing.

You should NOT call this with 0 as an arguement, as you might with other font routines to denote the builtin font; the built-in font is always variable width, and passing 0 to this function will generate an error.

Example Usage

int MainFont;

MainFont = LoadFont( "my_font.gif" );

EnableVariableWidth( MainFont );
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Doc Nav

Your docs
View All Docs

If you log in, you can edit the documentation, or create your own documents and tutorials!

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.