Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2014, 02:58 PM   #1
fxp33
Groupie
fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.fxp33 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 199
Karma: 110472
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD... Kobo = pdf without reflow !!
reload document with modified css

Hi,

This is for patchers!!

Still wondering if we are far of the "onclick" event

Each time I change the size of the font, the document seems to be re-parsed.

Is there a possibility for a patch making the same with an "onclick" for css change like "display:none" on some elements.

Regards

François
fxp33 is offline   Reply With Quote
Old 09-16-2014, 08:50 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,069
Karma: 6108201
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by fxp33 View Post
Hi,

This is for patchers!!

Still wondering if we are far of the "onclick" event

Each time I change the size of the font, the document seems to be re-parsed.
Effectively, that is what you asked it to do. You said "use this font". The renderer has to go through the document and apply that. And then lay it out on the screen. And put in page breaks as appropriate. Code wise, it is probably easier, and not that much slower, to just redo it from the start rather than changing the current rendering. Also, it should only do the current chapter/file. I don't think there is a need to do anything other than the chapter that is being read.
Quote:
Is there a possibility for a patch making the same with an "onclick" for css change like "display:none" on some elements.
I don't know what you mean. The only thing I can think of is you want to be able to change the CSS for something on the screen while you are reading. If so, I don't need it. I would like to have a "userstyles.css" that I can change to overwrite things, but that is a coarser level and based on the books I have looked at, wouldn't work well.
davidfor is online now   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a Reload plugin frisket Plugins 1 03-26-2014 06:57 PM
Reload not working? sunfish62 Kindle Fire 5 01-20-2012 02:30 PM
Reload file size ptom Library Management 10 03-28-2011 03:10 PM
How to convert a Word document into a Kindle document? PS Kindle Kindle Developer's Corner 2 12-08-2009 09:40 PM
Reload The Matrix Saud Lounge 6 06-02-2003 06:01 PM


All times are GMT -4. The time now is 08:16 PM.


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