nanogui: Freetype on 4bpp display


Previous by date: 27 Jun 2006 20:36:40 +0100 Re: problems with picture drawing in Nano-X, nxlib and Fltk-UTF8 1.1.6, Andi
Next by date: 27 Jun 2006 20:36:40 +0100 Re: Freetype on 4bpp display, Greg Haerr
Previous in thread: 27 Jun 2006 20:36:40 +0100 Re: Freetype on 4bpp display, Greg Haerr
Next in thread: 27 Jun 2006 20:36:40 +0100 Re: Freetype on 4bpp display, Greg Haerr

Subject: Re: [nanogui] Freetype on 4bpp display
From: "Sunil Gupta" ####@####.####
Date: 27 Jun 2006 20:36:40 +0100
Message-Id: <37639.24.233.174.205.1151436991.squirrel@webmail.learningsoft.net>

I did a quick sanity check by just using the fblin4.c code to
make sure that I could see some freetype output when using
the new code. The effect is the same as before: no output from
freetype.

I suspect it's something other than the blitter. I put in some
more debugging probes, and see that no matter what size I set
for the font, I always get back the same font metrics. For example,
I have set sizes of 10, 12, 16, and 20 and always get back the
same info:

maxwidth = 11
height = 13
baseline = 11
descent = 101058054
maxascent = 101058054
maxdescent = 101058054
linespacing = 101058054
firstchar =
lastchar = ΓΏ
fixed = FALSE
"Test1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ": width=269, height=13, base=11

The descent, etc info looks fishy. Anyway, I guess there is some
problem in realizing the font.

Regards,
sg

>> I'm using fblin4rev.c, which doesn't seem to have the new code.
> What routine would I port in order to get freetype to work?
>
> The linear4_blit routine.
>
> The applyOpR code doesn't have to be inserted for font
> drawing, but is used for and/xor/or with images.
>
> Regards,
>
> Greg
>



Previous by date: 27 Jun 2006 20:36:40 +0100 Re: problems with picture drawing in Nano-X, nxlib and Fltk-UTF8 1.1.6, Andi
Next by date: 27 Jun 2006 20:36:40 +0100 Re: Freetype on 4bpp display, Greg Haerr
Previous in thread: 27 Jun 2006 20:36:40 +0100 Re: Freetype on 4bpp display, Greg Haerr
Next in thread: 27 Jun 2006 20:36:40 +0100 Re: Freetype on 4bpp display, Greg Haerr


Powered by ezmlm-browse 0.20.