Update fonts & add Noto Sans Devanagari UI (#5803)

* Update fonts

https://github.com/koreader/koreader-fonts/pull/11

* Add Noto Sans Devanagari UI to the UI fallback font list (fix #2895).
This commit is contained in:
NiLuJe
2020-01-31 17:25:13 +01:00
committed by GitHub
parent f6a64de44a
commit 283187efb7
3 changed files with 6 additions and 4 deletions

View File

@@ -108,9 +108,10 @@ local Font = {
[1] = "NotoSans-Regular.ttf", [1] = "NotoSans-Regular.ttf",
[2] = "NotoSansCJKsc-Regular.otf", [2] = "NotoSansCJKsc-Regular.otf",
[3] = "NotoSansArabicUI-Regular.ttf", [3] = "NotoSansArabicUI-Regular.ttf",
[4] = "nerdfonts/symbols.ttf", [4] = "NotoSansDevanagariUI-Regular.ttf",
[5] = "freefont/FreeSans.ttf", [5] = "nerdfonts/symbols.ttf",
[6] = "freefont/FreeSerif.ttf", [6] = "freefont/FreeSans.ttf",
[7] = "freefont/FreeSerif.ttf",
}, },
-- face table -- face table

View File

@@ -78,6 +78,7 @@ describe("EPUB document module", function()
"Noto Sans", "Noto Sans",
"Noto Sans Arabic UI", "Noto Sans Arabic UI",
"Noto Sans CJK SC", "Noto Sans CJK SC",
"Noto Sans Devanagari UI",
"Noto Serif", "Noto Serif",
} }
local face_list = cre.getFontFaces() local face_list = cre.getFontFaces()