Re: Missing text when printing FOP 2.1 PDF documents in Mac OSX's Preview App

Frank Hirsch <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Hi Tobias,

My guess would be for the font itself…
Maybe try to create a document with this font manually (InDesign) and try to reproduce the issue.

I printed on OS X 10.10
- Apple Preview: missing text
- Acrobat Pro DC: OK

So it’s a clear Apple Preview issue.
Maybe changing the font is the quickest solution?

lg,
Frank



> Am 18.08.2016 um 15:38 schrieb Tobias Fischer | pagina GmbH <[email protected]>:
> 
> hi all,
> 
> we're using latest FOP version 2.1 to generate book PDFs.
> While testing, we noticed that printing the generated PDF's in Mac OS X's "Preview" app (their default pdf viewer) will result in missing texts on the printed page.
> This does not happen with Acrobat Reader on Windows nor in Acrobat on Mac OS X – only the Preview App seems to get it wrong.
> 
> Fonts:
> - "Minion Pro" OTF fonts (loaded from local folder via fop.xconf -> font-triplets)
> 
> Printer:
> - Lexmark M5155
> - Konica Minolta Bizhub C452
> 
> fop.xconf:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <fop version="1.0">
>>  <renderers>
>>    <renderer mime="application/pdf">
>>      <filterList>
>>        <!-- Compression using zlib flate (default is on). -->
>>        <value>flate</value>
>>      </filterList>
>> 
>>      <fonts>
>>        <auto-detect/>
>> 
>>        <font embed-url="fonts/MinionPro-Regular.otf">
>>          <font-triplet name="Minion Pro" style="normal" weight="normal"/>
>>        </font>
>>        <font embed-url="fonts/MinionPro-It.otf">
>>          <font-triplet name="Minion Pro" style="italic" weight="normal"/>
>>        </font>
>>        <font embed-url="fonts/MinionPro-Bold.otf">
>>          <font-triplet name="Minion Pro" style="normal" weight="bold"/>
>>        </font>
>>        <font embed-url="fonts/MinionPro-BoldIt.otf">
>>          <font-triplet name="Minion Pro" style="italic" weight="bold"/>
>>        </font>
>>        <!-- ... and some others ... -->
>>      </fonts>
>>    </renderer>
>>  </renderers>
>> </fop>
> 
> Attached you will find the first two pages from an example PDF as well as a photography of 2 printed pages (left: printed from windows, ignore the scale factor; right: printed from Preview on Mac OS X).
> The cover image get's printed, the other text isn't printed. The link underline gets printed as well.
> 
> Does anyone have an idea what we did wrong? Or what FOP is doing wrong?
> 
> Thanks!
> 
> Best regards,
> Tobias
> 
> -- 
> Tobias Fischer
> Senior Software Engineer
> (XML/EPUB/PrintCSS)
> 
> Telefon: +49 (0)7071 9876-44 · Fax: -22
> Mail: [email protected]
> 
> pagina GmbH - Publikationstechnologien
> Herrenberger Straße 51 | D-72070 Tübingen
> www.pagina.gmbh | www.parsx.de
> 
> Handelsregister Stuttgart - HRB 380249
> Geschäftsführer: Tobias Ott
> 
> <example.pdf><example-print.jpg>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.