[Libreoffice-bugs] [Bug 138034] Popup Character Style, Tab. "Font": Selected Font irritating

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 21 19:07:41 UTC 2020


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

Ming Hua <ming.v.hua at qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ming.v.hua at qq.com

--- Comment #2 from Ming Hua <ming.v.hua at qq.com> ---
I agree with Dieter's opinion, it's logical that the font shown in the
Character Style dialog is the font of the parent character style.

Also, this comment from you

(In reply to canned from comment #0)
> Expected Results:
> b) or would correspond to the underlying paragraph format.
makes me wonder what exactly is bothering you.

Because as far as I understand, character style is rather independent from the
paragraph style.  If you don't want your character style to change the font of
the text that get its font set by paragraph style, it won't -- just don't touch
the font tab when you are modifying the character style.

As an example, look at the built-in "Emphasis" character style, it only changes
the font style from Regular to Italic, but doesn't specify the font name.  So
no matter what font the paragraph is using (either from direct formatting, or
from paragraph style), if you choose some text and apply "Emphasis" character
style, it will just make them italic, but won't change the font name, leaving
it the same font as their surroundings.

This can be also seen in the "Organizer" tab of the Character Style dialog, it
lists all the changes the current style differs from its parent style. 
Everthing else will not be changed.  If you don't explicitly set a new font in
your new character style, you shouldn't see any font changes here, and the text
applied with this character style shouldn't change its font.

Maybe the UI is a bit unintuitive here and caused some confusion.  But the
underlying logic of LibreOffice's style system is quite clear and shouldn't be
"irritating" to use.  If it is for you, please elaborate and we can figure out
exactly what needs to be improved.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201121/2aceebed/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list