View Single Post
Old 09-12-2016, 12:49 PM   #7
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Oh, by the way... It just dawned on me that the kobo_extra.css file for the Kobo Touch Extended driver probably has to have Unix/Linux line-endings? I'm quite sure I didn't pay attention to that when I first made that file to try and fix this font cut-off issue.

The instructions on Github are different than the ones in the driver. They say a kobo_extra_<device>.css needs to be created in the plugin folder (the KA1 is not yet listed), while the driver itself says that "kobo_extra.css" needs to be put into the root of the device.

If I'm inferring this correctly, the kobo_extra_<device>.css files can be made to make the driver support different devices at the same time, each with their own CSS, and it'll put them onto the Kobo device as "kobo_extra.css".

Edit: In the end, it doesn't work.

I've added the two CSS lines to "kobo_extra.css" in the root of the reader's main memory, and set line endings to Unix/Linux. I'm sending the files using the Kobo Touch Extended driver with the "modify css" option selected. I've downloaded one of the books from the device and checked in the Calibre Editor: the file "stylehacks.css" has been added and linked in the html files, and contains the lines above, so everything is working as it should; this hack doesn't solve the letter cut-off problem on the Aura ONE.

Last edited by Katsunami; 09-12-2016 at 02:40 PM.
Katsunami is offline   Reply With Quote