[Bug 1823461] Re: Font hinting lost on chrome like browser
Gunnar Hjalmarsson
1823461 at bugs.launchpad.net
Wed Apr 10 14:16:57 UTC 2019
I installed language-selector-[gnome,common] 0.188.2 from bionic-
proposed and verified the test case.
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-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/1823461
Title:
Font hinting lost on chrome like browser
Status in language-selector package in Ubuntu:
Fix Released
Status in language-selector source package in Bionic:
Fix Committed
Bug description:
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1823461/+subscriptions
More information about the foundations-bugs
mailing list