Thanks for your attempt to fix it. Haven't tried the new patch yet, but
before I saw it, I created a new PPA for trying the Arch Linux way: A
possible upgrade to fc 2.11.94:

https://launchpad.net/~gunnarhj/+archive/ubuntu/fontconfig-test2

Much better result. :) (The below is without the influence of the
language-selector .conf files.)

$ fc-match -V
fontconfig version 2.11.1
$ fc-match -a | grep 'Noto Sans CJK SC'
NotoSansCJK.ttc: "Noto Sans CJK SC" "DemiLight"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Regular"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Medium"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Thin"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Light"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Bold"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Black"
$ fc-match -V
fontconfig version 2.11.94
$ fc-match -a | grep 'Noto Sans CJK SC'
NotoSansCJK.ttc: "Noto Sans CJK SC" "Regular"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Medium"
NotoSansCJK.ttc: "Noto Sans CJK SC" "DemiLight"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Light"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Thin"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Bold"
NotoSansCJK.ttc: "Noto Sans CJK SC" "Black"

I can't tell if it would be possible to have this accepted for 16.04. It
would be very interesting to know if fc 2.11.94 also fixes the Firefox
issue, which has been reported at bug #1468027 (see my latest comment
there).

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

Title:
  [Resolved Upstream] Demilight (OS/2 weight=350) confuses fontconfig

Status in Fontconfig:
  Fix Released
Status in fontconfig package in Ubuntu:
  New
Status in fontconfig package in Arch Linux:
  New

Bug description:
  See https://bugs.freedesktop.org/show_bug.cgi?id=81453 and bug
  1468027.

  Fontconfig lacks support for many OpenType/TrueType OS/2 font weight
  values. This causes a bunch of problems, like mixing up Demilight
  (weight=350) and Regular (weight=400).

  Although it's possible to write (dirty?) hacks for deb-packed fonts,
  this still causes problems for otherwise sourced fonts.

  Archlinux: https://bugs.archlinux.org/task/48550 (fix released)

To manage notifications about this bug go to:
https://bugs.launchpad.net/fontconfig/+bug/1556457/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to