nanogui: Thread: variable font sizes in nano-X?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: variable font sizes in nano-X?
From: Sean Machin ####@####.####
Date: 25 Jan 2006 23:02:53 +0000
Message-Id: <43D80341.4010306@yahoo.com>

Hi All,

I'm using nano-X and have as my default font an 8 point font I converted 
from TrueType to BDF then to a C data array.
Is it possible to render that font in different sizes, e.g. double size, 
or must I create a new font to do this?

Thanks,
Sean
Subject: RE: [nanogui] variable font sizes in nano-X?
From: "Martin Kajdas" ####@####.####
Date: 26 Jan 2006 16:19:12 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914B5@mkmail.MKPROD.COM>

I am using variable (freetype) fonts all the time as well as some fixed fonts required by nano-X.
I think, once you convert a truetype font to fixed font, you only get one size.
You need multiple fixed font files to get multiple fixed font sizes unless you do your own scaling in your code but the results will not be very good.
Because I use many font sizes, I am using truetype fonts which in my case are worth the extra space (larger truetype file size) vs. multiple fixed font files.
Martin

-----Original Message-----
From: Sean Machin ####@####.####
Sent: Wednesday, January 25, 2006 3:01 PM
To: ####@####.####
Subject: [nanogui] variable font sizes in nano-X?


Hi All,

I'm using nano-X and have as my default font an 8 point font I converted 
from TrueType to BDF then to a C data array.
Is it possible to render that font in different sizes, e.g. double size, 
or must I create a new font to do this?

Thanks,
Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.