Bug 93072 - Font Embedding into Writer documents does not work (at least on Mac OS X)
Summary: Font Embedding into Writer documents does not work (at least on Mac OS X)
Status: RESOLVED DUPLICATE of bug 72456
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-02 02:25 UTC by kurt.pfeifle
Modified: 2015-08-02 07:07 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
hello-world.odt using "Open Sans" font, with font embedding enabled. (10.40 KB, application/vnd.oasis.opendocument.text)
2015-08-02 02:25 UTC, kurt.pfeifle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kurt.pfeifle 2015-08-02 02:25:02 UTC
Created attachment 117593 [details]
hello-world.odt using "Open Sans" font, with font embedding enabled.

If you create a Writer document, go to menu "File -> Properties -> Font" you find a checkbox saying "Embed fonts in document". I checked the respective checkbox.

To a layman like me this sounds like I could use non-standard fonts in my document, and upon saving these fonts have them embedded in my ODT file.

Then I can pass my document to a friend, and he could open and work with it even if he does not have my font installed.

I don't know how this feature should exactly work: 

  (1) Should he manually install the font on his system after extracting
      it from the document?

  (2) Will LibreOffice automagically handle the font installation on my
      friend's system?

  (3) Should it even work without any installation, just based on the 
      embedded font?

Either way: IT DOES NOT WORK, BECAUSE THERE IS NO FONT EMBEDDED in the first place!

I tested with these operating systems and LibreOffice releases:

 - Mac OS X 10.9.5 (Mavericks)
   * LibreOffice Writer 4.4.5.2
   * LibreOffice Writer 4.4.4.3
   * LibreOffice Writer 4.2.6.3

 - Mac OS X 10.10.4 (Yosemite)
   * LibreOffice Writer 4.4.5.2
   * LibreOffice Writer 4.2.6.3

Is this feature even supposed to work? Or is this checkbox just an artefact from a non-implemented or de-activated feature?

(To be sure, I also tested with the checkbox disabled, just in case a bug reversed the meaning of the checkbox. No dice!)

How did I check for font embedding?

 1. 1st method. I compared the document size for both cases
    (checkbox enabled/disabled): no difference.

 2. 2nd method. I unziped the ODT file and looked for an embedded
    font file. There is none.

I don't know if other LibreOffice applications (Calc, Impress, ...) are supposed to also support font embedding, and wether they are affected by the same bug.
Comment 1 Maxim Monastirsky 2015-08-02 07:07:30 UTC
(In reply to kurt.pfeifle from comment #0)
> To a layman like me this sounds like I could use non-standard fonts in my
> document, and upon saving these fonts have them embedded in my ODT file.
> 
> Then I can pass my document to a friend, and he could open and work with it
> even if he does not have my font installed.
Right.
 
> I don't know how this feature should exactly work: 
> 
>   (1) Should he manually install the font on his system after extracting
>       it from the document?
No.

>   (2) Will LibreOffice automagically handle the font installation on my
>       friend's system?
No.

>   (3) Should it even work without any installation, just based on the 
>       embedded font?
Yes.

> Either way: IT DOES NOT WORK, BECAUSE THERE IS NO FONT EMBEDDED in the first
> place!
Well, it seems to have some problems under Mac OS, take a look at Bug 72456.

*** This bug has been marked as a duplicate of bug 72456 ***