You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Tobias Fischer | pagina GmbH <to...@pagina.gmbh> on 2017/04/25 10:50:28 UTC

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

Hi Frank,

the issue has been fixed by Simon Steiner in latest trunk:
https://issues.apache.org/jira/browse/FOP-2702

Thanks Simon!

Cheers,
Tobias

Am 18.08.2016 um 16:14 schrieb Frank Hirsch:
> Hi Tobias,
>
> My guess would be for the font itself\u2026
> 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\u2019s 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 
>> <tobias.fischer@pagina.gmbh <ma...@pagina.gmbh>>:
>>
>> 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 \u2013 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: tobias.fischer@pagina.gmbh <ma...@pagina.gmbh>
>>
>> pagina GmbH - Publikationstechnologien
>> Herrenberger Stra�e 51 | D-72070 T�bingen
>> www.pagina.gmbh <http://www.pagina.gmbh> | www.parsx.de 
>> <http://www.parsx.de>
>>
>> Handelsregister Stuttgart - HRB 380249
>> Gesch�ftsf�hrer: Tobias Ott
>>
>> <example.pdf><example-print.jpg>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org 
>> <ma...@xmlgraphics.apache.org>
>> For additional commands, e-mail: 
>> fop-users-help@xmlgraphics.apache.org 
>> <ma...@xmlgraphics.apache.org>
>