Bug 394004

Summary: Special character rendered overly small when on wayland
Product: [Applications] konsole Reporter: Aleix Pol <aleixpol>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: johan.helsing
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: left wayland - right xcb
scaling the text makes the issue more obvious
qt 5.12.1
characters qml
on xcb

Description Aleix Pol 2018-05-08 14:29:02 UTC
Created attachment 112501 [details]
left wayland - right xcb

See attachment, on xcb it looked alright, on wayland.
Comment 1 Aleix Pol 2018-05-08 14:30:27 UTC
Created attachment 112502 [details]
scaling the text makes the issue more obvious
Comment 2 Johan Klokkhammer Helsing 2019-02-06 10:49:03 UTC
I can't reproduce this with Qt 5.12.1 and konsole version 18.12.1.

Does setting or clearing QT_WAYLAND_FORCE_DPI do any difference for you (try setting it to 96 or physical)?
Comment 3 Aleix Pol 2019-02-06 11:02:08 UTC
Created attachment 117861 [details]
qt 5.12.1

Stll happens.
Comment 4 Johan Klokkhammer Helsing 2019-02-06 11:22:47 UTC
Weird.

Can you try running the following in qmlscene?

import QtQuick 2.6
Column {
    TextEdit {
        id: size
        text: "32"
    }
    Text {
        font.pixelSize: size.text
        text: "Smileys Symbols ㋡ ㋛ ☺ ☹ ☻ 〠 シ ッ ツ ヅ Ü 〲 〴 ϡ ﭢ ت ⍡ ⍢ ⍣ ⍤ ⍥ ⍨ ⍩ ὃ ὕ ὣ Ѷ Ӫ ӫ "
    }
    Text {
        font.pointSize: size.text
        text: "Smileys Symbols ㋡ ㋛ ☺ ☹ ☻ 〠 シ ッ ツ ヅ Ü 〲 〴 ϡ ﭢ ت ⍡ ⍢ ⍣ ⍤ ⍥ ⍨ ⍩ ὃ ὕ ὣ Ѷ Ӫ ӫ "
    }
}
Comment 5 Aleix Pol 2019-02-06 11:31:05 UTC
Created attachment 117868 [details]
characters qml
Comment 6 Johan Klokkhammer Helsing 2019-02-06 11:38:43 UTC
So likely either a Qt bug and/or something weird with your fontconfig...

It works on X?

Could you file a bug at bugreports.qt.io?
Comment 7 Aleix Pol 2019-02-06 11:42:31 UTC
Created attachment 117869 [details]
on xcb

works if we force xcb
Comment 8 Aleix Pol 2019-02-06 11:47:18 UTC
https://bugreports.qt.io/browse/QTBUG-73594