[Libreoffice-commits] help.git: help3xsl/default.css

Kevin Suo (via logerrit) logerrit at kemper.freedesktop.org
Mon May 31 16:18:59 UTC 2021


 help3xsl/default.css |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e36e33937f9cda7fde9ab56f9eb25f6f549700c7
Author:     Kevin Suo <suokunlong at 126.com>
AuthorDate: Mon May 31 23:34:25 2021 +0800
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Mon May 31 18:18:39 2021 +0200

    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 <olivier.hallot at libreoffice.org>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 29cb0f010..2eff6c39f 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);


More information about the Libreoffice-commits mailing list