Support Japanese new era "令和 (Reiwa)"

Bug #1838345 reported by Mathieu Trudel-Lapierre
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Takao Fonts
Triaged
Wishlist
Unassigned
fonts-takao (Ubuntu)
Triaged
Wishlist
Unassigned
Xenial
Triaged
Wishlist
Unassigned

Bug Description

[Background]
Many packages are affected by the requirement to support the new era "Reiwa" (令和)

[Impact]
Users who run Ubuntu in Japanese.

[Test cases]

== Character maps / font support ==

1) Search for character "SQUARE ERA NAME"
2) Verify that the results include at least "SQUARE ERA NAME HEISEI" and "SQUARE ERA NAME REIWA" (there should also be Syouwa, Taisyou and Meizi), and that the glyphs are readable:

 - SQUARE ERA NAME HEISEI: ㍻
 - SQUARE ERA NAME REIWA: 令和 (in a single glyph)

Display of the Reiwa square glyph is font-specific; it may show simply as a empty square or a square with hex characters. If that is the case, the unicode data supports the new character, but the selected font does not include the new glyph.

== Typing / input methods ==

1) Type in 'heisei'
2) Verify that the input method in use gives you an option "平成", and optionally also the square era glyph.
3) Type in 'reiwa'
4) Verify that the input method in use gives you an option that includes "令和", and possibly also the square era glyph (if supported for Heisei)

5) Type in the following strings, and verify that the options are provided in the input method:
    * "れいわ"(reiwa) => "令和"
    * "れいわ"(reiwa) => "㋿"
    * "2018ねん"(2018nenn) => "平成三十年"
    * "2019ねん"(2019nenn) => "平成三十一年"
    * "2019ねん"(2019nenn) => "令和元年"
    * "2020ねん"(2020nenn) => "令和二年"

[Regression potential]
This is a potentially large change as it impacts font display, character sets as well as date conversions. As such, extreme care should be taken to ensure that regressions are avoided, such that dates previous to May 1, 2019 continue to display as before, and dates onward are displayed with the new era symbols. The included test cases account for verifying the continued behavior or previous dates.

Changed in fonts-takao (Ubuntu):
importance: Undecided → Wishlist
Changed in fonts-takao (Ubuntu Xenial):
importance: Undecided → Wishlist
Changed in fonts-takao (Ubuntu):
status: New → Triaged
Changed in fonts-takao (Ubuntu Xenial):
status: New → Triaged
Revision history for this message
Nobuto Murata (nobuto) wrote :

Indeed, the upstream of Takao fonts as IPA fonts has a new release, so we need to release a new one too.

https://ipafont.ipa.go.jp/
> 2019-04-26
>
> IPAex Fonts (Ver.004.01) were released. Detail information is shown in release notes.
>
> Note: SQUARE ERA NAME REIWA(U+32FF) has been added. You may need to update the dictionary for your input-method system to enter this character by Kana input. Please refer instruction of your system for that.
> New version of IPAmjMincho with SQUARE ERA NAME REIWA will be available by the end of May.

Changed in takao-fonts:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.