View Single Post
Old 12-09-2015, 06:32 PM   #111
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
Quote:
Originally Posted by davidfor View Post
I'm not so sure about the actual fonts. Again, they don't change the settings, but I don't know what happens when you open a book. It could change to whatever is the default, or it could use the matching replacement font. But, whichever it does, happens when you open the book.
The current firmware has a funcion
Code:
Migration125_ReplaceMorisawaFontsSettings::migrate(Device const&, QSqlDatabase&)
which executes this SQL
Code:
UPDATE content_settings SET ReadingFontFamily='%1' WHERE ReadingFontFamily='%2';
There is another one that executes
Code:
UPDATE content_settings SET ReadingFontFamily='OpenDyslexic' WHERE ReadingFontFamily='Dyslexie';
from back when the Dyslexie font was removed. I think these must be done sometime during the upgrade process.

The font sizes though might be done when the book is next opened, as you say, and I guess there is nothing to prevent it continuing to use a size that is no longer available on the font size slider.
GeoffR is offline   Reply With Quote