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:
parent
730deada8c
commit
454923709a
|
@ -42,9 +42,9 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<match target="font">
|
<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">
|
<test name="weight" compare="less_eq">
|
||||||
<const>regular</const>
|
<const>medium</const>
|
||||||
</test>
|
</test>
|
||||||
<!-- check to see if the pattern requests bold -->
|
<!-- check to see if the pattern requests bold -->
|
||||||
<test target="pattern" name="weight" compare="more_eq">
|
<test target="pattern" name="weight" compare="more_eq">
|
||||||
|
|
Loading…
Reference in New Issue