From c1d3cc88f66a861ceb1f2ad766fb96c65e5b02eb Mon Sep 17 00:00:00 2001 From: "Mathieu (mano)" Date: Fri, 25 Nov 2022 10:07:08 +0000 Subject: [PATCH] [FIX] web: fixing font weight on fedora This commit replaces Liberation Sans for Noto Sans in the default system font stack as Liberation doesn't support font-weight: 500 and had a fallback at 400. Liberation Sans was the fallback font on Fedora Linux, this commit fixes it by setting Noto Sans (variable font) as the fallback font for Fedora. task-3076171 closes odoo/odoo#106525 Signed-off-by: Aaron Bohy (aab) --- addons/web/static/src/scss/primary_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/scss/primary_variables.scss b/addons/web/static/src/scss/primary_variables.scss index 9fe7392ad85..afad06533a7 100644 --- a/addons/web/static/src/scss/primary_variables.scss +++ b/addons/web/static/src/scss/primary_variables.scss @@ -17,7 +17,7 @@ $o-line-height-base: 1.5 !default; // This is BS default // Odoo font for example). Adding unicode support is not done directly here as // this font can be used by the website where the unicode support is already // automatically added. -$o-system-fonts: (-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji") !default; +$o-system-fonts: (-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji") !default; // Colors // This is BS default