← Back to team overview

touch-packages team mailing list archive

[Bug 1475205] Re: Random Chinese character missing with Ubuntu font

 

I can confirm this happens on font.family: "Ubuntu", the default
fallback font of Chinese seems to be "Droid Sans".

Here's the output of Qt.fontFamilies() on our Chinese image:

qml: DejaVu Sans,DejaVu Sans Mono,DejaVu Serif,Droid Arabic Kufi,Droid
Arabic Naskh,Droid Naskh Shift Alt,Droid Sans,Droid Sans Arabic,Droid
Sans Armenian,Droid Sans Ethiopic,Droid Sans Fallback,Droid Sans
Georgian,Droid Sans Hebrew,Droid Sans Japanese,Droid Sans Mono,Droid
Serif,Liberation Mono,Liberation Sans,Liberation Sans Narrow,Liberation
Serif,Lohit
Devanagari,Monospace,NanumBarunGothic,NanumGothic,NanumMyeongjo,Sans
Serif,Serif,Symbola,TakaoPGothic,Ubuntu,Ubuntu Condensed,Ubuntu
Mono,文泉驿微米黑,文泉驿等宽微米黑

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1475205

Title:
  Random Chinese character missing with Ubuntu font

Status in Canonical System Image:
  Confirmed
Status in ubuntu-font-family-sources package in Ubuntu:
  New
Status in ubuntu-ui-toolkit package in Ubuntu:
  Invalid

Bug description:
  After applied 50 GU setting in image, we started seeing randomly
  missing Chinese characters across scopes and apps header, not clipped
  at the begin or end of string, sometimes in the middle.

  STEPS:

  1. Switch display language to zh_CN in system settings
  2. Reboot the phone

  EXPECTED:

  I should see all header strings displayed properly.

  ACTUAL:

  Randomly missing character.

  VERSIONS:

  current build number: 51
  device name: arale
  channel: ubuntu-touch/rc-proposed/meizu.zh-proposed
  last update: 2015-07-16 04:59:10
  version version: 51
  version ubuntu: 20150716
  version device: 20150709-8965e37
  version custom: 20150716-819-9-6

  ---------- update ----------
  The problem of missing characters can be reproduced even on a desktop, outside of the header, without importing Ubuntu.Components:

  import QtQuick 2.0
  Item {
      width: 800
      height: 600

      Text {
          anchors.centerIn: parent
          text: "系统设置 one two"
          font.family: "Ubuntu"
          font.pixelSize: 69
          font.weight: Font.Light
      }
  }

  The problem only appears to occur with this specific combination of
  font family, pixelSize and weight. Tim Peeters reproduced the problem
  on vivid on a laptop without changing the default settings for the
  language (LANGUAGE="en_US").

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


References