[cairo] [PATCH] Improve handling of degenerate font matrices

Behdad Esfahbod behdad at behdad.org
Mon Feb 7 20:50:01 PST 2011


On 02/07/11 17:58, Andrea Canciani wrote:
> Wouldn't it be possible to keep the font extents in device space?
> This would completely avoid the ctm and font_matrix inversion problem, except
> when the user queries the font extents, in which case we can probably return
> an error.

Extents are always returned in user space.  So, while we can keep them in
device space, they are of no use if we err when user queries for them :).

As you said, it's a separate problem.  Your patch series can go forward
regardless of this specific issue.  As long as we add enough test to know that
the normal cases work as expected, we can tackle the rest separate.

Thanks for working on this!

behdad


More information about the cairo mailing list