View Single Post
Old 04-13-2014, 02:51 PM   #23
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Someone will correct me if I'm wrong but, to the best of my knowledge ...

When you open a book the Kobo checks its database for an entry for that book in the content_settings table (stores bookId, font family, size, alignment, line-height, left/right margin plus some other fields). If there isn't an entry then the settings in the config file (.kobo/Kobo/Kobo eReader.conf) are used instead.

An entry in content_settings, is created for a book when the Aa-font-icon is pressed from within that book and at least one of the sliders and/or buttons is pressed. At that point all the slider/button values are stored in the entry.

For a standard epub, the bookId is the filename. I'm not sure what kepubs use for bookId.

... so your plan of nudging a font slider left&right for each new book, to 'set' the per-book values should work, I think.
jackie_w is offline   Reply With Quote