Bug 130065 - PDF export: need option to export without embedded font
Summary: PDF export: need option to export without embedded font
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2020-01-18 02:18 UTC by VincentYu
Modified: 2022-09-13 22:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
pdf file without embedded fonts (160.40 KB, application/pdf)
2020-04-03 13:05 UTC, VincentYu
Details
copy/paste text only into odt and then export to pdf (263.44 KB, application/pdf)
2020-04-03 13:25 UTC, VincentYu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VincentYu 2020-01-18 02:18:46 UTC
Description:
Maybe a check box/radio button on the pdf export dialog to export the document without embedding all the fonts. This will reduce the size tremendously especially when all fonts used are widely available ones.

Steps to Reproduce:
1.File->Export->PDF
2.
3.

Actual Results:
The dialog should offer a radio button/check box to turn off embedding of fonts.

Expected Results:
The output PDF should be at least 80% smaller.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Timur 2020-04-03 05:57:13 UTC
Explanation is not sufficient. 
Please explain current situation, what is embedded, how much is it in size, is is possible to make PDF without fonts, did you search other bugs.
So far, WontFix.
Comment 2 VincentYu 2020-04-03 06:19:24 UTC
It's not a bug. It's a feature request. Currently > 80% of pdf's exported are embedded fonts. If there is an option to produce pdf with only references system fonts, it'll greatly reduce the size of pdf files produced.
Comment 3 Dieter 2020-04-03 10:23:56 UTC
(In reply to VincentYu from comment #2)
> It's not a bug. It's a feature request. Currently > 80% of pdf's exported
> are embedded fonts. If there is an option to produce pdf with only
> references system fonts, it'll greatly reduce the size of pdf files produced.

I can't confirm this, if setting in File => Properties => Font => Font embedding is disabled
Comment 4 VincentYu 2020-04-03 11:46:07 UTC Comment hidden (obsolete)
Comment 5 VincentYu 2020-04-03 11:55:59 UTC
The setting you mentioned only disables embedding in .odt files. I'm talking about exporting to pdf file. If the setting you mentioned covers pdf exporting then this should be a bug. Because you can check to see with any pdf reader that all the fonts are embedded in the exported pdf file.
Comment 6 Timur 2020-04-03 12:06:18 UTC
 embedded are only fonts used, which is minimal. 
Question was, is it possible to make and have PDF without fonts. 
Please look for some standard or example.
Comment 7 VincentYu 2020-04-03 13:05:55 UTC
Created attachment 159297 [details]
pdf file without embedded fonts

10 pages with various graphics, only 161kb
Comment 8 VincentYu 2020-04-03 13:10:25 UTC
There are plenty of them around beside the attachment. In fact, it's probably the DEFAULT option for Acrobat to NOT embed the fonts used, just like the file->properties->font... option you mentioned, to conserve space, for obvious historical reasons. (Computers of yesteryear did not have nearly as much memory/storage as their modern counterparts)
Comment 9 VincentYu 2020-04-03 13:25:05 UTC
Created attachment 159299 [details]
copy/paste text only into odt and then export to pdf
Comment 10 VincentYu 2020-04-03 13:26:30 UTC
I've copy/pasted text only from the original into LO writer and then export to pdf. You can see it's way bigger than the original even without all the graphics.
Comment 11 QA Administrators 2020-04-03 13:39:31 UTC Comment hidden (obsolete)
Comment 12 Axel Schwank 2020-05-31 19:42:07 UTC
I would like to have this option, too. Embedded fonts can make up a significant portion of the file size of a PDF document. Moreover, fonts are embedded even if they belong to the PDF standard fonts like Helvetica or Times New Roman.

The font embedding option from the document properties dialogue is not honoured for PDF export.
Comment 13 ⁨خالد حسني⁩ 2022-09-13 13:38:48 UTC
I don’t think this is going to happen. Even Adobe suggests against not embedding fonts, including the so-called standard PostScript fonts.

Not embedding fonts in PDF is very fragile, since PDF include glyph indices not Unicode characters and glyph indices are very font-specific, even updates to the same font can change glyph indices and render the PDF unreadable.

Closing, since I don’t think we want options to allow users to shoot themselves in the foot.
Comment 14 VincentYu 2022-09-13 21:44:27 UTC
My request is NOT to embed ALL fonts, only those that are needed!
Comment 15 ⁨خالد حسني⁩ 2022-09-13 22:36:22 UTC
This is already the case, inly fonts used are embedded and they are subset to include only glyphs used.