Resident Curmudgeon
Posts: 74,455
Karma: 129358310
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Originally Posted by ownedbycats
That's how it already works. I'm running the test version myself and the fonts are still available on older firmware.
Code:
KOBO_FONTS = {
(0, 0 ,0): { # Format is: Display name, setting name
'Document Default': 'default',
'Amasis': 'Amasis',
'Avenir': 'Avenir Next',
'Caecilia': 'Caecilia',
'Georgia': 'Georgia',
'Gill Sans': 'Gill Sans',
'Kobo Nickel': 'Kobo Nickel',
'Malabar': 'Malabar',
'Rockwell': 'Rockwell',
'Gothic': 'A-OTF Gothic MB101 Pr6N',
'Ryumin': 'A-OTF Ryumin Pr6N',
'OpenDyslexic': 'OpenDyslexic',
},
(3, 19, 0): { # Format is: Display name, setting name
'Document Default': 'default',
'Amasis': 'Amasis',
'Avenir': 'Avenir Next',
'Caecilia': 'Caecilia',
'Georgia': 'Georgia',
'Gill Sans': 'Gill Sans',
'Kobo Nickel': 'Kobo Nickel',
'Malabar': 'Malabar',
'Rockwell': 'Rockwell',
'Kobo Tsukushi Mincho': 'KBJ-TsukuMin Pr6N RB',
'Kobo UD Kakugo': 'KBJ-UDKakugo Pr6N M',
'OpenDyslexic': 'OpenDyslexic',
},
(4, 13, 12638): { # Format is: Display name, setting name
'Document Default': 'default',
'Amasis': 'Amasis',
'Avenir': 'Avenir Next',
'Caecilia': 'Caecilia',
'Georgia': 'Georgia',
'Gill Sans': 'Gill Sans',
'Kobo Nickel': 'Kobo Nickel',
'Malabar': 'Malabar',
'Rockwell': 'Rockwell',
'AR UDJingxihei': 'AR UDJingxihei',
'Kobo Tsukushi Mincho': 'KBJ-TsukuMin Pr6N RB',
'Kobo UD Kakugo': 'KBJ-UDKakugo Pr6N M',
'OpenDyslexic': 'OpenDyslexic',
},
(4, 34, 20097): { # Format is: Display name, setting name
'Document Default': 'default',
'Amasis': 'Amasis',
'Avenir': 'Avenir Next',
'Caecilia': 'Caecilia',
'Georgia': 'Georgia',
'Gill Sans': 'Gill Sans',
'Kobo Nickel': 'Kobo Nickel',
'Malabar': 'Malabar',
'AR UDJingxihei': 'AR UDJingxihei',
'Kobo Tsukushi Mincho': 'KBJ-TsukuMin Pr6N RB',
'Kobo UD Kakugo': 'KBJ-UDKakugo Pr6N M',
'OpenDyslexic': 'OpenDyslexic',
'Rakuten Serif': 'Rakuten Serif',
'Rakuten Sans': 'Rakuten Sans',
},
(4, 39, 22801): { # Format is: Display name, setting name
'Document Default': 'default',
'Atkinson Hyperlegible':'Atkinson Hyperlegible',
'Bariol': 'Bariol',
'Bitter': 'Bitter',
'Caecilia': 'Caecilia',
'Gill Sans': 'Gill Sans',
'Kobo Nickel': 'Kobo Nickel',
'Malabar': 'Malabar',
'Noto Sans': 'Noto Sans',
'Texturina': 'Texturina',
'AR UDJingxihei': 'AR UDJingxihei',
'Kobo Tsukushi Mincho': 'KBJ-TsukuMin Pr6N RB',
'Kobo UD Kakugo': 'KBJ-UDKakugo Pr6N M',
'OpenDyslexic': 'OpenDyslexic',
'Rakuten Serif': 'Rakuten Serif',
'Rakuten Sans': 'Rakuten Sans',
'Ubuntu': 'Ubuntu',
'Vollkorn': 'Vollkorn',
},
|
Gotcha. Thank you.
|