As a user from China, I sometimes embed some CJK fonts like Source Han Sans in the odt files, and I always use multiple font weights at the same time. This causes the odt files to be extremely big, and takes some time to open. It seems that MS Office has such feature.
Btw, sometimes LibreOffice even embed some never-used fonts into the document. I found the names of the corresponding fonts in the xml files inside the ODT, but they are just some style information that are never used. LibreOffice is doing a bad job at this.
I am using LibreOffice 18.104.22.168 on Windows 8.1. I guess it is a cross-platform problem.
This bug report seems to be just an enhancement, but it is really important to the users of Pan-CJK fonts which often comes with a lot of glyphs.
If you need the file (~35MiB) to see what actually happened, just ask.
Please strip that file down as much as possible and then attach. You can only attach up to 10 megs so it'll have to be stripped down a bit.
Marking as NEEDINFO - once you get us a simple (really the simpler the better) test document mark the bug as UNCONFIRMED. Thanks
@Joel, I don’t think it’s necessary to ask the reporter to attach the font here, if you want to get it just google it and download it, it’s free. ;-)
I am marking this NEW because it’s a valid enhancement request and I am familiar with the MS Office feature Arthur mentions, which is called “font subsetting”, that is indeed missing from LibreOffice.
I guess this should be a storage or Base feature instead.
LibreOffice's PDF part seems to do the font subsetting part well. Any chance for taking those things for ODF files?
Ah. There are quite a few flavors of CreateFontSubset lying around, sorted by what platform mechanisms they can use. The Windows one unsurprisingly supports TTF only just like MSO does...