From e36e33937f9cda7fde9ab56f9eb25f6f549700c7 Mon Sep 17 00:00:00 2001 From: Kevin Suo Date: Mon, 31 May 2021 23:34:25 +0800 Subject: tdf#142531: fix help css for Simplified Chinese display on Linux The font "system-ui" may cause trouble in some system, although it may look good in several systems. See e.g. https://infinnie.github.io/blog/2017/systemui.html. This change removes the "system-ui" font from the list, still put "Segoe UI" before any others, but moves "sans-serif" forward so that it falls back to the UI font in most linux distros. Tested on Win10 and this does not impact the display for English or Chinese, but really improves a lot on Linux (Fedora 32 for me). Change-Id: I1cba731cb846d1dc8c708b12510167c48de539e5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116487 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help3xsl/default.css b/help3xsl/default.css index 29cb0f0105..2eff6c39ff 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -40,7 +40,7 @@ h6, .listitem, .listitemintable, .tablecontent { - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom; + font-family: -apple-system, "Segoe UI", sans-serif, Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom; } .input { background-color: rgba(0,0,0,0.04); -- cgit