Bug 95062 - Add more options to embed fonts in documents
Summary: Add more options to embed fonts in documents
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 112522 (view as bug list)
Depends on:
Blocks: Fonts-Embedded
  Show dependency treegraph
 
Reported: 2015-10-14 16:30 UTC by Bastián Díaz
Modified: 2021-03-24 12:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bastián Díaz 2015-10-14 16:30:28 UTC
Fedora 23 beta (64 bit)
LibreOffice version 5.0.0.5

This proposal comes from the strange current functioning of implementation. Attached are two Writer files: In the first no fonts are embedded, (9.3 kB), in the second  fonts are embedded (36.3 MB): Only 3 sentences are included with the Tinos regular fonts. (????)

https://dl.dropboxusercontent.com/u/5204736/Test%20embed%20font.zip

Since version 4.1 you can embed fonts in the OpenDocument documents, thereby conserving design in systems without the fonts used.

Apparently, the implementation is not quite finished and not allow settings to determine which fonts or font families to be included, to allow viewing or editing the document.

Microsoft Office provides settings that helps reduce the size of the final documents, reducing the types of font included on the document. See: https://blogs.office.com/2015/07/06/document-font-embedding-demystified/

I suggest the following (
All include direct formatting and styles):

-Only include fonts used in the document
(default): This lets you share the document with security to keep the design for reading/viewing, keeping to a minimum the additional size added to the document,.
Example: If the Tinos font italic version is used, not including the rest of the font family (Tinos regular, Tinos bold, etc). Impress use?

-Include family fonts used in the document: Similar to the above, but also the families of fonts used are included. This also enables you to view the document correctly, edit it without problems using the same styles.

-Exclude LibreOffice fonts: LibreOffice has a set of fonts that are distributed with the application. If a user has the security to share your document with LibreOffice user, enabling this option you can further reduce file size.


Cheers
Comment 1 Joel Madero 2015-10-14 18:55:56 UTC
Per policy - setting to NEW for UX
Comment 2 haevalencia 2015-10-29 01:36:51 UTC
I can replicate in LibreOffice 5.0.31 in Ubuntu.

Hello, although the report arises as improving, I think there is a bug in the current implementation of this feature.
Checking my documents with archive manager, I notice that fonts are included, that I do not use in the document and that increases the size of the document.
Comment 3 Robinson Tryon (qubit) 2016-08-25 05:49:36 UTC Comment hidden (obsolete)
Comment 4 Volga 2016-11-09 04:49:21 UTC
Recent versions of MS Office have options for this.
Comment 5 Heiko Tietze 2017-10-02 14:33:28 UTC
Regarding the non-used fonts we have some tickets:

Bug 65353 - FILESAVE: LO embeds non-used fonts
Bug 83675 - embedded fonts are double and also non-used fonts are embedded - the used font is not embedded

MSO Word has
[ ] Embed only the characters used in this document
[x] Do not embed common system fonts

and we could easily add these options to Properties > Font. It depends on what is possible, meaning if the embedded font takes a lot of additional space, and this can be calculated easily, we could also ask in a confirmation box.
Comment 6 Timur 2021-03-24 12:39:47 UTC
*** Bug 112522 has been marked as a duplicate of this bug. ***