libreoffice: remove noto-sans font workaround

Co-authored-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Mitchell Skaggs
2026-02-27 10:16:53 -06:00
co-authored by Marcin Serwin
parent 993c2367c4
commit b097075bf2
@@ -186,15 +186,6 @@ let
optionalString
;
notoSubset =
suffixes:
runCommand "noto-fonts-subset" { } ''
mkdir -p "$out/share/fonts/noto/"
${concatMapStrings (x: ''
cp "${noto-fonts}/share/fonts/noto/NotoSans${x}["*.[ot]tf "$out/share/fonts/noto/"
'') suffixes}
'';
fontsConf = makeFontsConf {
fontDirectories = [
amiri
@@ -207,9 +198,8 @@ let
liberation_ttf_v2
libertine
linux-libertine-g
# Font priority issues in some tests in Still
noto-fonts-lgc-plus
(if variant == "fresh" then noto-fonts else (notoSubset [ "Arabic" ]))
noto-fonts
noto-fonts-cjk-sans
];
};