Apache OpenOffice (AOO) Bugzilla – Issue 37991
faulty font embedding in pdf file
Last modified: 2010-06-09 09:32:13 UTC
The Adobe Helvetica fonts in Light and Black are incorrectly substituted in the pdf file. The originals are .otf files, conversion occurs as follows: Helvetica Light Std => StylusBT Helvetica Light Std Italic => Arial-ItalicMT Helvetica Black Std => Arial-BoldMT Helvetica Black Std Italic => Arial-BoldItalicMT The first it thinks is a truetype font, the others it thinks are Type 1. I am not sure that it is using the correct installed italic versions either as they are not listed in the font window.
Created attachment 19759 [details] faulty pdf output file
Created attachment 19760 [details] original oo file for pdf output test
reassigned to HI.
I can reproduce this bug with 1.9 M65 with Windows XP SP1. It would be great if this could be fixed in time for 2.0, as this makes PDF export seem broken for people using OTF-Fonts. To reproduce: Download Adobe Acrobat Reader, version 7.0 if you've got no other source for known-good .OTF-flavoured OpenType fonts. Take out "Adobe Myriad Pro" from Acrobat's Ressources folder and install it in your system. On Windows XP this should work fine as a font. This might or might not be legal, INAL, but it works. Create a OO Writer document with this font: It prints and displays fine, but it is not embedded. No warning in the UI either. In my case Myriad is replaced by Arial. Two test files attached to issue, I think very similar to the reporter's. Only with more available (from Reader) Myriad this is easier to reproduce. Sorry, I do not know a really free OTF font I could attach to this issue, but I assume you've got Acrobat Reader 7.0 installed anyway. I suggest retitling to "OTF-flavoured OpenType fonts not embedded in PDF".
Created attachment 21128 [details] PDF with Myriad Pro not embedded
Created attachment 21129 [details] Writer Document with Myriad Pro, used to create PDF
Passed to PL
semms like a duplicate of issue 16032
cloph: It is not a duplicate of 16032 (or 32869) as we are talking of different levels of support on two different platforms. As of 1.9 m65 on Windows CFF-flavoured OpenType fonts are perfectly usable except for the embedding problem (on recent versions of Windows that suport these fonts), while on Linux (the other issues were filed against Linux) you've got no CFF-OpenType support at all, even if the platform (e.g. pango and the Gnome desktop) fully supports them. On Linux these fonts don't even appear in the font menu if you install them in the system. On Windows embedding in PDF quietly fails. I hope this clarifies matters! While I would prefer full OT support for Linux, the Windows problem is even more irritating IMHO, because naive users will see certain fonts fail in PDF-export for "magical" reasons unknown to them.
And yet another one that would need to get a type1 font (disguised as OTF in this case) to be embedded in PDF on windows ...
TODO: create an embeddable/subsetted version of the OTF CFF font
I am seeing the same issue with certain Type 1 fonts on Win XP and OOo 1.1.4. The font in question is Neo Sans, which sadly I can't attach due to copyright restrictions. This issue is preventing widescale deployment of OOo within our organisation as we use use this non-standard font as our main font for correspondence. Ironically, the pdf export option is what makes OOo so attractive, for exactly the same reason !
*** Issue 50999 has been marked as a duplicate of this issue. ***
Implemented in OOo32 *** This issue has been marked as a duplicate of 43029 ***
Closing resolved issue.