[cairo] Bug#474136: Error when creating pdf charts for new FreeSerifItalic.ttf
cworth at cworth.org
Thu Apr 3 17:18:57 PDT 2008
On Thu, 3 Apr 2008 20:53:07 +0200, Eugeniy Meshcheryakov wrote:
> Simplified program that demonstrates this bug is attached. It expects
> font as the only argument and gives wrong results on amd64 with cairo
> 1.5.x but not 1.4.14 (result is in file out.pdf).
Excellent, thank you!
I used this as inspiration to write a new test case for cairo's test
suite, (ft-show-glyphs-table). And it nicely demonstrates Adrian's bug
fix for cairo-pdf.
Meanwhile, though, the test totally fails with cairo-ps, (all the
glyphs end up on top of each other). In general, we'd hope that a bug
fix in the cairo-pdf-operators.c, (which is the file used by both
cairo-pdf and cairo-ps in spite of "pdf" in the name), would fix both
backends. But clearly there's something else broken here.
Adrian, ready to work your magic again? I'll look and see if I can't
figure out something myself in the meantime. (I want whack-a-mole to
end now and let's get cairo 1.6 out the door.)
> Another version of this program gives assertion failure with
> FreeSansItalic.ttf: http://article.gmane.org/gmane.comp.lib.cairo/9166
> (file test.c, cairo 1.4.14 on amd64, but not 1.5.x).
Thanks for the report. So somebody might want to backport something
like Chris' recent fixes to 1.4, but it still likes like the assertion
failures have their original cause in a buggy font. Anyone interested
in looking closer at that?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080403/ac00a07e/attachment.pgp
More information about the cairo