[Bug 1823461] Re: Font hinting lost on chrome like browser

Gunnar Hjalmarsson 1823461 at bugs.launchpad.net
Sat Apr 6 21:09:01 UTC 2019


Thanks for your report and for your efforts to nail the problem.
Unfortunately the solution you propose would not be a proper fix. "JP"
is not a "lang" thing, the purpose is to match part of the family name.

Nevertheless, there seems to be something with that configuration file.
The similar bug #1787215 was reported a few months ago.

Attached please find an idea of a modified file. Would be great if you
could confirm that it addresses your issue.

And @Mitsuya, can you please confirm that the modified file works as the
current one when rendering Japanese.

** Attachment added: "69-language-selector-ja.conf"
   https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1823461/+attachment/5253541/+files/69-language-selector-ja.conf

** Package changed: fontconfig (Ubuntu) => language-selector (Ubuntu)

** Changed in: language-selector (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/1823461

Title:
  Font hinting lost on chrome like browser

Status in language-selector package in Ubuntu:
  Confirmed

Bug 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