desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #105994
[Bug 1430339] Re: fc-match Ryumin should return Mincho(serif) font in ja locale
Nobuto, thank you very much for your work on making Ubuntu support
Japanese fonts properly. I can always learn so much in this respect
from you and share your passion for visual aesthetics here.
As you may know, I usually remain with the LTS releases and only run the
development release from time to time. As such, I hope the fix for this
ticket will be backported to trusty as well. Furthermore, my system is
mainly English-based. I hope you won't mind me adding my own
experiences here.
I can basically confirm your findings, except that my US-locale returns
a different font.
$ env LC_ALL=en_US.UTF-8 fc-match Ryumin
ipamp.ttf: "IPAPMincho" "Regular"
$ env LC_ALL=ja_JP.UTF-8 fc-match Ryumin
fonts-japanese-gothic.ttf: "Takao Pゴシック" "Regular"
I tried the test PDF in different viewers and noticed there were some
alignment issues in the viewer built into Firefox (please refer to my
screenshot). I suspect that is another, separate issue?
One of the things I sometimes notice is that Chinese at times seems to
have precedence over Japanese. For someone like me, that is
unfortunate. Are you aware of a list of known issues or some website to
check if one's configuration has any errors? This area of Ubuntu seems
to change from release to release so it is hard to keep up (with a lot
of improvement being made, at least that has been my experience). I do
not know as much as you do, so at best, I will notice the effects but I
would be utterly unable to dig into the causes. That's why your work is
so much appreciated.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fonts-takao in Ubuntu.
https://bugs.launchpad.net/bugs/1430339
Title:
fc-match Ryumin should return Mincho(serif) font in ja locale
Status in fonts-takao package in Ubuntu:
Confirmed
Bug description:
Ryumin and Gothic-BBB are generic font names for serif/sans-serif like
Arial/Times new roman. fonts-takao-mincho has a rule[1] to offer
substitute for Ryumin, however `fc-match Ryumin` does not return
fonts-takao-mincho(serif), it returns fonts-takao-gothic(sans-serif)
instead.
Expected result:
$ fc-match Ryumin
fonts-japanese-mincho.ttf: "TakaoPMincho" "Regular"
Actual result:
$ fc-match Ryumin
fonts-japanese-gothic.ttf: "Takao Pゴシック" "Regular"
[1]
/etc/fonts/conf.d/65-fonts-takao-mincho.conf
21 <match target="pattern">
22 <test qual="any" name="family">
23 <string>Ryumin</string>
24 </test>
25 <edit name="family" mode="prepend">
26 <string>Takao P明朝</string>
27 </edit>
28 </match>
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: fonts-takao-mincho 003.02.01-9ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 10 22:41:44 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-28 (9 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150228)
PackageArchitecture: all
SourcePackage: fonts-takao
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-takao/+bug/1430339/+subscriptions
References