home: fontconfig: fix emoji in gtk

This commit is contained in:
Guanran Wang 2024-01-15 16:30:43 +08:00
parent 095706efcd
commit d447d04981
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -19,14 +19,14 @@
Set DPI Set DPI
--> -->
<match target="font"> <match target="font">
<edit name="antialias" mode="assign"> <bool>true</bool></edit> <!-- <edit mode="assign" name="antialias"> <bool>true</bool></edit> --> <!-- breaks emoji in GTK, unsure why -->
<edit name="embeddedbitmap" mode="assign"> <bool>false</bool></edit> <edit mode="assign" name="embeddedbitmap"> <bool>false</bool></edit>
<edit name="autohint" mode="assign"> <bool>false</bool></edit> <edit mode="assign" name="autohint"> <bool>false</bool></edit>
<edit name="hinting" mode="assign"> <bool>true</bool></edit> <edit mode="assign" name="hinting"> <bool>true</bool></edit>
<edit name="hintstyle" mode="assign"> <const>hintslight</const></edit> <edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
<edit name="rgba" mode="assign"> <const>rgb</const></edit> <edit mode="assign" name="rgba"> <const>rgb</const></edit>
<edit name="lcdfilter" mode="assign"> <const>lcddefault</const></edit> <edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
<edit name="dpi" mode="assign"> <double>96</double></edit> <edit mode="assign" name="dpi"> <double>96</double></edit>
</match> </match>
<!-- Latin font --> <!-- Latin font -->