nanogui: TTF font weight


Previous by date: 12 Jul 2007 11:40:12 +0100 Problem with event BUTTON UP, William IN
Next by date: 12 Jul 2007 11:40:12 +0100 exposure event, abhishek desai
Previous in thread: 12 Jul 2007 11:40:12 +0100 Re: TTF font weight, Greg Haerr
Next in thread: 12 Jul 2007 11:40:12 +0100 Re: TTF font weight, Greg Haerr

Subject: Re: [nanogui] TTF font weight
From: "Uwe Klatt" ####@####.####
Date: 12 Jul 2007 11:40:12 +0100
Message-Id: <001b01c7c471$03ee5cd0$080814ac@arnstein.miwe.de>

Hello,

>> It would be nice to adjust the "font-weight" without different font
>> files. This should be possible with numerical values for FW_BOLD.

> If you do this, you'll need to implement it as discussed, by passing
> the attribute down to the font sub-driver.  In order to get
> the bold value, we'd need to pass the PMWLOGFONT
> struct all the way down, as well, instead of stopping at
> GdCreateFont().

I dig around but at the moment I think that Freetype 2 has no option
for adjusting fontweight with a numeriacal value. 8-(

Bye
Uwe 


Previous by date: 12 Jul 2007 11:40:12 +0100 Problem with event BUTTON UP, William IN
Next by date: 12 Jul 2007 11:40:12 +0100 exposure event, abhishek desai
Previous in thread: 12 Jul 2007 11:40:12 +0100 Re: TTF font weight, Greg Haerr
Next in thread: 12 Jul 2007 11:40:12 +0100 Re: TTF font weight, Greg Haerr


Powered by ezmlm-browse 0.20.