[FFe] Demilight (OS/2 weight=350) confuses fontconfig
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fontconfig |
Fix Released
|
Medium
|
|||
fontconfig (Debian) |
Fix Released
|
Unknown
|
|||
fontconfig (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
[FFe request comment]
Upgrading to fontconfig 2.11.94 is proposed as a fix of this bug, including a fix of certain font weight issues due to the switch from fonts-droid to fonts-noto-cjk for Chinese (discussed at bug #1468027) where we haven't found any way to work around the problem.
The proposed upload is available in this PPA:
https:/
Changes are listed in the attachment upstream_
[Original description including updates]
See https:/
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:/
summary: |
- [Upstream] Demilight (OS/2 weight=350) confuses fontconfig + [Resolved Upstream] Demilight (OS/2 weight=350) confuses fontconfig |
description: | updated |
Changed in fontconfig (Ubuntu): | |
importance: | Undecided → High |
Changed in fontconfig: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
description: | updated |
description: | updated |
description: | updated |
summary: |
- [Resolved Upstream] Demilight (OS/2 weight=350) confuses fontconfig + [FFe] Demilight (OS/2 weight=350) confuses fontconfig |
Changed in fontconfig (Ubuntu): | |
status: | New → Fix Committed |
no longer affects: | fontconfig (Arch Linux) |
Changed in fontconfig (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in fontconfig (Debian): | |
status: | Unknown → New |
Changed in fontconfig (Debian): | |
status: | New → Fix Released |
Recently Adobe & Google released a open-source pan-CJK font, Source Han Sans from Adobe or Noto Sans CJK from Google.
This font family features 7 font weights: ExtraLight, Light, Normal, Regular, Meidum, Bold, Heavy and their os2 weight are: 100, 300, 350, 400, 500, 700, 900 respectively.
However, in fontconfig, os2 weight class 350 and 400 both maps to weight 80 and I think this makes fontconfig or pango confuse about how to choose the default font.
In particular in the GktFontChooser user can't choose one of these fonts. To fix this we probably also have to fix Pango.
This issue is also reported to the source-han-sans project: https:/ /github. com/adobe- fonts/source- han-sans/ issues/ 5