nanogui: GrCreateFont


Previous by date: 5 Jun 2001 09:03:48 -0000 query, swati
Next by date: 5 Jun 2001 09:03:48 -0000 Re: Framebuffer config, daniel
Previous in thread: 5 Jun 2001 09:03:48 -0000 Re: GrCreateFont, Greg Haerr
Next in thread:

Subject: Re: [nanogui] GrCreateFont
From: "Amit Kulkarni" ####@####.####
Date: 5 Jun 2001 09:03:48 -0000
Message-Id: <F19KFRyqwdpOTziwi7Q00006cf6@hotmail.com>

i remember installing freetype a few days ago. I've not had a good look at 
genfont.c; will have a look at it later today.
One more thing i discovered. "times" gets rendered in 6 point (very teeny 
tiny, you cant even read it). But "impact" does not.

Amit

>From: "Greg Haerr" ####@####.####
>Reply-To: "Greg Haerr" ####@####.####
>To: "Amit Kulkarni" ####@####.#### ####@####.####
>Subject: Re: [nanogui] GrCreateFont
>Date: Tue, 5 Jun 2001 00:21:35 -0600
>
>: font=GrCreateFont("impact",6,NULL);
>: does not create the impact font properly (creates an instance of the 
>default
>: built in font)
>:
>: whereas
>:
>: font=GrCreateFont("impact",15,NULL);
>: seems to creates the font properly.
>:
>: Is this the expected behaviour for smaller font sizes or is there some 
>bug?
>
>Amit,
>     Basically, if you're not running truetype or t1lib, then the default
>behaviour is to match first for height, rather than font name.  What
>font renderer are you running?
>
>It's possible that a built-in font (see drivers/genfont.c) is installed
>that is closer to the height requested than your font renderer is
>providing.
>
>Regards,
>
>Greg
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Previous by date: 5 Jun 2001 09:03:48 -0000 query, swati
Next by date: 5 Jun 2001 09:03:48 -0000 Re: Framebuffer config, daniel
Previous in thread: 5 Jun 2001 09:03:48 -0000 Re: GrCreateFont, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.