mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Prefer noto fonts.
This commit is contained in:
@@ -141,24 +141,15 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
|||||||
) {
|
) {
|
||||||
String? font;
|
String? font;
|
||||||
List<String>? fallback;
|
List<String>? fallback;
|
||||||
if (App.isWindows) {
|
if (App.isLinux || App.isWindows) {
|
||||||
font = 'Segoe UI';
|
|
||||||
fallback = [
|
|
||||||
'Segoe UI',
|
|
||||||
'Microsoft YaHei',
|
|
||||||
'PingFang SC',
|
|
||||||
'Noto Sans CJK',
|
|
||||||
'Arial',
|
|
||||||
'sans-serif'
|
|
||||||
];
|
|
||||||
}
|
|
||||||
if (App.isLinux) {
|
|
||||||
font = 'Noto Sans CJK';
|
font = 'Noto Sans CJK';
|
||||||
fallback = [
|
fallback = [
|
||||||
'Segoe UI',
|
'Segoe UI',
|
||||||
|
'Noto Sans SC',
|
||||||
|
'Noto Sans TC',
|
||||||
|
'Noto Sans',
|
||||||
'Microsoft YaHei',
|
'Microsoft YaHei',
|
||||||
'PingFang SC',
|
'PingFang SC',
|
||||||
'Noto Sans CJK',
|
|
||||||
'Arial',
|
'Arial',
|
||||||
'sans-serif'
|
'sans-serif'
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user