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
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
|
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
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
Comment by
Mingye Wang (arthur2e5) - Friday,
23 March 2018, 20:44 GMT
Comment by
Mingye Wang (arthur2e5) - Friday,
23 March 2018, 21:08 GMT
Could you provide such files?
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.
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.