How do I search for a specific font in Writer

I have switched fonts in a large chunk of text (225 pages). Instead of using Times New Roman for the body and Arial for the headings, I am using varieties of Liberation for both. I changed the font using styles and formatting, but when I export to pdf, the list of fonts in Acrobat says I still have Arial and Times New Roman somewhere in the document. Is there a way of searching for everything in Arial or everything in Times so I can troubleshoot?

The Find and Replace dialog (Control+H) should be able to search for text by font. Leave the “Find” box blank. Then go Other options > Format and fill in the “Family” box.

I have a slightly similar problem, and your advice isn’t good enough. I have a very large document, hundreds and hundreds of pages. I need to search for all text that is, let’s say, italicized, or in a specific font. I had already figured out how to use find-and-replace to search, and it almost works. However, it finds many, many, MANY places where italics or the specified font do not occur. Way too many to look at them all, especially since my eyes may not be able to tell me whether (for example) a period is italicized, or to recognize a font change. I have to look up at the top where the font is given, and it doesn’t show italics or the specific font I searched for or whatever.

It sure looks as though there is some code in there showing a font (or font properties) change, which does not show up or have any effect, but which the search finds. If I could see and remove these, once, it would be one thing, but this happens every time I search for this kind of thing, and this just takes too much time.

Thanks.

@Davecat: the description of your concern shows that you don’t use the style system at its full power and that your document was heavily directly formatted. Have a look at character styles (concept which does not exist in M$ Word) and use them to mark semantically words or sequences inside paragraphs which already have a paragraph style.

I emphasize the word semantically because you should think first to what meaning your document should convey. Then, you give this semantic marking visual attributes like font, size, color, slanting, bold, …

With such a marking, you reduce the problem of managing your document from hundreds of pages to a handful of styles (paragraph and character). It also allows to answer your question about where such font is located or what is (should be) in italics, … provided you never direct format (I know, at the beginning this seems tedious but once you get accustomed to the discipline it comes easy).

Remember that Find & Replace does not allow to search on character styles (only on paragraph styles). You can get an equivalent to Find all occurrences by temporarily modifying your character style to give it a colour or background color to highlight all its usages.