touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #07067
[Bug 1352142] Re: Doesn't load Japanese font on Ubuntu Touch
Sorry for missing version info. Above result on r157.
I updated to r169, but not fixed yet.
$ sudo lsof -p `pidof unity8` | grep font
unity8 2616 phablet mem REG 7,0 4343844 83780 /usr/share/fonts/truetype/nanum/NanumGothic.ttf
unity8 2616 phablet mem REG 7,0 415552 83818 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
unity8 2616 phablet mem REG 7,0 333616 83809 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
unity8 2616 phablet mem REG 7,0 5177387 83822 /usr/share/fonts/truetype/wqy/wqy-microhei.ttc
unity8 2616 phablet mem REG 7,0 353824 83820 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
unity8 2616 phablet mem REG 7,0 161680 41697 /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1.8.0
NanumGothic.ttf is Korean font. Why is it loaded?
Unity8 maily uses MicroHei and in some parts uses NanumGothic.ttf. It
seems that does not use Japanese font.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1352142
Title:
Doesn't load Japanese font on Ubuntu Touch
Status in “unity8” package in Ubuntu:
New
Bug description:
Unity8 on Ubuntu Touch doesn't load Japanese font in Japanese
environment.
How to reproduce:
1. Install Ubuntu Touch
2. Set environment to Japanese at first boot
3. Reboot system (option)
4. Check whether a glyph come from Japanese font
Expected result:
Use Japanese gothic font (Droid Sans Japanese), and no Mojibake.
Actual result:
Use "AR PL Ukai CN" (Chinese serif font), and some glyphs are missing.
Please refer attached image.
Other information from phablet-shell:
$ strings /proc/`pidof unity8`/environ | grep 'LANG\|LC'
LANGUAGE=ja
LC_TIME=ja_JP.UTF-8
LC_MONETARY=ja_JP.UTF-8
GDM_LANG=ja
LC_ADDRESS=ja_JP.UTF-8
LANG=ja_JP.UTF-8
LC_TELEPHONE=ja_JP.UTF-8
LC_NAME=ja_JP.UTF-8
LC_MEASUREMENT=ja_JP.UTF-8
LC_IDENTIFICATION=ja_JP.UTF-8
LC_NUMERIC=ja_JP.UTF-8
LC_PAPER=ja_JP.UTF-8
=> It seems that LANG env is vallid.
For "音" (U+97F3), the glyph is visible in unity8, but use "AR PL UKai CN".
Pleace replace '_' to space.
$ fc-match 'sans:charset=!!(Dl_______!!rW+'
DroidSansJapanese.ttf: "Droid Sans" "Regular"
$ fc-match 'sans:lang=ja:charset=!!(Dl_______!!rW+'
DroidSansJapanese.ttf: "Droid Sans" "Regular"
$ fc-match 'sans:lang=en:charset=!!(Dl_______!!rW+'
ukai.ttc: "AR PL UKai CN" "Book"
=> Both of ukai and droid sans have U+97F3,
all results of default lang (ie. LANG=ja), lang=ja, lang=en is valid.
For "楽" (U+697D), the glyph is invisible in unity8.
Pleace replace '_' to space.
$ fc-match 'sans:charset=!!%g9___/?6HG____'
DroidSansJapanese.ttf: "Droid Sans" "Regular"
$ fc-match 'sans:lang=ja:charset=!!%g9___/?6HG____'
DroidSansJapanese.ttf: "Droid Sans" "Regular"
$ fc-match 'sans:lang=en:charset=!!%g9___/?6HG____'
DroidSansJapanese.ttf: "Droid Sans" "Regular"
=> Because ukai doesn't have U+697D,
all results of default lang (ie. LANG=ja), lang=ja, lang=en is valid.
$ sudo lsof -p `pidof unity8` | grep font
unity8 2592 phablet mem REG 7,0 17151049 113683 /usr/share/fonts/truetype/arphic/ukai.ttc
unity8 2592 phablet mem REG 7,0 415552 113610 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
unity8 2592 phablet mem REG 7,0 333616 113622 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
unity8 2592 phablet mem REG 7,0 353824 113613 /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
=> Why loads ukai.ttc instead of DroidSansJapanese.ttf?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1352142/+subscriptions
References