https://bugs.kde.org/show_bug.cgi?id=392343

--- Comment #5 from Tyson Tan <tysont...@gmail.com> ---
First of all, the "Bold" button in Text Editor is now broken in the 4.3.0
branch.

Second, we had workaround to use SOME of the native font variants in Krita's
Text Edior, but it only worked in 4.2.x. It's also broken in the 4.3.0 branch.

=======================

For example, the font "Noto Sans CJK" from Manjaro Linux has 7 .ttc files, each
for one STYLE.

/usr/share/fonts/noto-cjk/NotoSansCJK-Black.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Bold.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-DemiLight.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Light.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Medium.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc
/usr/share/fonts/noto-cjk/NotoSansCJK-Thin.ttc

But each of those .ttc files has 4 actual fonts:
Noto Sans CJK SC (Simplified Chinese)
Noto Sans CJK TC (Traditional Chinese)
Noto Sans CJK KR (Korean)
Noto Sans CJK JP (Japanese)

So, with the whole font package correctly installed, I have the 4 fonts in the
FONT droplist:

Noto Sans CJK SC
Noto Sans CJK TC
Noto Sans CJK KR
Noto Sans CJK JP

And 7 STYLES in the STYLE droplist:

Black
Bold
DemiLight
Light
Medium
Regular
Thin

(I know, it's quite complicated and confusing, what kind of black magic is
going on here and why they do this...)

=======================

As reported before, the STYLE droplist doesn't work. But I can still use some
of the styles by typing the style name after the font name in Font droplist:

"Noto Sans CJK SC Black"

But for some reason, the Bold style doesn't work even when I used:

"Noto Sans CJK SC Bold"

=======================

The workaround above worked in 4.2.x including the latest 4.2.9 beta. But
somewhere between Jan and Feb 2020, it was broken in the 4.3.0 branch. But if a
.kra file has the workaround done in 4.2.x, it'll still work until you changed
the fonts. Makes me feel it's really a UI problem...

With both the Bold button and all Styles unavailable, it hinders our text works
greatly. Really not looking forward to switch between Krita and GIMP again :P

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to