Bug 374022 - xos4 Terminus font - Cyrillic letters - wrong alignment and unexpected font substitution
Summary: xos4 Terminus font - Cyrillic letters - wrong alignment and unexpected font s...
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 16.08.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 04:19 UTC by Igor Zhuravlov
Modified: 2017-09-19 23:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
xos4 Terminus font in "kcmshell5 fontinst" looks ok (67.35 KB, image/png)
2016-12-22 04:19 UTC, Igor Zhuravlov
Details
xos4 Terminus font in xterm looks ok (2.20 MB, image/png)
2016-12-22 04:21 UTC, Igor Zhuravlov
Details
xos4 Terminus font in konsole looks wrong (1.47 MB, image/png)
2016-12-22 04:27 UTC, Igor Zhuravlov
Details
xos4 Terminus font in xterm looks ok (25.68 KB, image/png)
2016-12-22 04:35 UTC, Igor Zhuravlov
Details
xos4 Terminus font in xterm looks ok (25.28 KB, image/png)
2016-12-22 04:36 UTC, Igor Zhuravlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Zhuravlov 2016-12-22 04:19:49 UTC
Created attachment 102935 [details]
xos4 Terminus font in "kcmshell5 fontinst" looks ok

When selecting "xos4 Terminus" font, Cyrillic letters are rendered by another font family, so its width and alignment is wrong. The problem is seen with all font style and size combinations excepting one: Regular, 9pt.

While it is displayed correctly in "kcmshell5 fontinst" and in xterm, e.g.
> xterm -xrm 'XTerm*font: -xos4-terminus-medium-r-normal-*-14-*-*-*-*-*-iso10646-*'
Comment 1 Igor Zhuravlov 2016-12-22 04:21:00 UTC
Created attachment 102936 [details]
xos4 Terminus font in xterm looks ok
Comment 2 Igor Zhuravlov 2016-12-22 04:27:09 UTC
Created attachment 102937 [details]
xos4 Terminus font in konsole looks wrong

Cyrillic letters are replaced by another font. As a result, wrong width and alignment. Notice in last line cursor "eats" some letters at the end:
- must be: "Для продолжения нажмите любую клавишу..."
- but is shown: "Для продолжения нажмите любую клав"
Comment 3 Igor Zhuravlov 2016-12-22 04:35:23 UTC
Created attachment 102938 [details]
xos4 Terminus font in xterm looks ok
Comment 4 Igor Zhuravlov 2016-12-22 04:36:41 UTC
Created attachment 102939 [details]
xos4 Terminus font in xterm looks ok
Comment 5 Igor Zhuravlov 2016-12-22 04:40:01 UTC
My distro is openSUSE Leap 42.2 x86_64.
The same bug is in Konsole version 15.12.3 (openSUSE Leap 42.1 x86_64).
Comment 6 Christoph Feck 2016-12-22 14:06:12 UTC
The decision which font to use as a replacement for fonts lacking certain scripts is made by the Qt libraries. Please report this issue directly to Qt developers via https://bugreports.qt.io/

You probably need to attach the font file and state that Qt incorrectly thinks that this font does not support the Cyrillic script.
Comment 7 Igor Zhuravlov 2016-12-26 02:03:43 UTC
It turned out, this bug is known for ages there. Thank you for hint, I've added comment to https://bugreports.qt.io/browse/QTBUG-22599 .
Comment 8 Stanislav Sizonov 2017-03-27 20:08:34 UTC
(In reply to Igor Zhuravlov from comment #7)
> It turned out, this bug is known for ages there. Thank you for hint, I've
> added comment to https://bugreports.qt.io/browse/QTBUG-22599 .

Do you fixed it?