← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 521163]

 

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has
been closed from further activity.

You can subscribe and participate further through the new bug through
this link to our GitLab instance:
https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/53.

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/521163

Title:
  WenQuanYi Zen Hei is prioritised above Japanese fonts for Japanese
  language text

Status in Fontconfig:
  Unknown
Status in Ubuntu Translations:
  Triaged
Status in ttf-wqy-zenhei package in Ubuntu:
  New

Bug description:
  Binary package hint: ttf-wqy-zenhei

  (I hope I've picked the right place to start with reporting this bug.
  I find fontconfig and CJK font selection issues in general quite
  confusing.)

  In Karmic, running firefox seems to pick a non-Japanese font for displaying Japanese web pages. (You can tell because the preferred character styles are somewhat different.) This used to work in Jaunty, but Karmic makes a worse font choice. 
  [Details: I have LANG=en_GB.UTF-8 but also PANGO_LANGUAGE=en;ja to tell Pango to guess Japanese if it has to guess. I'll attach the result of running a firefox with FC_DEBUG=1 and looking at a sample page with problems; you can see it asking for a font with 'lang: "ja"' and getting back "WenQuanYi Zen Hei", so I don't think firefox is at fault here.]

  This seems to be because if we ask fontconfig for a "Sans" font for
  Japanese text it gives back the ttf-wqy-zenhei one instead:

  $ fc-match Sans:lang=ja
  wqy-zenhei.ttc: "WenQuanYi Zen Hei" "中等"

  I do have Japanese fonts installed:

  $ fc-list :lang=ja
  WenQuanYi Zen Hei Mono,文泉驛等寬正黑,文泉驿等宽正黑:style=Medium,中等
  Sazanami Mincho,さざなみ明朝:style=Mincho-Regular,Regular
  WenQuanYi Zen Hei,文泉驛正黑,文泉驿正黑:style=Medium,中等
  VL PGothic,VL Pゴシック:style=regular
  Sazanami Gothic,さざなみゴシック:style=Gothic-Regular,Regular
  VL Gothic,VL ゴシック:style=regular

  (and if you don't ask for a Sans font you get back one of those:
  $ fc-match :lang=ja
  ttf-japanese-gothic.ttf: "VL Gothic" "regular"
  )

  I think that if the application is asking for a font to display
  Japanese text in, then all Japanese fonts should be prioritised above
  any of the other CJK fonts...

  ProblemType: Bug
  Architecture: i386
  Date: Fri Feb 12 20:02:59 2010
  DistroRelease: Ubuntu 9.10
  Package: ttf-wqy-zenhei 0.8.38-1ubuntu1
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
  SourcePackage: ttf-wqy-zenhei
  Uname: Linux 2.6.31-17-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/fontconfig/+bug/521163/+subscriptions