Bug 394004 - Special character rendered overly small when on wayland
Summary: Special character rendered overly small when on wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-08 14:29 UTC by Aleix Pol
Modified: 2019-02-06 11:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
left wayland - right xcb (846.78 KB, image/png)
2018-05-08 14:29 UTC, Aleix Pol
Details
scaling the text makes the issue more obvious (232.26 KB, image/png)
2018-05-08 14:30 UTC, Aleix Pol
Details
qt 5.12.1 (164.12 KB, image/png)
2019-02-06 11:02 UTC, Aleix Pol
Details
characters qml (73.45 KB, image/png)
2019-02-06 11:31 UTC, Aleix Pol
Details
on xcb (27.33 KB, image/png)
2019-02-06 11:42 UTC, Aleix Pol
Details

Note You need to log in before you can comment on or make changes to this bug.
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