[cairo] PDF text doesn't render

Behdad Esfahbod behdad at behdad.org
Sat Sep 22 17:41:06 PDT 2007


On Sun, 2007-09-23 at 01:38 +0100, Baz wrote:
> On 22/09/2007, Baz <brian.ewins at gmail.com> wrote:
> > 1   libcairo.2.dylib            0x00241f4e _cairo_type1_scaled_font_is_type1
> > + 51 (cairo-type1-subset.c:1211)
> 
> The crash is fixed by adding a test in the above function:
>     if (!_cairo_scaled_font_is_ft (scaled_font))
> 	return FALSE;
> 
> it looks to be the only place in cairo-type1-subset.c that this could go wrong.
> 
> I'll push a patch for that if it looks sensible to you, Adrian? I
> don't think this is the cause of Adam's problems though.

That patch sure looks fine, though another option would be to fix that
file to work with other font backends too...

> Cheers,
> Baz
-- 
behdad
http://behdad.org/

"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