Ask Your Question

How to cleanup unused embedded fonts from ODT or garbage collect inside ODT file? [closed]

asked 2015-01-08 17:26:04 +0100

AV gravatar image

updated 2020-09-21 19:14:17 +0100

Alex Kemp gravatar image

I have ODT file with aprox. 700kb of useful data inside. The file size is 6Mb.

When I'm opening ODT as Zip archive I see inside 10Mb (unzipped size) of 17 fonts in folder /Fonts. I'm using only two fonts. So, in resulting file I have aprox. 5Mb(zipped as a part of ODT file) of waste data inside.

Can not find a way to throw away the embeded fonts. I can copy-paste from current file into new file, save it and it's size will be 700-800kb. But today there is the common feature "cleanup unused objects from file/internal database/storage" in mail clients, office apllications. I'm searching for similar functionality and a king of garbage collector in Libre/Open Office.

How can I throw away unused objects and embeded fonts from an ODT file? How can I cleanup the file?

P.S. I'm using LibreOffice, Ubuntu 14.04. The question is related to Writer component and ODT files.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-09-21 19:15:02.715998

1 Answer

Sort by » oldest newest most voted

answered 2017-01-25 00:29:24 +0100

JohnHa gravatar image

Open the document. Copy everything. Paste into a new document. Save it. Delete the old one.

edit flag offensive delete link more

Question Tools



Asked: 2015-01-08 17:26:04 +0100

Seen: 774 times

Last updated: Jan 25 '17