dumol / PixelPerfect

Pixel-perfect font rendering under Wayland and X.org
MIT License
16 stars 1 forks source link

Chrome and Firefox ignore embolden assignment. #4

Open dumol opened 3 years ago

dumol commented 3 years ago

"Varela Round" is closer to "Arial Rounded MT Bold" if embolden is used, but this trick only works on WebKitGTK:

    <match target="pattern">
        <test qual="any" name="family">
            <string>Arial Rounded MT Bold</string>
        </test>
        <edit name="family" mode="assign" binding="strong">
            <string>Varela Round</string>
        </edit>
        <edit name="embolden" mode="assign">
            <bool>true</bool>
        </edit>
    </match>