[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Fixes for glyph index problems
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] Fixes for glyph index problems |
Date: |
Sat, 15 Jun 2002 19:08:03 +0200 (CEST) |
> A zero returncode from FT_Get_Char_Index() is supposed to indicate
> an error. The current PCF and BDF drivers return zero for the first
> glyph which fails with e.g. the glyph cache code. To avoid that I
> changed the BDF and PCF drivers to work like the FNT driver: return
> index+1 instead of index when asked for it, use index-1 instead of
> index for glyph loading.
Thanks a lot for your fixes! I've applied them to the CVS; I've also
added a note to the documentation of FT_Get_Char_Index to make this
clearer.
Werner