[Poppler-bugs] [Bug 65877] New: pdftocairo - Flag to disable text drawing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 17 18:31:31 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65877

          Priority: medium
            Bug ID: 65877
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: pdftocairo - Flag to disable text drawing
          Severity: enhancement
    Classification: Unclassified
                OS: Linux (All)
          Reporter: ryan.fox at upverter.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: utils
           Product: poppler

Created attachment 80975
  --> https://bugs.freedesktop.org/attachment.cgi?id=80975&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130618/8197c235/attachment.html>


More information about the Poppler-bugs mailing list