PDF rendering bug in macOS 10.14.5

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

PDF rendering bug in macOS 10.14.5

Alun J. Carr
This doesn't relate to using TeX to produce PDFs, but it relates to an Apple PDF display bug, which might impact on TeX use.

I downloaded a PDF, "The History of Worcestershire Sauce" (don't ask!):

http://www.soyinfocenter.com/pdf/152/Worc.pdf

and found that within Safari and Preview, the fi and fl ligatures are rendered as blank spaces (see, e.g., page 5). In Adobe Reader, muPDF, and xpdf, they display perfectly. The PDF claims that it was produced using Acrobat Distiller.

Does anyone know I can report this to Apple? I apologise in advance if anyone thinks that I'm wasting their time.

Best regards,

Alun
--
Dr Alun J. Carr
Senior Lecturer in Materials
School of Mechanical and Materials Engineering
UCD Engineering and Materials Science Centre
University College Dublin
Belfield, Dublin 4, Ireland

Homepage: <http://goo.gl/mWxIn>
OpenPGP key: <http://bit.ly/1lBsM9n>
Fingerprint: D294 0DE3 BD75 3A41 D5DB  E796 C783 69F5 D60B 7C0F
My photos: <http://goo.gl/SDDCB>

Unless you need me to edit documents, please send me PDFs rather than MS
Office files: <http://goo.gl/tWI9>
Free software for creating PDFs in Windows: <http://goo.gl/YGaf>


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: PDF rendering bug in macOS 10.14.5

Justin C. Walker


> On May 19, 2019, at 11:51 , Alun Carr <[hidden email]> wrote:
>
> This doesn't relate to using TeX to produce PDFs, but it relates to an Apple PDF display bug, which might impact on TeX use.
>
> I downloaded a PDF, "The History of Worcestershire Sauce" (don't ask!):
>
> http://www.soyinfocenter.com/pdf/152/Worc.pdf
>
> and found that within Safari and Preview, the fi and fl ligatures are rendered as blank spaces (see, e.g., page 5). In Adobe Reader, muPDF, and xpdf, they display perfectly. The PDF claims that it was produced using Acrobat Distiller.
>
> Does anyone know I can report this to Apple? I apologise in advance if anyone thinks that I'm wasting their time.

If you have an Apple ID, you can use it to sign on to
 <https://bugreporter.apple.com>
and fill out a bug report.

If you don’t, the are easy to get.  Go to (e.g.) System Preferences -> iCloud on your mac.  There’s a link to create one.

HTH

Justin

PS: your problem sounds like an issue with PDFKit, used by Safari, Preview, Skim, and others.

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
If it weren't for carbon-14, I wouldn't date at all.
-----------




--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds
----
186,000 Miles per Second
Not just a good idea:
  it's the law!
----

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: PDF rendering bug in macOS 10.14.5

Ross Moore-3
Hello Justin, and Alun

On 20 May 2019, at 6:52 am, Justin C. Walker <[hidden email]> wrote:



> On May 19, 2019, at 11:51 , Alun Carr <[hidden email]> wrote:
>
> This doesn't relate to using TeX to produce PDFs, but it relates to an Apple PDF display bug, which might impact on TeX use.

No, not really.

The problem is that this PDF did not embed the main fonts that it uses for textual content.
In this case it is  TimesNewRomanPSMT encoded as  WinANSI  which is not really standard
in the Apple world.

So the PDF display software has to pick an available font to use, from what is in the system.
If it is not encoded the same way, then yes you can expect characters placed into non-standard
positions to be skipped, even though widths are available (in the PDF itself).


Furthermore, there is no /Charset entry, and no  /ToUnicode  resource.
So there’s not much to go on, to deduce the correct character to use.

Adobe gets it right in Acrobat Pro and Reader, presumably because it does know the encoding,
but other software may not.

BTW, I experience the missing  fi  characters using MacOS 10.13.6  with Safari,
but it is fine in an early version of iOS.


>
> I downloaded a PDF, "The History of Worcestershire Sauce" (don't ask!):
>
> http://www.soyinfocenter.com/pdf/152/Worc.pdf
>
> and found that within Safari and Preview, the fi and fl ligatures are rendered as blank spaces (see, e.g., page 5). In Adobe Reader, muPDF, and xpdf, they display perfectly. The PDF claims that it was produced using Acrobat Distiller.
>
> Does anyone know I can report this to Apple? I apologise in advance if anyone thinks that I'm wasting their time.

If you have an Apple ID, you can use it to sign on to
<https://bugreporter.apple.com>
and fill out a bug report.

If you don’t, the are easy to get. Go to (e.g.) System Preferences -> iCloud on your mac. There’s a link to create one.

HTH

Justin

PS: your problem sounds like an issue with PDFKit, used by Safari, Preview, Skim, and others.

Blame the PDF creator software first.
The Metadata says this is   Pstill5.dll .



--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
If it weren't for carbon-14, I wouldn't date at all.
-----------




--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds
----
186,000 Miles per Second
Not just a good idea:
it's the law!



Cheers,

Ross



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: PDF rendering bug in macOS 10.14.5

Herbert Schulz
In reply to this post by Justin C. Walker
> On May 19, 2019, at 3:52 PM, Justin C. Walker <[hidden email]> wrote:
>
>
>
>> On May 19, 2019, at 11:51 , Alun Carr <[hidden email]> wrote:
>>
>> This doesn't relate to using TeX to produce PDFs, but it relates to an Apple PDF display bug, which might impact on TeX use.
>>
>> I downloaded a PDF, "The History of Worcestershire Sauce" (don't ask!):
>>
>> http://www.soyinfocenter.com/pdf/152/Worc.pdf
>>
>> and found that within Safari and Preview, the fi and fl ligatures are rendered as blank spaces (see, e.g., page 5). In Adobe Reader, muPDF, and xpdf, they display perfectly. The PDF claims that it was produced using Acrobat Distiller.
>>
>> Does anyone know I can report this to Apple? I apologise in advance if anyone thinks that I'm wasting their time.
>
> If you have an Apple ID, you can use it to sign on to
> <https://bugreporter.apple.com>
> and fill out a bug report.
>
> If you don’t, the are easy to get.  Go to (e.g.) System Preferences -> iCloud on your mac.  There’s a link to create one.
>
> HTH
>
> Justin
>
> PS: your problem sounds like an issue with PDFKit, used by Safari, Preview, Skim, and others.
>
> --
> Justin C. Walker, Curmudgeon at Large
> Institute for the Absorption of Federal Funds
> -----------
> If it weren't for carbon-14, I wouldn't date at all.
> -----------

Howdy,

You can leave feedback about macOS at <https://www.apple.com/feedback/macos.html>.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex