[poppler] Weird rendering of a very simple pdf
Albert Astals Cid
aacid at kde.org
Thu Jul 5 22:58:32 PDT 2012
El Divendres, 6 de juliol de 2012, a les 11:08:00, Ross Moore va escriure:
> Hi Albert, and Leonard
Hi
>
> On 06/07/2012, at 8:22 AM, Albert Astals Cid wrote:
> > El Dijous, 5 de juliol de 2012, a les 09:34:45, Leonard Rosenthol va
escriure:
> >> Would need the actual PDF, Albert - in order to see the fonts being used.
> >
> > https://bugs.freedesktop.org/show_bug.cgi?id=51753
>
> Here are 4 views of this document, showing 2 distinct behaviours.
> The viewer software, layered bottom- to top-most, is:
>
> Adobe Acrobat --- shows fonts, which are apparently not embedded
>
> Apple's Preview
>
> Safari v5.1.7 --- Adobe reader plug-in (latest version) apparently
> does not work with this version, so it is using Preview for PDFs
>
> Safari v5.0.5, with Adobe Reader/Acrobat as a plug-in for PDFs
So Apple has the same bug we have (or Adobe is the one having the bug)
>
> Examining the PDF itself, the fonts are not embedded;
> viz.
>
> %PDF-1.4^M
> 2 0 obj <</Subtype /Type1 /Encoding /WinAnsiEncoding /BaseFont /Helvetica-
Bold /Type /Font >> endobj^M
> 3 0 obj <</Subtype /Type1 /Encoding /WinAnsiEncoding /BaseFont /Helvetica
/Type /Font >> endobj^M
> Adobe software apparently substitutes for the missing fonts,
> but other software is not obliged to do this.
Oh yes you are, you have to put something in there, and for latin chars is
hard to argue you really couldn't find anything
> Is this not correct ?
Can't speak for Apple's Preview, but in our case we are drawing the characters
and then we are drawing the square on top. Which to my reading of the pdf
seems to be what should happen, but Adobe is not doing it this way, so there
may be something that i'm missing.
Also if you see the "Dados Do Voucher" we render on top of the line instead
below it.
I'm really confused as the pdf is quite simple.
Cheers,
Albert
> >
> > Albert
> Hope this helps,
>
> Ross
More information about the poppler
mailing list