Quote:
Originally Posted by Muttly
As I suspected, the problem was not related to the actual font files themselves. Some internal state in the Kobo was screwed.
|
I think it's related to the font filenames. They have to follow a specific scheme, for me it looks like this, I use Linux Libertine font.
Code:
readingFontFamily=Linux Libertine
11d4fa539d6b57ce79865ebd9ee78b14 Linux Libertine-Bold.ttf
549224b54100debe150bf1d402ff842f Linux Libertine-BoldItalic.ttf
70eb12d644ec36f58af4a396d0c973ee Linux Libertine-Italic.ttf
d772b5b67a27a0c8b2602bdd3fe1dd9f Linux Libertine.ttf
It does stop working when I change the filenames. That's when I randomly get all bold cursive. It still shows "Linux Libertine" in the font selection menu but it uses the wrong files.
This is what I changed them to and after a reboot, I got all bold-italic:
Code:
549224b54100debe150bf1d402ff842f 10920-23529.ttf
11d4fa539d6b57ce79865ebd9ee78b14 27130-30595.ttf
70eb12d644ec36f58af4a396d0c973ee 30454-28191.ttf
d772b5b67a27a0c8b2602bdd3fe1dd9f 9268-26437.ttf
And in this random file name example, the bold italic one was the one that happened to be first when sorting filenames in alphabetical order... changing the 9268 ... to 0009268 to make it alphabetical first, that's the one that got picked instead.
Using the correct filenames (AND a reboot), it uses the correct font and display italics, bolds, etc. correctly, if they should occur in the book.
This is also the naming scheme you find in the firmware itself
Code:
8117d00e10c3b33623aea3db654c8894 Amasis-Bold.ttf
6785c82cdcbc88916945660adc11a12c Amasis-BoldItalic.ttf
f43f1fd3b566f0c149f5789480ee2798 Amasis-Italic.ttf
e184532d038cb3e0a33ff7c4c89f4747 Amasis.ttf
f4c75078b50625f0d3657df32583c593 Avenir-Bold.ttf
3771305c9d7694a0aee0d771ca27cfe7 Avenir-BoldItalic.ttf
a4a073da0e73588b3a42a8f0fff437bd Avenir-Italic.ttf
ceb692a59bb69208cb5acce0e34096c3 Avenir.ttf