[cairo] Two trivial patches for cairo-ft-font

Behdad Esfahbod behdad at behdad.org
Sat Jan 19 17:49:19 PST 2008

On Sat, 2008-01-19 at 19:22 -0500, Peter Weilbacher wrote:
> Hi,
> please find attached two trivial fixes for cairo-ft-font. I can't run
> git at the moment so they are in stupid local diff format.
> 1. I believe FC_PIXEL_SIZE is a double property so we shouldn't use
>     FcPatternAddInteger() to access it. (It indeed fails on the OS/2
>     version of Fontconfig and so some testcases failed with an
>     out-of-memory error.)
> 2. a typo (I was searching the sources for FC_* constants that the
>     said OS/2 version of FC wouldn't support and found one that I didn't
>     find in the FC headers.)

Thanks.  Both applied.

> Cheers,
>     Peter.


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list