Description: Unused CJK fonts get inside of text documents with embedded fonts, which creates huge documents. Steps to Reproduce: 1. Create new text document 2. Check File -> Properties -> Fonts -> 'Embed fonts in the document' 3. Save file Actual Results: This creates huge file (more than 20 Mb) with unused CJK fonts inside. Expected Results: Embed only fonts defined in Styles or used via direct formatting. Reproducible: Always User Profile Reset: Yes Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 137532 [details] Example test document
Repro with: Versie: 4.2.0.4 Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba7
Downloaded the (empty) document => 25 MB 11 Embedded fonts: Microsoft YaHei bold => 9,4 MB Microsoft YaHei UI => 13,8 MB AR PL Sungtil GB => 2,3 MB I opened styles.xml => the three fonts mentioned above are used in styles. So it's the expected result I would say.
*** This bug has been marked as a duplicate of bug 65353 ***