12-24-2023, 05:05 PM | #1 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
Adding Noto fonts to Kobo. (Sage, but probably doesn't matter)
I'm really not sure if I've done this right.
I have put these files in "fonts" on my kobo: NotoSansMono-VariableFont_wdth,wght.ttf NotoSans-Italic-VariableFont_wdth,wght.ttf NotoSans-VariableFont_wdth,wght.ttf NotoSansMath-Regular.ttf NotoSansSymbols-VariableFont_wght.ttf NotoSansSymbols2-Regular.ttf NotoSerif-VariableFont_wdth,wght.ttf NotoSerif-Italic-VariableFont_wdth,wght.ttf Do I need to rename some of these to remove "wdth,wwght", "VariableFont" and similar? Some threads seem to say the file names have to be very specific things. Are these even the right files to be using? Unzipping the .zip files I downloaded originally also produced a bunch of files in directories called "static" in some cases. Should I install those instead? As well? Noto Sans and Noto Serif in particular have a LOT of files in the "static" directories. Well, by a lot I mean 72 each. I tried using noto serif to read a book and _everything_ came out italic, which seems wrong. |
12-24-2023, 05:19 PM | #2 |
Grand Sorcerer
Posts: 12,096
Karma: 233181968
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
Advert | |
|
12-24-2023, 05:24 PM | #3 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
So... don't use variable fonts at all? Install one or more sets of 4 matching fonts from the "static" directories? I am afraid I am feeling pretty lost. Any number of people/places say "It's easy. Just copy the files into "fonts"." But it seems less easy than that.
Should/do the "variable fonts" work as they are? If not, should/do they work if renamed? If so, how? If not, do I need to get rid of them and put some or all of the files from the "static" directories in instead? In THAT case the advice about filenames from your link seems like it should apply. Would I want all 72 files for sans and serif? Possibly with some renaming to fit the patterns in your link. This all seems way less straightforward than the "It's magic. Just copy the files" advice I have seen in various places. Last edited by ghira; 12-24-2023 at 05:38 PM. |
12-24-2023, 05:38 PM | #4 |
Grand Sorcerer
Posts: 12,096
Karma: 233181968
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Just install Regular, Italic, Bold and Bold Italic.
|
12-24-2023, 05:46 PM | #5 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
Thank you. I have removed all the files with "variable" in the name and copied some stuff from the "static" directories. In some cases not all four versions exist so I now have:
NotoSansMath-Regular.ttf NotoSansSymbols2-Regular.ttf NotoSans-Bold.ttf NotoSans-BoldItalic.ttf NotoSans-Italic.ttf NotoSans-Regular.ttf NotoSansMono-Bold.ttf NotoSansMono-Regular.ttf NotoSansSymbols-Bold.ttf NotoSansSymbols-Regular.ttf NotoSerif-Regular.ttf NotoSerif-Bold.ttf NotoSerif-BoldItalic.ttf NotoSerif-Italic.ttf |
Advert | |
|
12-24-2023, 06:02 PM | #6 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
Ok i think I need to add spaces to the filenames.
|
12-24-2023, 06:07 PM | #7 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
Trying again with:
Noto Sans Math-Regular.ttf Noto Sans Symbols 2-Regular.ttf Noto Sans-Bold.ttf Noto Sans-BoldItalic.ttf Noto Sans-Italic.ttf Noto Sans-Regular.ttf Noto Sans Mono-Bold.ttf Noto Sans Mono-Regular.ttf Noto Sans Symbols-Bold.ttf Noto Sans Symbols-Regular.ttf Noto Serif-Regular.ttf Noto Serif-Bold.ttf Noto Serif-BoldItalic.ttf Noto Serif-Italic.ttf the variable fonts sounded like a good idea... |
12-24-2023, 06:08 PM | #8 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
The kobo-installed Stix fonts in fonts/kobo don't have spaces in their names but maybe the rules are different there.
|
12-24-2023, 06:17 PM | #9 |
Grand Sorcerer
Posts: 12,096
Karma: 233181968
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Spaces don't matter. What matters is that the external and internal names are the same, as explained in the wiki page I linked. If the internal name has spaces, the external name must have them, and if the internal has no spaces, the external name shouldn't have them either.
|
12-24-2023, 06:21 PM | #10 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
There are spaces in the names of the fonts in the drop-down font menus. If that's not the "internal name" then what is? The wiki page you linked to doesn't seem to say what the internal name actually IS.
|
12-24-2023, 06:21 PM | #11 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
The stix fonts have spaces in their names in the drop-down menu so i guess the font name in the font menu is not the internal name.
Feeling lost again. |
12-24-2023, 06:31 PM | #12 |
Grand Sorcerer
Posts: 12,096
Karma: 233181968
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
You'll have to open the font file with a font editor, like FontForge. With FontForge, open Element -> Font Info -> PS Names. The very first item (Fontname) is the internal name of the font.
|
12-24-2023, 06:33 PM | #13 |
Zealot
Posts: 147
Karma: 10
Join Date: Sep 2016
Device: Kobo Sage, Kobo Aura One, Nook Simple Touch, Nook Glowlight,
|
Thanks. Crikey. This is all getting less and less similar to "It's easy. Just copy the files to the fonts directory."
|
12-24-2023, 06:36 PM | #14 |
Grand Sorcerer
Posts: 12,096
Karma: 233181968
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Yeah. Kobo is quite fussy about fonts, as I too learned when I bought my first Kobo and didn't understand why some of my sideloaded fonts that had worked fine on my Kindles no longer displayed correctly on my Kobo.
|
12-25-2023, 01:44 AM | #15 | |
Bibliophagist
Posts: 41,776
Karma: 161499394
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Most fonts sets follow that rule but other do not. I had one font I wanted to try where the font file name looked good but the font didn't work. When I opened the font with FontForge, the internal font name was 8 random characters that were different for each font variant. I took the regular, italic, bold and bold-italic variants and changed the internal name to match the font file name and those worked happily. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Sage Error when sending from Calibre to Kobo Sage | ctm3rd | Kobo Reader | 4 | 05-19-2022 08:36 AM |
Kobo Sage vs Forma: is Sage FASTER? Has Sage battery-life improved? | LivresInOz | Kobo Reader | 24 | 04-23-2022 03:04 AM |
Amazon added Indic Google Noto Sans fonts to Kindle firmware | Doitsu | Amazon Kindle | 0 | 09-29-2016 09:34 AM |
Adding ARIAL or HELVETICA FONTS in KOBO AURA HD | chiara.sc | Kobo Reader | 3 | 01-29-2016 06:04 PM |
Adding or deleting new fonts doesn't do anything | mr ploppy | OpenInkpot | 0 | 06-04-2010 07:28 AM |