Issue 37991 - faulty font embedding in pdf file
Summary: faulty font embedding in pdf file
Status: CLOSED DUPLICATE of issue 43029
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.3
Hardware: PC Windows 2000
: P3 Trivial with 24 votes (vote)
Target Milestone: OOo 3.2
QA Contact: issues@gsl
Keywords: oooqa
: 50999 (view as issue list)
Depends on:
Reported: 2004-11-27 02:35 UTC by redi2go
Modified: 2010-06-09 09:32 UTC (History)
4 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---

faulty pdf output file (6.77 KB, application/pdf)
2004-11-27 02:38 UTC, redi2go
no flags Details
original oo file for pdf output test (5.93 KB, application/vnd.sun.xml.writer)
2004-11-27 02:38 UTC, redi2go
no flags Details
PDF with Myriad Pro not embedded (1.75 KB, application/pdf)
2005-01-06 13:49 UTC, ralphie
no flags Details
Writer Document with Myriad Pro, used to create PDF (6.17 KB, application/vnd.sun.xml.writer)
2005-01-06 13:51 UTC, ralphie
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description redi2go 2004-11-27 02:35:56 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.
Comment 1 redi2go 2004-11-27 02:38:02 UTC
Created attachment 19759 [details]
faulty pdf output file
Comment 2 redi2go 2004-11-27 02:38:56 UTC
Created attachment 19760 [details]
original oo file for pdf output test
Comment 3 michael.ruess 2004-11-29 11:34:11 UTC
reassigned to HI.
Comment 4 ralphie 2005-01-06 13:48:33 UTC
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".
Comment 5 ralphie 2005-01-06 13:49:34 UTC
Created attachment 21128 [details]
PDF with Myriad Pro not embedded
Comment 6 ralphie 2005-01-06 13:51:06 UTC
Created attachment 21129 [details]
Writer Document with Myriad Pro, used to create PDF
Comment 7 h.ilter 2005-01-06 15:12:40 UTC
Passed to PL
Comment 8 lohmaier 2005-01-07 19:12:56 UTC
semms like a duplicate of issue 16032
Comment 9 ralphie 2005-01-07 20:51:46 UTC
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.
Comment 10 philipp.lohmann 2005-01-10 11:25:05 UTC
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 ...
Comment 11 2005-01-10 11:31:53 UTC
TODO: create an embeddable/subsetted version of the OTF CFF font
Comment 12 essuu 2005-01-14 11:13:43 UTC
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

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 !
Comment 13 philipp.lohmann 2005-06-20 15:49:45 UTC
*** Issue 50999 has been marked as a duplicate of this issue. ***
Comment 14 philipp.lohmann 2005-06-20 15:53:33 UTC
*** Issue 50999 has been marked as a duplicate of this issue. ***
Comment 15 2010-06-09 09:31:35 UTC
Implemented in OOo32

*** This issue has been marked as a duplicate of 43029 ***
Comment 16 2010-06-09 09:32:13 UTC
Closing resolved issue.