[Poppler-bugs] [Bug 41104] Xpdf(pdfedit/poppler) renders specidic pdfs differently than e.g., Acrobat/Sumatra

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 20 16:26:14 UTC 2016


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

--- Comment #4 from Jason Crain <jason at aquaticape.us> ---
I do not consider this a poppler bug either because this PDF does not embed
fonts and it looks up glyphs by the glyph ID, which is a bad idea because glyph
IDs are only meaningful for one specific font.  The PDF spec even has a line
forbidding this behavior.

As a workaround, you can install Microsoft's Arial font.  You might also need
to add something like this to your ~/.fonts.conf to make sure that ArialMT (the
font referenced in the PDF) gets matched to Arial:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
    <test name="family">
    <string>ArialMT</string>
    </test>
    <edit name="family" mode="prepend">
    <string>Arial</string>
    </edit>
</match>
</fontconfig>

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


More information about the Poppler-bugs mailing list