Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2015, 06:19 PM   #1
pickyaxe
Addict
pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.
 
Posts: 285
Karma: 3762916
Join Date: Nov 2011
Device: none
Adding stock fonts?

Languages that have glyphs that are not present in stock fonts will be displayed as squares.

It is possible to fix this issue by adding fonts in the usual way, in the /fonts/ folder on the root of the user-visible internal kobo storage. This works, but these fonts are only loaded once an ebook/article is viewed. Therefore every time the device is rebooted all file names with those unsupported glyphs are displayed as squares until an ebook/article is launched. So I want to load these files on boot by adding them as system fonts.

I've tried copying the new fonts into what I believe is the fonts stash, /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/ and the fonts are not recognized, so it's probably going by some database file to fetch the file list... anyone figured it out yet?
pickyaxe is offline   Reply With Quote
Old 02-28-2015, 02:51 AM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
There's a list of font names hard-coded in the firmware that are treated specially:

Amasis
Avenir Next Medium
Caecilia
Delima
Felbridge
Georgia
Gill Sans
Kobo Nickel
Malabar
Rockwell
Times New Roman

TTF fonts with those names can use the advanced font menu for adjusting weight/sharpness (no patch required), even if they are sideloaded.

But which fonts are loaded at boot time might depend on the UI langage selected, perhaps Georgia and Avenir for English, Gothic for Japanese. I don't know how that is done though. It doesn't seem to matter where the fonts are located, just what their names are.

Last edited by GeoffR; 02-28-2015 at 02:53 AM. Reason: It doesn't seem to matter where the fonts are located, ...
GeoffR is offline   Reply With Quote
Old 02-28-2015, 08:49 AM   #3
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by GeoffR View Post
But which fonts are loaded at boot time might depend on the UI langage selected, perhaps Georgia and Avenir for English, Gothic for Japanese.
Nickel loads on start up these three fonts independent of the UI language. At least this is how it was when I checked the last time.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Adding fonts BobC Kobo Reader 2 01-18-2013 11:56 AM
Adding fonts marcostt Sigil 5 05-29-2012 10:40 AM
Touch Fonts question (special characters in stock and custom fonts) levil Kobo Reader 20 09-23-2011 01:51 PM
Adding fonts bake Onyx Boox 1 09-04-2011 12:49 PM
Adding fonts JohnCD HanLin eBook 3 11-16-2008 05:32 PM


All times are GMT -4. The time now is 12:30 AM.


MobileRead.com is a privately owned, operated and funded community.