dumol / PixelPerfect

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

WebKitGTK only matches first option in a font stack. #3

Open dumol opened 3 years ago

dumol commented 3 years ago

When the first option in a font stack is missing, WebKitGTK uses the default Sans alias instead of trying to match the next option.

E.g. on GitHub, the font stack for code snippets is "SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace". If you don't have a match for "SFMono-Regular", WebKitGTK uses the default Sans font, instead of trying to match "Consolas", then "Liberation Mono", etc.