Scribus Forums

Scribus => General Discussion => Topic started by: PastaShock on October 13, 2025, 03:25:09 PM

Title: Find where I am using a font
Post by: PastaShock on October 13, 2025, 03:25:09 PM
I have a 55 page book I created and switched fonts halfway through the book. I modified all my style sheets to use the new font and everything looks good. But when I export to PDF, it still wants to embed the old font. I double checked all my style sheets and they're good. So I have to assume there is some direct formatting I need to deal with.

I tried to use Search/Replace to find the font, but it found zero matches. Is there some other way I can find where the old font is in the document?
Title: Re: Find where I am using a font
Post by: Aleks100 on October 13, 2025, 07:15:14 PM
Have you tried to open .sla file in code editor of your choice?
Title: Re: Find where I am using a font
Post by: a.l.e on October 13, 2025, 07:51:13 PM
Could it be that a style is still using the font?

I've tried:

- Create a new document (with default font DejaVu Sans)
- Create a text and type some text in it.
- Change the font of the text to some other font (Carlito)
- Export the PDF and have a look at the Fonts tab: DejaVu Sans is still there.
- Replace DejaVu in the default paragraph and character styles.
- No more DejaVu in the Fonts tab of the PDF export
Title: Re: Find where I am using a font
Post by: Nermander on October 13, 2025, 08:05:41 PM
The most common issue is that the font is the default font for text frames in the Document setup.

Scribus will consider the font used even if there is no text in the file that uses the font.
Title: Re: Find where I am using a font
Post by: a.l.e on October 13, 2025, 08:32:05 PM
I also thought of the default value in the preferences / document setup.

But it does not seem to be the cause of it / make a difference.

I had DejaVu as the tool's choice in the preferences, and after replacing the font in the frame and in the styles it did not show up anymore in the PDF export fonts list.

Would you mind testing if my test was correct?