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

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Writer: Embedded fonts not  |Writer: Embedded fonts not
                   |rendered correctly          |used (even though they are
                   |                            |in the file)

--- Comment #13 from Stéphane Guillou (stragu) 
<[email protected]> ---
Thank you.
I wouldn't test with an older file, I would try with a new file to see if
recent versions behave better in embedding the fonts.

However, I can reproduce with the following steps:

1. Install Respective 2.0 font from https://www.dafont.com/respective.font
2. Create an ODT that uses the font
3. File > Properties > Font > Embed fonts in the document
4. Save and close (file is huge because of some Noto CJK fonts, but can be
avoided by unticking "Asian Fonts")
5. Uninstall the font (or deactivate it, which can be done with e.g. the GKT
app "Font Manager")
6. Reopen the document

Result: a fallback font is used, even though the extracted file has the
corresponding TTF in the Fonts directory.
In the console, I get:

warn:xmloff:605332:605332:xmloff/source/style/XMLFontStylesContext.cxx:221:
unknown element urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0
svg:font-face-format

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5589659829f8a1cef8ca1c8a468732105bbe231b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to