fix font setting, to use source han series
This commit is contained in:
parent
d0980e681c
commit
0c999875eb
3 changed files with 10 additions and 6 deletions
|
|
@ -16,8 +16,8 @@
|
||||||
name = "LXGW WenKai";
|
name = "LXGW WenKai";
|
||||||
};
|
};
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.source-sans;
|
package = pkgs.source-han-sans;
|
||||||
name = "Source Sans 3";
|
name = "Source Han Sans SC";
|
||||||
};
|
};
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.maple-mono.NF-CN;
|
package = pkgs.maple-mono.NF-CN;
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@
|
||||||
name = "LXGW WenKai";
|
name = "LXGW WenKai";
|
||||||
};
|
};
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.source-sans;
|
package = pkgs.source-han-sans;
|
||||||
name = " Serif Sans 3";
|
name = " Serif Han Sans SC";
|
||||||
};
|
};
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.maple-mono.NF-CN;
|
package = pkgs.maple-mono.NF-CN;
|
||||||
|
|
|
||||||
|
|
@ -46,17 +46,21 @@ in
|
||||||
lxgw-wenkai
|
lxgw-wenkai
|
||||||
source-sans
|
source-sans
|
||||||
source-serif
|
source-serif
|
||||||
|
source-han-serif
|
||||||
|
source-han-sans
|
||||||
];
|
];
|
||||||
fontconfig.defaultFonts = {
|
fontconfig.defaultFonts = {
|
||||||
serif = [
|
serif = [
|
||||||
"LXGW WenKai"
|
"LXGW WenKai"
|
||||||
"Source Serif 4"
|
"Source Han Serif SC"
|
||||||
"Noto Serif CJK SC"
|
"Noto Serif CJK SC"
|
||||||
|
"Source Serif 4"
|
||||||
"Noto Serif"
|
"Noto Serif"
|
||||||
];
|
];
|
||||||
sansSerif = [
|
sansSerif = [
|
||||||
"Source Sans 3"
|
"Source Han Sans SC"
|
||||||
"Noto Sans CJK SC"
|
"Noto Sans CJK SC"
|
||||||
|
"Source Sans 3"
|
||||||
"Noto Sans"
|
"Noto Sans"
|
||||||
];
|
];
|
||||||
monospace = [
|
monospace = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue