mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Removed fonts dependencies (now using Qt font as default) and removed some complex settings migration code.
This commit is contained in:
@@ -113,15 +113,6 @@ Singleton {
|
||||
}
|
||||
|
||||
function finalizeFontLoading() {
|
||||
// Add fallbacks if needed (models are already sorted)
|
||||
if (monospaceFonts.count === 0) {
|
||||
addFallbackFonts(monospaceFonts, ["DejaVu Sans Mono"]);
|
||||
}
|
||||
|
||||
if (displayFonts.count === 0) {
|
||||
addFallbackFonts(displayFonts, ["Inter", "Roboto", "DejaVu Sans"]);
|
||||
}
|
||||
|
||||
fontsLoaded = true;
|
||||
isLoading = false;
|
||||
Logger.d("Font", "Loaded", availableFonts.count, "fonts:", monospaceFonts.count, "monospace,", displayFonts.count, "display");
|
||||
@@ -168,12 +159,6 @@ Singleton {
|
||||
result = true;
|
||||
}
|
||||
|
||||
// Essential fallback fonts only
|
||||
var essentialFonts = ["Inter", "Roboto", "DejaVu Sans"];
|
||||
if (essentialFonts.indexOf(fontName) !== -1) {
|
||||
result = true;
|
||||
}
|
||||
|
||||
// Cache the result
|
||||
if (!fontCache[fontName]) {
|
||||
fontCache[fontName] = {};
|
||||
|
||||
Reference in New Issue
Block a user