Issue 87968 - font embedding control for PDF export
Summary: font embedding control for PDF export
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 3.3
Assignee: h.ilter
QA Contact: issues@gsl
URL:
Keywords:
: 54636 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-04-06 23:10 UTC by bobt
Modified: 2017-05-20 10:22 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bobt 2008-04-06 23:10:03 UTC
There are two related issues.

(1) It should be possible for a user to control embedding of the basic 14 fonts
(or metrically equivalent fonts) when exporting to PDF.  The basic fonts are
those that every PDF viewer has reasonable substitutes for and so need not be
embedded in the PDF document to minimize the size of the PDF file.  But
sometimes one wants all fonts embedded for accuracy; hence this must be a
user-controllable option.

(2) OO.org currently does *not* embed the basic 14 fonts but *does* embed
metrically-equivalent fonts. This is silly.  For example, Helvetica is not
embedded but Arial is, and Times is not embedded but Times New Roman is. 
Possibly this should be configurable but that isn't really necessary.  The PDF
export code should know about metrically equivalent fonts and use the
user-control suggested to address issue (1) to decide whether to embed or not embed.
Comment 1 philipp.lohmann 2008-04-07 15:23:44 UTC
confirm
Comment 2 oooforum (fr) 2008-10-22 09:54:01 UTC
Seems to be a duplicate of #54636
Comment 3 gleppert 2010-01-04 22:51:58 UTC
Yes, I think so, too: It seems to be a duplicate of #54636
Comment 4 philipp.lohmann 2010-03-24 10:07:18 UTC
added a checkbox to the PDF export dialog allowing to embed or not the 14
standard fonts

fixed in CWS vcl110
Comment 5 philipp.lohmann 2010-03-24 10:33:03 UTC
*** Issue 54636 has been marked as a duplicate of this issue. ***
Comment 6 philipp.lohmann 2010-03-26 15:31:04 UTC
please verify in CWS vcl110
Comment 7 h.ilter 2010-04-07 20:08:13 UTC
Verified with cws vcl110 = OK
Comment 8 bobt 2010-06-04 14:37:16 UTC
Has issue 2 been addressed?  i.e., does "allowing to embed or not the 14
standard fonts" include fonts metrically equivalent to the "standard" 14?
Or is this already dealt with by user preferences?
Comment 9 philipp.lohmann 2010-06-04 15:17:08 UTC
Issue 2 is not an Issue from my point of view. The 14 Standard fonts are
Helvetica, Times, Courier (each normal, bold, italic, bold-italic), ZapfDingbats
and Symbol. These were/are not embedded. If you use Arial or Times New Roman,
those are not the 14 standard fonts and they will be embedded. I you want to use
Helvetica, just do so.
Comment 10 philipp.lohmann 2010-06-05 12:52:21 UTC
On second thought I can see the value of a replacement table for some fonts to
be replaced by the 14 Standard fonts (like the mentioned Arial -> Helvetica),
since you would probably want Arial (one of the default fonts on windows) in
your document but replace it with Helvetica on PDF export for space saving. One
could replace Arial by hand with Helvetica, but that's rather tedious.

Such a list would probably be global (not per document) and should not be
enabled per default for transparency reasons, but could come in handy for the
user who has more intricate needs.

So let me change my last statement to: yes, that might be an interesting feature
- and this is not impleneted with this issue. Please file an enhancement type
issue. I can however not say anything on the timeline when that might get
implemented.
Comment 11 windl 2010-10-20 08:46:47 UTC
It's quite late to comment, but anyway: Issue (1) should be solvable by using
PDF/A (which will embedd all used fonts). As the 14 standard fonts are expected
to be viewable in any browser, the more interesting feature seems to embedd
fonts that are not among those 14 standard fonts. On interesting application
could be PDF forms (which are mutually exclusive with PDF/A).