[cairo] [cairo-commit] src/cairo-ft-font.c

Behdad Esfahbod behdad at behdad.org
Mon Aug 20 08:26:41 PDT 2012


On 08/19/2012 07:43 AM, Chris Wilson wrote:
>  src/cairo-ft-font.c |   18 +++++++++++++-----
>  1 file changed, 13 insertions(+), 5 deletions(-)
> 
> New commits:
> commit 43c5387d1b251938eeba458a95d63e2dc7178c2d
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Sun Aug 19 12:41:15 2012 +0100
> 
>     ft: Only use a specified font filename if its accessible
>     
>     If we try to use a non-existent path, FT_New_Face returns an error.
>     Instead, just use fontconfig to generate a fallback pattern.

Humm.  I'm sure what we want is a CAIRO_STATUS_FILE_NOT_FOUND error instead.

behdad


More information about the cairo mailing list