nanogui: Resize Built-in Fonts


Previous by date: 2 Aug 2007 03:22:19 +0100 Re: benchmark for nano-X ?, Aaron J. Grier
Next by date: 2 Aug 2007 03:22:19 +0100 Re: convfnt32.exe, Greg Haerr
Previous in thread: 2 Aug 2007 03:22:19 +0100 Resize Built-in Fonts, Petro Verheuvel
Next in thread:

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



Previous by date: 2 Aug 2007 03:22:19 +0100 Re: benchmark for nano-X ?, Aaron J. Grier
Next by date: 2 Aug 2007 03:22:19 +0100 Re: convfnt32.exe, Greg Haerr
Previous in thread: 2 Aug 2007 03:22:19 +0100 Resize Built-in Fonts, Petro Verheuvel
Next in thread:


Powered by ezmlm-browse 0.20.