FS#53565 - [noto-fonts-cjk] Add fontconfig files for adjusting priority

Attached to Project: Arch Linux
Opened by Tatsuyuki Ishi (ishitatsuyuki) - Tuesday, 04 April 2017, 23:57 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 17 July 2018, 17:59 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently there's no fontconfig files provided, and I don't have an easy way to set CJK Sans or Serif as the matching fallback.

There's no automagic here, and I'm seeing Sans CJK used instead of Serif CJK for a serif font requirement. This is because it's the only CJK font installed and Sans has alphabetical priority.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 17 July 2018, 17:59 GMT
Reason for closing:  Implemented
Additional comments about closing:  noto-fonts-cjk 20170601-2
Comment by Antonio Rojas (arojas) - Wednesday, 05 April 2017, 10:00 GMT
Could you provide such files?
Comment by Mingye Wang (arthur2e5) - Friday, 23 March 2018, 20:44 GMT
An example of those files can be seen here: https://github.com/AOSC-Dev/aosc-os-abbs/tree/3702d45/extra-fonts/noto-fonts/02-cjk/overrides/etc/fonts/conf.avail. You might want to use something other than a "prepend" though.

Comment by Mingye Wang (arthur2e5) - Friday, 23 March 2018, 21:08 GMT
Fontconfig has an old ticket about reading those information from font files themselves at https://bugs.freedesktop.org/show_bug.cgi?id=29497. A branch in the fd.o git repo (https://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=panose-sfamilyclass-support) adds this functionality; it seems to has been used in Fedora for quite some time. It might be merged in someday.

Loading...