nanogui: Font usage/setup


Previous by date: 13 Jan 2006 18:44:40 +0000 Re: Font usage/setup, Greg Haerr
Next by date: 13 Jan 2006 18:44:40 +0000 Freetype 2, webpal.justdave.us
Previous in thread: 13 Jan 2006 18:44:40 +0000 Re: Font usage/setup, Greg Haerr
Next in thread: 13 Jan 2006 18:44:40 +0000 Re: Font usage/setup, Greg Haerr

Subject: RE: [nanogui] Font usage/setup
From: "Martin Kajdas" ####@####.####
Date: 13 Jan 2006 18:44:40 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914A3@mkmail.MKPROD.COM>

I checked the font_freetype.c code and there (line 352) is a statement:
FIXME: GdArea problem if fg == bg

This certainly would qualify when they are both zero.
I guess the magic is not really when foreground==0 but when foreground==background (which I never tried other than zero).
At this point I have no idea how to fix this.
Any pointers,
Martin


-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Thursday, January 12, 2006 4:41 PM
To: Martin Kajdas; ####@####.####
Subject: Re: [nanogui] Font usage/setup


> 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


Previous by date: 13 Jan 2006 18:44:40 +0000 Re: Font usage/setup, Greg Haerr
Next by date: 13 Jan 2006 18:44:40 +0000 Freetype 2, webpal.justdave.us
Previous in thread: 13 Jan 2006 18:44:40 +0000 Re: Font usage/setup, Greg Haerr
Next in thread: 13 Jan 2006 18:44:40 +0000 Re: Font usage/setup, Greg Haerr


Powered by ezmlm-browse 0.20.