nanogui: GrCreateFont
Subject:
Re: [nanogui] GrCreateFont
From:
"Greg Haerr" ####@####.####
Date:
5 Jun 2001 06:23:26 -0000
Message-Id: <028301c0ed87$c5d4cf40$3aba46a6@xmission.com>
: 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