2019-04-06 14:14:43 |
Mohammad Anwar Shah |
bug |
|
|
added bug |
2019-04-06 14:14:43 |
Mohammad Anwar Shah |
attachment added |
|
problem https://bugs.launchpad.net/bugs/1823461/+attachment/5253394/+files/problem.png |
|
2019-04-06 14:15:29 |
Mohammad Anwar Shah |
attachment added |
|
problem.png https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1823461/+attachment/5253395/+files/problem.png |
|
2019-04-06 14:46:49 |
Launchpad Janitor |
fontconfig (Ubuntu): status |
New |
Confirmed |
|
2019-04-06 15:19:06 |
Removed by request |
bug |
|
|
added subscriber Fabby |
2019-04-06 15:36:03 |
Mohammad Anwar Shah |
attachment added |
|
fixed https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1823461/+attachment/5253447/+files/fixed.png |
|
2019-04-06 21:03:42 |
Gunnar Hjalmarsson |
bug |
|
|
added subscriber Mitsuya Shibata |
2019-04-06 21:09:01 |
Gunnar Hjalmarsson |
attachment added |
|
69-language-selector-ja.conf https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1823461/+attachment/5253541/+files/69-language-selector-ja.conf |
|
2019-04-06 21:09:56 |
Gunnar Hjalmarsson |
affects |
fontconfig (Ubuntu) |
language-selector (Ubuntu) |
|
2019-04-06 21:09:56 |
Gunnar Hjalmarsson |
language-selector (Ubuntu): importance |
Undecided |
Medium |
|
2019-04-07 12:26:18 |
Mitsuya Shibata |
attachment added |
|
compare.png https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1823461/+attachment/5253679/+files/compare.png |
|
2019-04-07 14:22:00 |
Gunnar Hjalmarsson |
description |
Since Ubuntu 18.04 (maybe from 17.10, I don't remember now), Chrome browsers are horrible to use. Font hintings are not working as expected. There were always some hairy things above the fonts which caused me to abandon Ubuntu. Unfortunately, this bug affected all other Ubuntu derivatives as well. I was forced to use Debian and Manjaro, because nowhere in the Internet I found a solution.
I've tested Ubuntu 19.04 again. I removed all of the *.conf file in `/etc/fonts/conf.d` dir and copied Manjaro's configs. The fonts are okay. Further investigating revealed that the culprit was symlink to this file `/etc/fonts/conf.avail/69-language-selector-ja.conf`
I opened it and found that on Line no 8, it has this
<test qual="all" name="family" compare="contains">
which should instead be
<test qual="all" name="lang" compare="contains">
since `JP` is language identifier, not family.
I manually fixed the file and all is well!
I'm attaching two screenshot of chrome browser. Inspect the "Autofill" and "Appearance" word of the chrome setting page screenshot. |
[Impact]
The file for configuring Japanese rendering with Noto fonts does not refer to the font family with sufficient precision, so it may affect rendering with other fonts unintentionally. The proposed upload fixes the issue.
[Test Case]
The real tests have been reported in comment #6 and #7 of this bug report.
To verify that the modified file is properly installed:
1. Install language-selector-common and language-selector-gnome from
bionic-proposed
2. Run this command:
cat /etc/fonts/conf.avail/69-language-selector-ja.conf | grep 'Noto Sans CJK JP'
(should output the line "<string>Noto Sans CJK JP</string>")
[Regression Potential]
That config file was added specifically for rendering Japanese with Noto fonts, and the modified file has been confirmed by the original author. Hence the regression risk should be low.
[Original description]
Since Ubuntu 18.04 (maybe from 17.10, I don't remember now), Chrome browsers are horrible to use. Font hintings are not working as expected. There were always some hairy things above the fonts which caused me to abandon Ubuntu. Unfortunately, this bug affected all other Ubuntu derivatives as well. I was forced to use Debian and Manjaro, because nowhere in the Internet I found a solution.
I've tested Ubuntu 19.04 again. I removed all of the *.conf file in `/etc/fonts/conf.d` dir and copied Manjaro's configs. The fonts are okay. Further investigating revealed that the culprit was symlink to this file `/etc/fonts/conf.avail/69-language-selector-ja.conf`
I opened it and found that on Line no 8, it has this
<test qual="all" name="family" compare="contains">
which should instead be
<test qual="all" name="lang" compare="contains">
since `JP` is language identifier, not family.
I manually fixed the file and all is well!
I'm attaching two screenshot of chrome browser. Inspect the "Autofill" and "Appearance" word of the chrome setting page screenshot. |
|
2019-04-07 14:22:30 |
Gunnar Hjalmarsson |
nominated for series |
|
Ubuntu Bionic |
|
2019-04-07 14:22:30 |
Gunnar Hjalmarsson |
bug task added |
|
language-selector (Ubuntu Bionic) |
|
2019-04-07 14:22:55 |
Gunnar Hjalmarsson |
language-selector (Ubuntu): status |
Confirmed |
Fix Committed |
|
2019-04-07 14:22:55 |
Gunnar Hjalmarsson |
language-selector (Ubuntu): assignee |
|
Gunnar Hjalmarsson (gunnarhj) |
|
2019-04-07 14:23:14 |
Gunnar Hjalmarsson |
language-selector (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2019-04-07 14:23:14 |
Gunnar Hjalmarsson |
language-selector (Ubuntu Bionic): status |
New |
In Progress |
|
2019-04-07 14:23:14 |
Gunnar Hjalmarsson |
language-selector (Ubuntu Bionic): assignee |
|
Gunnar Hjalmarsson (gunnarhj) |
|
2019-04-08 05:55:58 |
Launchpad Janitor |
language-selector (Ubuntu): status |
Fix Committed |
Fix Released |
|
2019-04-10 10:41:14 |
Robie Basak |
language-selector (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-04-10 10:41:17 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-04-10 10:41:19 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2019-04-10 10:41:21 |
Robie Basak |
tags |
|
verification-needed verification-needed-bionic |
|
2019-04-10 14:17:35 |
Gunnar Hjalmarsson |
tags |
verification-needed verification-needed-bionic |
verification-done verification-done-bionic |
|
2019-04-23 09:29:07 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-04-23 09:39:11 |
Launchpad Janitor |
language-selector (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|