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

--- Comment #17 from [email protected] ---
Created attachment 180444
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180444&action=edit
unused_font_not_removed_used_font_not_embedded.odt

I also hit the bug and spent hours to find a workaround or to fix my odt.

In a fresh document, my used font "Breitkopf FrakturUNZ1L" is embedded (except
if only using it in an applied style - see bug 149348), but not in the document
I edited.

I even completely cleared the complete document and removed the direct
formatting of the one and only remaining empty paragraph. Surprisingly one font
is still embedded despite it's now unused - "Alte DIN 1451 Mittelschrift".

The workaround I've done now is completely unfeasible for the average user and
big documents - see below steps.
- Open document.
- Reformat document to only use styles.
- Close document.
- Open content.xml of the odt file and delete everything within the tags
<office:automatic-styles> - except the ones having 'style:family="graphic"'.
- Open document.
- Add empty paragraph(s), each directly formatted with the required font.
- Save and close document. Fonts will now get embedded.

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

Reply via email to