https://bugs.documentfoundation.org/show_bug.cgi?id=152537

--- Comment #3 from Mike Kaganski <[email protected]> ---
(In reply to Seán Ó Séaghdha from comment #2)
> The ‘duplicate’ bug does not mention the wrong font being used for line
> numbers.

Character styles do *not* depend on the Default Paragraph Style. Instead, when
they do not define a property (directly or through inheritance), the used
property value is taken from the *actual* paragraph properties where the
character style is applied (be it a direct paragraph-level formatting, or *any*
paragraph style used there).

And in the *Line Numbering* very special case, the character style is *not*
applied to any paragraph in the text, with some paragraph-level properties.
Instead, it is used in a special area (generated aside from the text), and thus
it depends on a *global default*, not defined through styles in any document.
In LibreOffice, the global default is defined through Options->Writer->Basic
Fonts. That setting page, unfortunately, has a *separate* effect of *also*
defining the Default Paragraph Style (and other styles) font, but that is the
unfortunate and is tracked elsewhere.

This is not a bug. A possible improvement could add an explicit font definition
to this specific character style, because of its special usage, so that user
would not face some global defaults.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to