Bug 98043 - Please provide configure option to compile without fontconfig
Summary: Please provide configure option to compile without fontconfig
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-04 12:45 UTC by Otfried Cheong
Modified: 2018-08-21 11:16 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.