Description: Number of embedded fonts doubles when saving to DOCX (increases filesize) Steps to Reproduce: 1. Open the attached file (15 embedded fonts) 2. Save as DOCX 3. Rename DOCX to zip and inspect the font folder: 33 fonts Actual Results: 33 fonts Expected Results: 15 fonts in ODT, so 15? Reproducible: Always User Profile Reset: No Additional Info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 6faa7e6f7bae3e6a613b4f4b7cee4a9c6d2b7aae CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: default; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded
Also in Versie: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600 Locale: nl_NL
The attached file was missing.
1. Open attachment 201351 [details] 2. File -> Properties -> Font Tab -> Check Embed fonts & Only embed fonts that are used 3. Save as DOCX (12,3 MB) 4. Save as ODT (+/- 7 MB
Right, it seems that we need to check which is correct. Either we export unnecessary fonts in DOCX export; or we omit necessary fonts in ODF export.
I'm starting to doubt if really something wrong here, or that this simply being the way how MSO embeds fonts. I simply compared ODT with DOCX and was surprised about the size difference
The font set inside the packages is different. As said, it needs investigation, which one is correct. In both cases, it's LibreOffice which scans document, and decides which fonts to include. It *might* be possible, that DOCX specifics result in some fonts being used, that aren't in ODF - but I find it unlikely: the code that decides which fonts to embed must scan the model (which is the same in both cases), not the export artifacts.