freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Incremental font support


From: Werner LEMBERG
Subject: Re: [ft-devel] Incremental font support
Date: Wed, 18 Feb 2009 07:51:14 +0100 (CET)

> We've been trying to resurrect the freetype "bridge" code in
> ghostscript, and have been testing against the freetype 2.3.8 release.
> I think there may be some bit rot in the incremental font support.

Indeed.  After Graham has stopped to work on this, noone has
maintained this code; from time to time we've checked that compilation
doesn't fail, but it hasn't been verified that it really works.

> In particular, at t1gload.c:287 T1_Load_Glyph() throws
> T1_Err_Invalid_Argument if the requested glyph index is larger than
> num_glyphs in the face.  Yet as far as I can tell this was never set
> through the incremental font api.
>
> Similarly, version 1.205 of ttgload.c broke incremental truetype
> handling.

To help in debugging it would be great if you can provide a small
stand-alone snippet which I can compile easily, together with small
input data if necessary.

> What can we do to fix this up?  Is our code wrong?  How is this
> supposed to work.

I rather suspect that a bug has crept into FreeType.

> Do you have any tests for the incremental api?

No, unfortunately.


    Werner




reply via email to

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