Переглянути джерело

Use Segoe UI for Latin characters before falling back to YaHei (#3616)

* Use Segoe UI for Latin characters before falling back to YaHei

This fixes issues with character rendering on hidpi displays and other
aliasing/hinting issues, as Segoe UI has been painstakingly hinted by
typographers for Microsoft while YaHei has not. See #3237 for more
details.

Closes #3237

* Include transformed LESS -> CSS in commit
tags/v1.5.0-dev
Mahmoud Al-Qudsi 6 роки тому
джерело
коміт
19d5192e8c
2 змінених файлів з 2 додано та 2 видалено
  1. 1
    1
      public/css/index.css
  2. 1
    1
      public/less/_base.less

+ 1
- 1
public/css/index.css
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1
- 1
public/less/_base.less Переглянути файл

@@ -1,7 +1,7 @@
@footer-margin: 40px;

body {
font-family: "Lato", "Microsoft YaHei", Arial, Helvetica, sans-serif !important;
font-family: "Lato", "Segoe UI", "Microsoft YaHei", Arial, Helvetica, sans-serif !important;
background-color: #fff;
overflow-y: scroll;
-webkit-font-smoothing: antialiased;

Завантаження…
Відмінити
Зберегти