Quote:
Originally Posted by pgaunt
I load fonts into the directory called 'fonts' and name them using the scheme 'FontName-Face' where 'Face' is one of Regular, Italic, Bold or BoldItalic.
Around half the time this works fine but the rest of the time the Aura gets muddled and thinks that the fonts aren't as they are - sometimes it will, for example, think that the Italic font is the Regular font and other times it will think that the Bold font is.
The problem, if it exists, always shows up in the font menu but usually only affects the actual display of kepubs but not epubs.
There seems to be no system to whether it gets it right or wrong leading me to suspect that it might just be kind of random.
I'm getting the fonts from various sources - off my Mac and from Google's webfonts.
|
A couple of items come to mind. First is to check is that you were using the font family name and not the name of the font file when naming your font files. You might want to take a look at a message I wrote quite a while back in the Modified Fonts sticky thread (
https://www.mobileread.com/forums/sho...9&postcount=11 ). Under Windows, I use the built-in Windows Font Viewer utility, under Mac OS X, I was using Font Info dialog from within FontForge (which is horrendous overkill just to read the font family name), I've since switched to TTFEdit but not using it all that much -- FontForge was nicer but now only comes in source code and hasn't been updated in a couple of years.
In a spoiler in the first message of Modified Fonts thread, you'll find a quote from a Kobo developer, George Talusan: "
but Qt doesn't allow us to introspect a TTF/OTF for its font family/weight without difficulty." which requires us to use the font family name with -font style/weight.
When I looked at the hinted version of Charis SIL that JSWolf mentioned in a previous message in this thread, I had to rename the files in the archive to get them to work happily on my Kobo -- the CharisSILCompactLarger files needed to be changed to Charis SIL CompactLarger (with the embedded spaces) and the CharisSILSmCPCompactLarger files needed to be changed to Charis SIL SmCP CompactLarger (again embedded spaces).
The other item to remember is that after installing a new font, you
MUST power cycle your Kobo ereader before attempting to use the font.
My personal choice of font that I use the vast majority of the time is JSWolf's modified Charis SIL package. My alternative for books with a lot of Greek/Cyrillic is Deja Vu Serif.
Edit: added screen cap of font viewer showing the font family name.
Regards,
David