View Single Post
Old 05-09-2015, 02:27 PM   #68
Siard
Member
Siard began at the beginning.
 
Siard's Avatar
 
Posts: 11
Karma: 10
Join Date: Jun 2013
Location: The Netherlands
Device: Kobo Glo
Quote:
Originally Posted by GeoffR View Post
All I can suggest is to check your database, either from sqlite with the "PRAGMA integrity_check;" command, or from Calibre using the KoboUtilities plugin.
I checked the database with the Calibre KoboUtilities plugin:
"Result of running 'PRAGMA integrity_check' on database on the Kobo device:
ok"
Moreover, if I use the slider to set the line height, it does not affect the line height of other books, so the database seems to be OK.

Quote:
Originally Posted by GeoffR View Post
If the line spacing value read from the database is not one of the values available on the slider (perhaps because the book was opened before the patch was applied) then the firmware sets the line spacing to the lowest value on the slider.
I removed a book, applied the patch and reloaded the book, but after switching the device off and on, the line height still defaults to that low value.
The desired line height is 0.88, so I changed every 'replace_float' value to at least 0.88, also to no avail. So I wonder where that low value is taken from.
Applying the 10 or 15 line patch makes no difference.

Now the best solution I found until now is this one:
in the global configuration file, .kobo/Kobo/Kobo eReader.conf, I set the line height to 0.88 manually:
[Reading]
readingLineHeight=0.88
I disabled both the 10 line and the 15 line patch. Now when starting the device, it reads this correct value of 0.88. The line height slider must never be touched again though, for that would set the value back to a minimum of 1.0.

BTW, with one of the line height patches applied, this correct value of 0.88 was in the configuration file all the time, but the device does not seem to read it on startup then. It does pick up the value when the patches are disabled.
Siard is offline   Reply With Quote