[Bug 1834406] Re: Upgrade Noto Sans CJK fonts to version 2.001

Gunnar Hjalmarsson 1834406 at bugs.launchpad.net
Mon Jul 29 19:26:14 UTC 2019


On 2019-07-29 20:40, Mathieu Trudel-Lapierre wrote:
> Shouldn't this be fixed in Xenial as well?

There are two reasons why I didn't propose it for Xenial too.

In Xenial Noto Sans CJK is not the default font in Ubuntu for rendering
Japanese, but Takao is. So to support the rendering of the "square era
name reiwa" glyph in Xenial, Takao is the package which should be
handled at first hand.

Also, Xenial is the first cycle where we use fonts-noto-cjk in Ubuntu
(for Chinese), and the introduction of that package with its somewhat
demanding OTC packaging format forced us into a last minute upgrade of
fontconfig.

https://lists.ubuntu.com/archives/ubuntu-devel/2016-April/039303.html

So without having tested, my gut feeling says that backporting fonts-
noto-cjk to Xenial would be higher risk than was the case for Bionic.

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

Title:
  Upgrade Noto Sans CJK fonts to version 2.001

Status in fonts-noto-cjk package in Ubuntu:
  Fix Released
Status in language-selector package in Ubuntu:
  Fix Released
Status in fonts-noto-cjk source package in Bionic:
  Fix Released
Status in language-selector source package in Bionic:
  Fix Released
Status in fonts-noto-cjk source package in Disco:
  Fix Released
Status in language-selector source package in Disco:
  Fix Released
Status in fonts-noto-cjk package in Debian:
  New

Bug description:
  [Impact]

  Due to Japan's new era, a Unicode character has been introduced which
  represents the era name (Reiwa) as one single character. The version
  of fonts-noto-cjk in the stable releases does not support the new
  character, which is what motivates a backport of the eoan fonts-noto-
  cjk version. The proposed SRU is in line with the meta bug #1828884.

  This means an upgrade of Noto Sans CJK from version 1.004 to 2.001,
  and it will bring a few other changes in the bargain. Most notably a
  new set of Hong Kong fonts has been added to the previous ones
  (simplified and traditional Chinese, Japanese, and Korean). Attached
  to this bug report please see the file noto-sans-cjk-news.txt with
  upstream's detailing of the changes.

  [Test Case]

  Install from {bionic,disco}-proposed:

  - fonts-noto-cjk
  - fonts-noto-cjk-extra
  - language-selector-common
  - language-selector-gnome

  1. The Reiwa glyph
  --------------------------
  Visit http://people.ubuntu.com/~gunnarhj/square-era-name-reiwa.html
  and find that a proper Japanese character, and not a tofu, is shown.

  2. Presence and configuration of HK fonts
  -----------------------------------------
  (This also bears on the language-selector changes.)

  * Install the Hong Kong locale:

    sudo locale-gen zh_HK.UTF-8

  * Run this command:

    LC_CTYPE=zh_HK.UTF-8 fc-match

    and find that it returns:

    NotoSansCJK-Regular.ttc: "Noto Sans CJK HK" "Regular"

  3. General use
  --------------
  Browse some web sites with Chinese, Japanese or Korean contents and
  confirm that the upgrade does not cause any font rendering issues.

  [Regression Potential]

  This somewhat aggressive SRU proposal is based on trust in Google and
  Adobe as solid upstream providers of these fonts. Version 2.000 (which
  includes most of the changes) was released in November 2018, while
  version 2.001 (with the Reiwa glyph) was released in April 2019.
  Serious problems should have been known by now. The upstream bug
  tracker gives no cause for concern:

  https://github.com/googlefonts/noto-cjk/issues

  It may be worth mentioning that the fonts are provided as OTC files,
  and we don't compile those files ourselves. Hence just patching the
  new glyph would not be a practicable option.

  It would be easy to reverse this upgrade, if regressions would be
  reported. Basically we are talking about 7 files on the file system.

  [Other Info re. eoan]

  Since Debian hasn't packaged this yet, we have created a modified
  .orig.tar.xz file where 7 .ttc files (plus NEWS and HISTORY) differ
  from version 1:20181130+repack1-1~exp1, i.e. the latest Debian upload.

  There is no other Ubuntu/Debian delta, so as soon as Debian has
  catched up, it will be fine to start syncing again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-noto-cjk/+bug/1834406/+subscriptions



More information about the foundations-bugs mailing list