Use 'outline' instead of 'scalable' for bitmaps

scalable can be true if bitmap fonts have color.
This isn't expected behavior.

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/365
This commit is contained in:
Akira TAGOH 2023-06-12 16:54:24 +09:00
parent fb726e86bd
commit 7aa647eb9e
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<selectfont> <selectfont>
<rejectfont> <rejectfont>
<pattern> <pattern>
<patelt name="scalable"><bool>false</bool></patelt> <patelt name="outline"><bool>false</bool></patelt>
</pattern> </pattern>
</rejectfont> </rejectfont>
</selectfont> </selectfont>

View File

@ -6,7 +6,7 @@
<selectfont> <selectfont>
<acceptfont> <acceptfont>
<pattern> <pattern>
<patelt name="scalable"><bool>false</bool></patelt> <patelt name="outline"><bool>false</bool></patelt>
</pattern> </pattern>
</acceptfont> </acceptfont>
</selectfont> </selectfont>