help3xsl/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e36e33937f9cda7fde9ab56f9eb25f6f549700c7 Author: Kevin Suo <[email protected]> AuthorDate: Mon May 31 23:34:25 2021 +0800 Commit: Olivier Hallot <[email protected]> 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 <[email protected]> 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); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
