From b097075bf24c9c9d3d2a0f6978effd7f150d2a89 Mon Sep 17 00:00:00 2001 From: Mitchell Skaggs Date: Fri, 27 Feb 2026 05:16:23 -0600 Subject: [PATCH] libreoffice: remove `noto-sans` font workaround Co-authored-by: Marcin Serwin --- pkgs/applications/office/libreoffice/default.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix index 49fc1a56eb19..a43d10c6318b 100644 --- a/pkgs/applications/office/libreoffice/default.nix +++ b/pkgs/applications/office/libreoffice/default.nix @@ -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 ]; };