[cairo-bugs] [Bug 19253] New: Please add --enable-fontconfig configuration option

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 23 04:27:19 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=19253

           Summary: Please add --enable-fontconfig configuration option
           Product: cairo
           Version: 1.8.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: freetype font backend
        AssignedTo: david at freetype.org
        ReportedBy: freedesktop at oc.airpost.net
         QAContact: cairo-bugs at cairographics.org


I'm the author of an application that uses cairo for drawing.  I use Freetype
fonts, but all the font management is done by the application itself (more
precisely, the fonts come from PDF files generated by pdflatex).

To build my application for Windows, I need to compile cairo with support for
freetype.  However, this currently requires me to also build fontconfig and
libexpat (used by fontconfig), and to package those with my application.

This is complete unnecessary: The Freetype font driver in cairo is perfectly
usable and useful without fontconfig (creating fonts using
cairo_ft_font_face_create_for_ft_face).   I'm currently patching Cairo myself,
commenting out everything in cairo-ft-font.[hc] that depends on fontconfig, and
modifying the makefile to not link with fontconfig.  

It would be great if this could be a configuration option, as it would probably
be useful for others as well.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list