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

            Bug ID: 173449
           Summary: Embedded font is not saved when the font name is not
                    the default font family name
           Product: LibreOffice
           Version: 4.1.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
The font embedded in a document, e.g.`.odt`, will not be saved when the font
name requested in the document is in different language of the picked default
font name.  

Steps to Reproduce:
1. Install 全字庫正宋體 (or any other font with multiple language).
2. Open Writer 26.8 (<27.2) and set locale to non-en-us. (If you are not on
Windows, you can just use 27.2. Refer to tdf#173446)
3. Set document attributes to enable embedding fonts.
4. Type some words with 全字庫正宋體 and save.
5. Open the saved document with 27.2.
6. Set locale to en-us if you are not on Windows and reopen.
7. Make sure the document attribute enables to embed fonts.
8. Save as another document.
9. Open the new document with 27.2.

The step from 1 to 4 is to create a file requesting font name other than the
default font family name of that font. You can also use Python or other ways to
create the file.

Actual Results:
The embedded font is not preserved after re-saving.

Expected Results:
The embedded font should be preserved.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 27.2.0.0.alpha0+ (AARCH64)
Build ID: 031895cbd220c2d0e4ecbe869d3c27d513c115f2
CPU threads: 10; OS: Windows 11 ARM64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: zh-TW (zh_TW); UI: zh-TW
Calc: threaded

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

Reply via email to