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



--- Comment #9 from Akira TAGOH <[email protected]> ---
Thank you for updating but need one more update. I should described an example
for correction for config or good to take a look at
https://pagure.io/fonts-rpm-macros/blob/main/f/templates/fontconfig/l10n-font-template.conf

The expected behavior here would be to "add Ektype Baloo * as a substitute of
sans-serif for lang xx" (in other words, if lang is xx AND family is
sans-serif, and then add Ektype Baloo * in prior to the matched family) though,
<test name="lang" .../> and then <edit .../> means "add Ektype Baloo * for lang
xx anyway". also <test name="family"><string>sans-serif</string></test> and
then <edit .../> means "add Ektype Baloo * as a substitute of sans-serif
anyway".  So you are missing "test sans-serif" in each <match>es for lang and
no need to have "test sans-serif" only.

So you may want to update like:

<match>
  <test name="lang" compare="contains">
    <string>mr</string>
  </test>
  <test name="family">
    <string>sans-serif</string>
  </test>
  <edit name="family" mode="prepend">
    <string>Ektype Baloo 2</string>
  </edit>
</match>

and do similar for other langs and 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=2368535

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

-- 
_______________________________________________
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