Bug 98043

Summary: Please provide configure option to compile without fontconfig
Product: poppler Reporter: Otfried Cheong <freedesktop>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium CC: jwilk
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=19253
Whiteboard:
i915 platform: i915 features:

Description Otfried Cheong 2016-10-04 12:45:38 UTC
Please make it possible to compile poppler without fontconfig.

Fontconfig is quite a large dependency when you need to bundle it with your application (this is for OSX), in particular since it also pulls in libexpat and probably some other things.

It is also only used in borderline cases.  Since PDF 1.5, PDF fonts are strongly recommended to embed all fonts - so fontconfig is actually only useful for ill-formed PDF files.

My application uses poppler only for parsing PDF files and provides its own renderer, so it's somewhat annoying that I need to bundle a large library that's completely useless or hack the poppler build process myself.

Note that Freetype supports building without fontconfig since 2009 (see #19253), so this has no impact on the dependency on Freetype - which is really all you need to render fonts embedded in the PDF file.
Comment 1 GitLab Migration User 2018-08-21 11:16:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/597.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.