[cairo] PDF text doesn't render
Baz
brian.ewins at gmail.com
Sat Sep 22 15:28:00 PDT 2007
Adam -
Going back to the original test - can I ask what the configure flags
were on this build of cairo? And what FT version you have installed?
I'm seeing something odd here. When I build with atsui disabled, I see
the text; with freetype disabled, and atsui enabled, I see the text;
but with both atsui and freetype enabled (which is what happens when
you do --enable-atsui), I get a crash in FreeType.
This might not be the same error you're getting, but from looking at
the changelog, it seems that the behaviour of FT wrt corrupt fonts may
have changed, so I guess its possible you're hitting something similar
that isn't a crash. Or even that you're not using atsui at all - you
didn't say?
Cheers,
Brian
Thread 0 Crashed:
0 libfreetype.6.dylib 0x0008835b FT_Get_PS_Font_Info + 24
1 libcairo.2.dylib 0x00241f4e _cairo_type1_scaled_font_is_type1
+ 51 (cairo-type1-subset.c:1211)
2 libcairo.2.dylib 0x00241603
_cairo_scaled_font_subsets_map_glyph + 1045
(cairo-scaled-font-subsets.c:544)
3 libcairo.2.dylib 0x00234d5e _cairo_pdf_surface_show_glyphs +
369 (cairo-pdf-surface.c:4180)
4 libcairo.2.dylib 0x0021b3af _cairo_surface_show_glyphs + 226
(cairo-surface.c:1989)
5 libcairo.2.dylib 0x00225318
_cairo_meta_surface_replay_internal + 1657 (cairo-meta-surface.c:812)
6 libcairo.2.dylib 0x00225ca9 _paint_page + 232
(cairo-paginated-surface.c:299)
7 libcairo.2.dylib 0x00225e57 _cairo_paginated_surface_show_page
+ 40 (cairo-paginated-surface.c:399)
8 libcairo.2.dylib 0x00206db1 cairo_show_page + 34 (cairo.c:2146)
9 pdf-features 0x00001e80 main + 590 (pdf-features.c:117)
BTW this is using FT 2.3.5, built with macports; the crashing build is
configured with
--enable-quartz --enable-atsui --disable-xlib
More information about the cairo
mailing list