freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] PCF glyph numbers


From: Keith Packard
Subject: Re: [Devel] PCF glyph numbers
Date: Thu, 24 Apr 2003 10:38:52 -0700

Around 18 o'clock on Apr 24, "David Turner" wrote:

> That's most probably a bug in the PCF font driver, because the norm
> is that:
> 
>    - valid glyph indices always range from 0 to num_glyphs-1
> 
>    - glyph 0 always correspond to the "missing glyph"

Ok, that's what I thought.  Xft requires that glyphs be sequentially 
numbered from 0..num_glyphs-1 to operate properly.  I've kludged it to 
accept 0..num_glyphs to work around the PCF bug; it costs only four bytes 
for each active font to do so.

-keith





reply via email to

[Prev in Thread] Current Thread [Next in Thread]