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

--- Comment #5 from Gessel <ges...@blackrosetech.com> ---
I understand the behavior and that one needs to set default languages for Asian
and Complex Text Layout faults in Tools->Options->Language Settings->Languages
to be able to work with characters from those sets.

It is non-intuitive to me (perhaps only me) as the characters that are in UTF-8
Unicode Blocks other than Western appear at the initially set Western-set
default size and font, but can't be manipulated.

By "default font" I meant not selecting anything and opening Format->Character
then setting font preference so that additional created text takes those
parameters.

For example, you can uncheck the default languages for Asian and Complex Text
Layouts, then unselect any objects, choose Format->Character and set the font
to Noto Sans (which has a pretty complete Unicode set), set the font size to,
say, 6 point, then paste the example text as unformatted and the text is
rendered as I'd expect - 6 point, Noto Sans, and, say 0xEF 0xBE 0x88 renders as
ネ 6 point, 

If you create a new document, set the font as above to Noto Sans 18 point and
paste the unformatted text, it renders as expected - the whole block in 18
point, all non-western characters rendered in Noto Sans 18 point.

If, after pasting one block, you unselect all objects and change the "default"
font to a different size (still without enabling Asian/CTL), then if pasting
the same example as unformatted text (as above) only the characters in the
western block follow the change - the Asian and CTL block characters render in
the font size set in the previous step.  

And, as initially noted, attempting to change the font parameters only applies
to the Western block.  - that is you can't change the font/style/size/features
of non-western characters, which is very strange looking when you try.

This seems like buggy behavior and a little weird.  I'm not sure why I have to
set a default language for Asian and CTL UTF8 blocks to be able to modify the
rendering of characters in those blocks.  I mean if an alert popped up if I
tried to type or paste non-western characters without setting the default
non-western languages and forced me to set those before proceeding, I'd still
be curious as to why, but it would avoid confusing behavior.

Further, if I have changed the font size, but it is still rendering in the
first selected size, and select a character from a code block for which a
default language has not been set and open Format->Character, the dialog shows
the font/size I set, not the font/size the character is being rendered in.

I'd expect non-western characters to follow the western defaults if not
explicitly set.  That is, if I deselect Asian and CTL in preferences and paste
in a UTF8 text block spanning multiple language blocks, it should render any
characters available in the selected font at that size and permit modification
(size, angle, etc).  

It's a little strange to have to set font parameters for each language code
block separately every time I want to adjust a text block.  I can see why there
may be use cases where that's desirable, but it seems more like an exception.  

If I want to write "I named my ネコ 'گربه'" I'd expect to be able to change the
font from 10pt Noto Sans to 60 point KacstTitle (say) in a single step, rather
than having to select the font/style/size/features combinations three times.

It seems obvious that if the default language isn't set features like spell
checking and hyphenation wouldn't work, but it is not obvious to me why
changing font/size etc. isn't supported.

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

Reply via email to