Change the emboldening logic again

enable emboldening when request was >= bold and font was <= medium

https://bugs.freedesktop.org/show_bug.cgi?id=106460
This commit is contained in:
Akira TAGOH 2018-05-10 22:01:29 +09:00
parent 730deada8c
commit 454923709a
1 changed files with 2 additions and 2 deletions

View File

@ -42,9 +42,9 @@
-->
<match target="font">
<!-- check to see if the font is just regular -->
<!-- check to see if the weight in the font is less than medium which possibly need emboldening -->
<test name="weight" compare="less_eq">
<const>regular</const>
<const>medium</const>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" name="weight" compare="more_eq">