Description: When exporting as epub, it does not include the custom font. When exporting as pdf it works though. Steps to Reproduce: 1.Create a text that uses a custom user font 2.export the document as epub 3. Actual Results: Arial font, looks ugly... Expected Results: Should use the custom user font Reproducible: Always User Profile Reset: No Additional Info: include the font
Created attachment 181211 [details] example odt file
Created attachment 181212 [details] example file exported as epub, see the font is wrong
Created attachment 181213 [details] example file exported as pdf, see the font is right
Thank you for reporting the bug. I can't test it, because I don't have the font installed, that you use in the document. Is it possible to install that font. Or can I test with another font? (Tested with font "Mistral", but couldn't reproduce. Version: 7.3.5.2 (x64) / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL
Created attachment 181405 [details] my font
[Automated Action] NeedInfo-To-Unconfirmed
I confirm it with Version: 7.3.5.2 (x64) / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Steps to reproduce 1. Install font from comment 5 2. Open attachment 181211 [details] 3. Make sure, that "Only embed fonts, that are used in the document" is selected in File -> Properties -> Font 4. File -> Export As -> Export as EPUB 5. Open file on a system without font from comment 5
One workaround is adding font file manually. But it would be nice to have this option, this option need to copy font file first (maybe making font subset as well?) and then embedded into appreciate path of the EPUB file. BTW is it possible to convert font file to WOFF?
Repro, this message appears: The file 'la petite fille et l'horrible araignée , 2 pages .epub' is corrupt and therefore cannot be opened. LibreOfficeDev can try to repair the file. The corruption could be the result of document manipulation or of structural document damage due to data transmission. We recommend that you do not trust the content of the repaired document. Execution of macros is disabled for this document. Should LibreOfficeDev repair the file? When I click "Yes", this message appears: The file 'la petite fille et l'horrible araignée , 2 pages .epub' could not be repaired and therefore cannot be opened. This bug is present in the file of the comment 2. This bug is also present, when I create an epub export of the odt file, I try to open this epub. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e0a5b29f653a314727e23489a3e98daff8386ff6 CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: en-US Calc: threaded