[Fontconfig] fonts.conf: specify different pixelsize for one of the preferred fonts of an alias

q3cpma at posteo.net q3cpma at posteo.net
Sat Sep 22 11:04:22 UTC 2018


I'm trying to basically use "family1:pixelsize=16" with "family2:pixelsize=14"
as an alias for "myalias", but I didn't manage to do so. I'm stuck with
something like:

<match target="pattern">
  <test qual="any" name="family">
  <edit name="family" mode="prepend">
  <edit name="family" mode="prepend">
  <edit name="pixelsize" mode="prepend">

currently, but I can't figure how to edit the pixelsize only for the second
font only. Any idea?

More information about the Fontconfig mailing list