SDKLauncher-Android
SDKLauncher-Android copied to clipboard
About "vertical writing" features check issue
For description of the original test file, see: http://code.google.com/p/epub-samples/wiki/SamplesListing#kusamakura-japanese-vertical-writing
I've studied the relevant specifications @ http://www.idpf.org/epub/altss-tags/#app-vertical-text-style-set-tags.
I also read and ran a test project( https://github.com/mgylling/epub-testsuite ) which involved manual checking.
In order to determine whether a book has the vertical writing feature, I only need to access the book's chapter data and analyze its CSS definition against the specification.
I hope that the Readium SDK facilitates such an interface or method, with which I may test the contents of a specific chapter so that I can tell if the book supports vertical writing.
The approach in the epub-testsuite project was to check by eyesight and fill out the results in a table. My purposed approach will be different, the checking will be done automatically.
That is just my proposal, please see if it is necessary.
Hi Koman,
This sounds like it could be a good addition to the Core API.
In Vancouver we should see some folks stepping up to take over some of the core sdk responsibilities and this, if the CSS in question is reasonably exposed to at the core level, could be a good thing to add to the roadmap.
Patrick
From: AnFengDe [email protected] Sent: Monday, October 14, 2013 2:31 AM To: readium/Launcher-Android Subject: [Launcher-Android] About "vertical writing" features check issue (#11)
For description of the original test file, see:? ?http://code.google.com/p/epub-samples/wiki/SamplesListing#kusamakura-japanese-vertical-writing
I've studied the relevant specifications @ ?http://www.idpf.org/epub/altss-tags/#app-vertical-text-style-set-tags.
I also read and ran a test project( https://github.com/mgylling/epub-testsuite ) which involved manual checking.
In order to determine whether a book has the ?vertical writing feature, I only need to access the book's chapter data and analyze its CSS definition against the specification.
I hope that the Readium SDK facilitates such an interface or method, with which I may test the contents of a specific chapter so that I can tell if the book supports ?vertical writing.
The approach in the epub-testsuite project was to check by eyesight and fill out the results in a table. My purposed approach will be different, the checking will be done automatically.
That is just my proposal, please see if it is necessary.
Reply to this email directly or view it on GitHubhttps://github.com/readium/Launcher-Android/issues/11.
Just my two cents on this: the epub-testsuite helps asserting whether the reading system behaves / renders content is a suitable manner, thus the "manual" human-driven verifications. The automated check for CSS computed style does not yield any benefits with respect to conformance testing, because here we need to check that reflowable documents are laid-out in right-to-left page progression direction (functionality which is entirely dictated by the reading system, not driven by the default web browser behaviour), and of course vertical writing mode (again, the computed style of the authored CSS provides a hint, but that is not a guarantee that the success criteria is met). Unless I am missing something?
I am new to Readium, Currently there's only vertical scrolling i am looking for horizontal scrolling need some help how we can achieve that?
Currently, we do not yet support horizontal scrolling.
@rkwright Thanks for response, Yes i have checked this but i want to work on this feature to make addition in the current SDK, i will grateful if you can suggest from where i should start for making additions in code.
@rkwright I am not sure why this issue is assigned a "critical" priority?
@AnFengDe I suggest you check the use of the internal var _htmlBodyIsVerticalWritingMode
in "reflowable view":
https://github.com/readium/readium-shared-js/blob/master/js/views/reflowable_view.js#L64
...and the isVerticalWritingMode
property from the "pagination info" object, which is passed to "cfi navigation logic" (isVerticalWritingMode()
function):
https://github.com/readium/readium-shared-js/blob/master/js/views/reflowable_view.js#L174
https://github.com/readium/readium-shared-js/blob/master/js/views/cfi_navigation_logic.js#L71
CC @JCCR