Re: [Inkscape-devel] New Cairo renderer (for PDF export)
From: Aaron Spike <aaron@...749...> Subject: Re: [Inkscape-devel] New Cairo renderer (for PDF export)
Mikl?s Erd?lyi wrote:
Any ideas, comments regarding the subject are welcome.
Looks like we are still having a few troubles on win32.
/snip
extension/internal/cairo-render-context.cpp:74:22: error: cairo-ft.h: No such file or directory
I think your Cairo package does not have FreeType, same as my package. You can disable building Cairo-pdf support by editing config.h in your inkscape root and outcomment #define HAVE_CAIRO_PDF ; that way you can compile again. I have not searched for a compiled Cairo package with included FT font support yet.
- Johan
Johan Engelen wrote:
I think your Cairo package does not have FreeType, same as my package. You can disable building Cairo-pdf support by editing config.h in your inkscape root and outcomment #define HAVE_CAIRO_PDF ; that way you can compile again. I have not searched for a compiled Cairo package with included FT font support yet.
- Johan
Actually, the problem is that Inkscape should not be dependent on cairo-ft at all (except maybe as an option). Pango-cairo, yes, since we will get that for free when we go with gtk2.8 for the next release cycle. The reason is that the end-user is stuck with whatever configuration was specified when his copy of Cairo was built.
Miklos already has alternate font metrics and glyph stuff from Pango in his cairo-pdf output module, which is marked as experimental. I have used this version for weeks, and IMHO it works fine. I think that all we need is to use the same thing in his general-purpose renderer.
bob
participants (2)
-
Bob Jamison
-
Johan Engelen