https://bugs.documentfoundation.org/show_bug.cgi?id=166627

            Bug ID: 166627
           Summary: Emdedding fonts ignores fonts in header, and includes
                    Font_NSimSun_1.ttf
           Product: LibreOffice
           Version: 25.2.2.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Enabling "font embedding" with "only used fonts" works, if the used fonts
appear in the main document body (see use_in_body.odt).
It does not work, if the fonts only appear in the header of footer. In this
case, these fonts are not included in the file. (see use_in_header_only.odt).
Additionally, the files are immensely bloated due to the inclusion of the font
"Fonts\Font_NSimSun_1.ttf" which is a Chinese font not included in the document
at all.

Steps to Reproduce:
1. create a file with a non-standard font in the header
2. enable "embedding fonts" in document settings
3. safe file. re-open on device without the specified font (or unzip the *.odt
and check the folder "Fonts".

Actual Results:
Font if used only in header is not embedded.

Expected Results:
Font should be embedded, so the file is displayed correctly on other systems.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to