https://bugzilla.redhat.com/show_bug.cgi?id=2351347



--- Comment #13 from Akira TAGOH <[email protected]> ---
still missing an action for:

>    Font packages SHOULD include the fontconfig files, that define the 
> selection and substitution rules applying to their font files,

You need to write your own fontconfig config files for adwaita-sans-fonts and
adwaita-mono-fonts according to the above template I mentioned. I assume that
this is used for GNOME only and changes will be done by
gsettings-desktop-schemas. something what you need would be:

59-adwaita-sans-fonts.conf:
--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Adwaita Sans</family>
    </prefer>
  </alias>
  <alias>
    <family>Adwaita Sans</family>
    <default>
      <family>sans-serif</family>
    </default>
  </alias>
</fontconfig>
--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8

and

59-adwaita-mono-fonts.conf:
--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Adwaita Mono</family>
    </prefer>
  </alias>
  <alias>
    <family>Adwaita Mono</family>
    <default>
      <family>monospace</family>
    </default>
  </alias>
</fontconfig>
--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8--->8

The priority 59 should basically works for the desktop specific fonts since
they have own config to make it default.
You could also add similar for system-ui in adwaita-sans-fonts.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2351347

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202351347%23c13

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to