I managed to reproduce this on desktop with the following code:

import QtQuick 2.3
import Ubuntu.Components 1.2

MainView {
    objectName: "test"
    applicationName: "com.ubuntu.chinese-font"

    id: mainView
    width: units.gu(50)
    height: units.gu(67)
    //    useDeprecatedToolbar: false
    Component.onCompleted: pageStack.push(mainPage);
    Page {
        id: mainPage
        objectName: "mainPage"
        title: i18n.tr("系统设置")
        visible: true

        Label {
            anchors.centerIn: parent
            text: "系统设置"
            fontSize: "x-large" // different fontSizes do not have the bug
        }
    }
}

As reported in the dupe bug 
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1462982
the bug *only* occurs with a grid unit size of 23, so run the app with:
GRID_UNIT_PX=23 qmlscene test.qml


As you can see, I managed to reproduce it with a Label (not in the header). The 
bug only appears when fontSize: "x-large" is set.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1475205

Title:
  Random Chinese character missing in header with 50 GU

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1475205/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to