Update Noto Sans TC font

This commit is contained in:
Marvin Elsen 2024-09-20 20:09:06 +02:00
parent 1ee597f934
commit 3a159fba76
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2
4 changed files with 4 additions and 3 deletions

View File

@ -71,7 +71,8 @@ class WillowApplication : Application() {
private fun loadFonts() {
Font.loadFont(javaClass.getResourceAsStream("/fonts/inter.ttf"), FONT_SIZE)
Font.loadFont(javaClass.getResourceAsStream("/fonts/tw-kai.ttf"), FONT_SIZE)
Font.loadFont(javaClass.getResourceAsStream("/fonts/noto-sans-tc.ttf"), FONT_SIZE)
Font.loadFont(javaClass.getResourceAsStream("/fonts/noto-sans-tc-regular.ttf"), FONT_SIZE)
Font.loadFont(javaClass.getResourceAsStream("/fonts/noto-sans-tc-bold.ttf"), FONT_SIZE)
}
}

View File

@ -8,11 +8,11 @@
.list-view {
-fx-selection-bar: #B8EEFF;
-fx-font-family: "Noto Sans CJK TC";
/*-fx-selection-bar-non-focused: green;*/
}
.list-view-entry {
-fx-font-family: "Noto Sans TC";
-fx-font-size: 20;
-fx-font-weight: bold;
}
@ -34,7 +34,7 @@
}
.pronunciation {
-fx-font: 16 "Noto Sans CJK TC";
-fx-font: 16 "Noto Sans TC";
}
.settings-dialog .content {

Binary file not shown.

Binary file not shown.