Ladybird: Use fontconfig to choose generic fonts on non-Apple systems

If we get a suggestion from fontconfig, we try those fonts first, before
falling back on the hard coded list of known suitable fonts for each
generic family.
This commit is contained in:
Andreas Kling
2024-06-07 19:50:00 +02:00
committed by Andreas Kling
parent 0c683af57e
commit 2f68e36137
5 changed files with 123 additions and 5 deletions

View File

@@ -2,7 +2,11 @@
"builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94",
"dependencies": [
"sqlite3",
"woff2"
"woff2",
{
"name": "fontconfig",
"platform": "linux | freebsd | openbsd"
}
],
"overrides": [
{
@@ -12,6 +16,10 @@
{
"name": "woff2",
"version": "1.0.2#4"
},
{
"name": "fontconfig",
"version": "2.14.2#1"
}
]
}