nanogui: Font usage/setup
Subject:
Re: [nanogui] Font usage/setup
From:
"Greg Haerr" ####@####.####
Date:
13 Jan 2006 00:41:13 +0000
Message-Id: <01fd01c617da$0a5156d0$6401a8c0@winXP>
> It only happens with TTF fonts. Fixed fonts are OK.
If I change the foreground color to 1, it (TTF) works and is black enough
for me.
Something magical is with foreground=0 and TTF
I will check X11 and GrSetGCUseBackground and get back with the info, but
X11 worked the last time I checked.
If X11 works, but framebuffer doesn't, then it could be a driver issue.
You'll want to grep for the GdArea call in the TTF font driver, where
it takes a bitmap that has been created from the TTF library in
nano-X format, which then blits it. I'm thinking perhaps the blit
routine is drawing pixel-by-pixel, and that's where the problem
is, possibly with the transparent color.
Regards,
Greg