finding fonts used in libreoffice writer docs

I have pretty well completed a large document (110 pages) in LO writer. I did a
pdf export and checked the fonts embedded. To my surprise I found a couple of
unknown, and unwanted, fonts there.

To keep the file size down as much as possible, I would like to remove those
unwanted fonts. I expect they came as stow-aways on a template I used.

I've searched all the paragraph styles for the presence of these 2 unwanted
fonts without success. There doesn't appear to be an LO tool to locate a font
within the document.

Can anyone tell me a way of rapidly locating where these fonts could be hidden
within the LO.odt file ?

Thanks,
Philip

I have pretty well completed a large document (110 pages) in LO writer. I did a pdf export and checked the fonts embedded. To my surprise I found a couple of unknown, and unwanted, fonts there. To keep the file size down as much as possible, I would like to remove those unwanted fonts. I expect they came as stow-aways on a template I used.

I've searched all the paragraph styles for the presence of these 2 unwanted fonts without success. There doesn't appear to be an LO tool to locate a font within the document.

No?

Can anyone tell me a way of rapidly locating where these fonts could be hidden within the LO.odt file ?

o Open the Find & Replace dialogue.
o In the "Search for" box, enter .+ (dot-plus). This is regular expression code for one or more consecutive characters.
o Click More Options.
o Tick "Regular expressions".
o Click Format... .
o On the Font tab, select the relevant font. Leave Typeface and Size blank.
o OK.
o Click Find or Find All.

I trust this helps.

Brian Barker

Thank-you Brian for this reply. That procedure was well above my paygrade but
now I've learned something new and that will come in useful in future too.

It worked well for one of the fonts which I have now removed..

But the other unwanted embedded font shows in the pdf file as ArialMT.

Of the Arial family, I only have Arial and Arial Black on my machine.

I searched for them and found nothing. I wrote in ArialMT in the font family
box but the 'find' produces nothing.

Re-exporting the pdf file still claims to have some embedded ArialMT, though.
I guess I'll just live with that.

Thanks again for the help.

Philip