View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014613 | Scribus | public | 2017-02-09 21:04 | 2017-02-09 23:54 | |
Reporter | jyamad | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Mac | OS | OS X | OS Version | 10.11.6 |
Product Version | 1.5.2 | ||||
Summary | 0014613: OTF fonts disappear from PDF after annotation in Mac OS X Preview | ||||
Description | OTF fonts from Scribus PDFs get clobbered when the PDF is saved in Mac OS X Preview (v8.1) after adding annotations or making any changes to the PDF. The fonts are just gone, so the PDF appears blank where the font is used. The problem seems limited to OTF fonts reported as CID Type 0C by the program `pdffonts`. The problem goes away after passing the Scribus PDF through `ps2pdf` with the command `ps2pdf -dPDFSETTINGS=/prepress -dEmbedAllFonts`. Cairo PDFs with the same fonts don't show the problem either. This suggests that there is some bug in Scribus' embedding, even if Preview is also partly to blame. The problem was discovered in Scribus 1.5.2, but is still a problem as of svn revision 21756. | ||||
Steps To Reproduce | 1) Create document with an OTF font (e.g. Adobe Caslon Pro Regular) 2) Export to PDF with embedded/subset font 3) Open PDF in Preview and highlight a region of text 4) Re-open PDF and note missing fonts | ||||
Additional Information | Attached is an example file otftest.pdf is the original Scribus output otftest_broken.pdf is the result after otftest.pdf is saved with an annotation in Preview otftest_ps2pdf.pdf is the result of passing otftest.pdf through ps2pdf. This version works fine in Preview. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
|
|
otftest_broken.pdf has been saved as PDF 1.3 by OS X PDF producer. PDF 1.3 has no support for OpenType fonts in annotations in the first place. The bug is in OS X. |
|
The OpenType font is not used in the annotation itself, though. otftest_broken.pdf has just a highlight, which is what triggers the problem. And otftest_ps2pdf.pdf is a PDF 1.3 and can be highlighted and saved without problems in Preview. Ditto with test files created with luatex (uses cairo, I believe). There is something specific about the Scribus embedding. |
|
But in the end, only Apple can know what cause the problem in Preview.... |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-09 21:04 | jyamad | New Issue | |
2017-02-09 21:04 | jyamad | File Added: otftest.pdf | |
2017-02-09 21:04 | jyamad | File Added: otftest_ps2pdf.pdf | |
2017-02-09 21:04 | jyamad | File Added: otftest_broken.pdf | |
2017-02-09 23:17 | jghali | Note Added: 0043460 | |
2017-02-09 23:19 | jghali | Note Edited: 0043460 | |
2017-02-09 23:38 | jyamad | Note Added: 0043461 | |
2017-02-09 23:54 | jghali | Note Added: 0043462 |