font: fontconfig always prefer monospace in pattern

Fixes #1984
This commit is contained in:
Mitchell Hashimoto
2024-07-21 09:48:07 -07:00
parent e6a4bb99f7
commit 4b5ad77b70
2 changed files with 17 additions and 1 deletions

View File

@@ -23,6 +23,13 @@ pub const Slant = enum(c_uint) {
oblique = c.FC_SLANT_OBLIQUE,
};
pub const Spacing = enum(c_uint) {
proportional = c.FC_PROPORTIONAL,
dual = c.FC_DUAL,
mono = c.FC_MONO,
charcell = c.FC_CHARCELL,
};
pub const Property = enum {
family,
style,