Update Font Name Field for Inherited Styles

So I had a voice conversation with ChatGPT about this and we were going through the steps involved in editing styles. In a template, I have set the font for the default paragraph style to Arial. Now Heading is set to inherit from default paragraph style, but when I check the fonts under Heading in the Styles sidebar, they are all set to Liberation Sans. The headings are also set to inherit from Headings and Headings inherits from default paragraph style, so shouldn’t the fonts have changed from Liberation Sans to Arial, or is it just that the value shown in the font field in the dialog doesn’t update? To fix this, I specifically set the font to Arial in Headings and this updated the font shown when I checked the edit dialog for each heading.

This is the version information:

Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-IE (en_IE); UI: en-GB
Calc: threaded

In the “General” tab of the style, you can see what is modified with respect to the style it inherits from.

1 Like

Yes, but even though Headings inherits from default paragraph style, in General, it still says that Liberation Sans is the font used. Similarly when I check General in Edit Style for headings 1, 2, 3, etc. Maybe I need to click on “Reset to Parent” to refresh the settings (should be “Set to Parent” if that’s what it does).

I changed the default paragraph style font to something distinctive and all the inherited styles refreshed in the Style sidebar. As you can see, the Headings didn’t change, even though they inherit from default paragraph style (and I tested this by typing DPS text and then some text with a heading style.

If you look at Heading style, it is set to Liberation Sans, change it there to change it for all Heading styles.

Alternatively, you can change it in Tools > Options > LibreOffice Writer > Basic Fonts (Western).

Better to read chapter 20 of the Writer Guide, download from English documentation | LibreOffice Documentation - LibreOffice User Guides

1 Like

Yes, that’s what I ended up doing.