Bug 65877 - pdftocairo - Flag to disable text drawing
Summary: pdftocairo - Flag to disable text drawing
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 01:31 UTC by Ryan Fox
Modified: 2018-08-21 11:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to add a flag to disable text drawing. Based on the code in the 0.23.2 release. (2.82 KB, text/plain)
2013-06-18 01:31 UTC, Ryan Fox
Details

Description Ryan Fox 2013-06-18 01:31:31 UTC
Created attachment 80975 [details]
Patch to add a flag to disable text drawing. Based on the code in the 0.23.2 release.

I needed to hack pdftocairo to allow me to disable the text drawing, and I thought it could be something other people might benefit from, so I'm presenting a tiny patch to add a flag for it.

Background: Cairo's SVG backend doesn't draw text as text; it creates shapes for each letter. (See bug 38516) I'm using the output from pdftocairo for the structure of a PDF, rather than the visual representation, so the actual text is important to me, as well as all of the shapes. I can get sufficient text information from `pdftohtml -xml` for this. To prevent losing non-letter glyphs, I need to prevent the drawing of the text rather than just discarding all of the glyphs.
Comment 1 GitLab Migration User 2018-08-21 11:10:26 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/548.


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.