nanogui: Resize Built-in Fonts
Subject:
Re: [nanogui] Resize Built-in Fonts
From:
"Greg Haerr" ####@####.####
Date:
2 Aug 2007 03:22:19 +0100
Message-Id: <053f01c7d4ab$ec8b5980$6401a8c0@winXP>
> I am struggling with the built-in Fonts. I want to have a size that is
twice
the "normal" size. Should not be that difficult. But i see that there is no
function defined for setting the size of a built-in font in the
fontprocs-structure (genfont.c).
The builtin fonts are a simple mechanism that do not currently
have any mechanism for multiple sizing. If you're looking for
a double size font, the easiest method is to create externally
a larger font, and add it additionally to the builtin font list.
Otherwise, there's a number of complications regarding
exactly how to scale the height and width of each character
to produce a readable, non-blocky-looking, font. And
that's just what truetype and the freetype library does.
Regards,
Greg