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

--- Comment #7 from Gessel <[email protected]> ---
I think I understand the behavior a bit better:

Unless one checks and selects default language options in
Tools->Options->Language Settings->Languages for Asian and CTL language blocks,
the Format->Character->Font pane does not show options for adjusting the font
settings for the unchecked language blocks: Asian and/or CTL.  

However, pasted unformatted UTF8 text with characters from Asian and/or CTL
code blocks are set in the default fonts defined in these thus hidden
preferences.  On my system, Asian fonts are rendered in Noto Sans CJK SC 10.5
point, CTL in DejaVu Sans 12pt.  Western follows my set preference (Cormorant
Garamond in Writer or Noto Sans in Draw).

Selecting some Asian text (貓 for example) and then navigating Format->Character
(while Asian is unchecked in Languages as above) shows the default Western code
block settings as if the characters were set in that font (they are not, this
is misleading).  Making changes in this dialog do not apply to the characters. 
It appears the dialog is broken.

Using the tool bar options for setting font/size via pull-downs, which show by
default in Writer and can be enabled in Draw by selecting View->Toolbars and
checking "Text Formatting" does work as expected. If you select the whole of,
say:

cat
قطة
կատու
貓
پشیله‌
고양이
بزونه
pisîk
বিড়াল
ကြောင်
kočka
گربه
კატა
חתול
ngeru
ネコ

the font and size pull-downs switch to blank, indicating mixed fonts and sizes
in the selection because the font and size values having taken the value of the
options in the Format->Character pane, options that are hidden unless Asian and
CTL default language options are selected.

Setting the font and size in these toolbar pull-downs, in either Draw or Writer
or Calc, does the expected: sets all the characters (regardless of language
block) to the selected font and size (as do the Style buttons).

Because the Text Formatting toolbar is hidden by default in Draw, I didn't
think to try that. Because the tool bar is enabled by default in Writer, I
didn't try the Format->Character dialog in Writer.  I see now they all behave
the same.

Note that Calc is similar, the Format->Cells->Font dialog behaves the same as
Format->Character in Draw and Writer, as does the Toolbar Font and Size
pull-downs.  

I'd argue that if the default languages are not set, the result should not be
that Asian and CTL code blocks take values from hidden dialogs as this is
confusing. They should be formatted with the same font and size as Western code
blocks unless the user has explicitly set the default Asian and CTL language
options, and even mixed language block text should follow specified font
choices.  In my experience most system default fonts have fairly complete UTF8
coverage so the chances of getting a paragraph of squares is low.

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

Reply via email to