[cairo] Problem creating PDFs without fontconfig

Adrian Johnson ajohnson at redneon.com
Mon Oct 25 04:17:21 PDT 2010


On 25/10/10 18:39, Kaiser Bernhard wrote:
> I’m using cairo 1.4.10 and I have patched cairo using freetype without
> fontconfig (patch by David Turner) because my software is based on a
> proprietary operating system.
>
> When I use the PDF backend to create PDF files I have a problem:

I recommend upgrading to cairo 1.10.0 which can be compiled without 
fontconfig. If you still getting a broken PDF, check the surface status 
after calling cairo_surface_finish() as this will tell you if the font 
subsetting has failed.


More information about the cairo mailing list