View Single Post
Old 08-09-2017, 07:35 PM   #30
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@Hitch...I'm not really sure why you have to do such complex testing.

As far as I can see, two questions need to be answered:

* Does an epub image, formatted as KF8(as a percentage), display correctly or incorrectly on the old Kindle Previewer and on the new Kindle Previewer 3 eInk emulations?

* Does my plugin work on actual KF7 devices ?

First thing to prove is whether or not my plugin works and gives correct displays on actual KF7 and KF8 devices. If my plugin does work then this will make the next test stage much easier to prove.

Test on KP and KP3 only for correct KF7 emulation using only % values:

* Run the test epub through the new plugin.

* Then manually remove the media query files from the bottom of the appropriate stylesheet.

* Remove the class declaration from within the <img> tag in the KF8 image line in the epub and just delete the KF7 image line(in pixels). So you now only have a single KF8 formatted image line(as a %) in the epub. If KP or KP3 displays this image on eInk on test then their emulation is wrong. If they do not display this image(as a %) then their eInk emulations are correct.

* Test all outcomes only on KP and KP3 only.

If you want to vary the size of the % value, you can either do it manually in the html or you can change the base width value(fixed screen width value used in the % calculation) in the dialog in my plugin. The base width value is inversely proportional to the % value. So if you increase the base width value to 1000 then the displayed image will be smaller. If you decrease the base width value then the displayed the image size will increase.

The above test will prove whether both KP and KP3 eInk emulations are correct or not for images with % values.

Last edited by slowsmile; 08-09-2017 at 07:44 PM.
slowsmile is offline   Reply With Quote