Browse Source

fontlist: disable/enable some Kindle fonts (#8233)

Some Kindle system fonts cannot be registered and cause errors in crash.log.
Disabling them, and enabling one good font.
Tested on PW4, Voyage, Oasis.

Also https://github.com/koreader/koreader/issues/8228#issuecomment-922335608.
reviewable/pr8257/r1
hius07 4 weeks ago
committed by GitHub
parent
commit
3a01ab7899
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      frontend/fontlist.lua

+ 3
- 3
frontend/fontlist.lua View File

@ -73,16 +73,16 @@ local kindle_fonts_blacklist = {
["AmazonEmberBold-Italic.ttf"] = true,
["AmazonEmberBold-Regular.ttf"] = true,
["Caecilia_LT_65_Medium.ttf"] = false,
["Caecilia_LT_66_Medium_Italic.ttf"] = false,
["Caecilia_LT_66_Medium_Italic.ttf"] = true,
["Caecilia_LT_75_Bold.ttf"] = false,
["Caecilia_LT_76_Bold_Italic.ttf"] = false,
["Caecilia_LT_76_Bold_Italic.ttf"] = true,
["Caecilia_LT_67_Cond_Medium.ttf"] = true,
["Caecilia_LT_68_Cond_Medium_Italic.ttf"] = true,
["Caecilia_LT_77_Cond_Bold.ttf"] = true,
["Caecilia_LT_78_Cond_Bold_Italic.ttf"] = true,
["Futura-Bold.ttf"] = true,
["Futura-BoldOblique.ttf"] = true,
["Helvetica_LT_65_Medium.ttf"] = true,
["Helvetica_LT_65_Medium.ttf"] = false,
["Helvetica_LT_66_Medium_Italic.ttf"] = true,
["Helvetica_LT_75_Bold.ttf"] = true,
["Helvetica_LT_76_Bold_Italic.ttf"] = true,

Loading…
Cancel
Save