Fixed Layout
New function “useSoftwareLayer()” is added to enforce the sdk to use software layer for rendering.
Fixed Bugs that app is crashed while curling effect in some devices.
Fixed Bugs that “setCurlQuality” function does not work properly.
Fixed Layout
New function “useSoftwareLayer()” is added to enforce the sdk to use software layer for rendering.
Fixed Bugs that app is crashed while curling effect in some devices.
Fixed Bugs that “setCurlQuality” function does not work properly.
Fixed Layout
Fixed Bug in getPageCount when spread is SpreadAuto
Fixed Bug in getPageIndex when spread is SpreadAuto
Fixed Bug in gotoPage when spread is SpreadAuto
Depreciated gotoPageByPageIndex
Fixed Layout
Fixed Bug in function gotoPage when spread is set to SpreadAuto.
Added New Function currentPageIndex which returns current Page Index;
Added New Function pageCountInBook which returns the number of pages in book.
Depreciated Function gotoPageByPagIndex.
Reflowable Layout
Fixed Bugs that Search does not work sometimes for some epubs.
Fixed Layout
Fixed Bugs that MediaOverlay does not work properly for some pubs.
Fixed Bugs that the sound of MediaOverlay is not clear and trembles for some pubs.
Fixed Layout
Fixed Bug that Initial Scale is too big in Landscape mode for some devices.
Fixed Bug that MediaOvelay does not work properly in Landscape mode for some epubs.
Fixed Bug that MediaOvelay sound is not clear and trembled sometimes.
Reflowable Layout
New Function
String getStyleForChapter(int chapterIndex);
Added to ScriptListener
public interface ScriptListener {
// should return the custom script for chapterIndex
String getScriptForChapter(int chapterIndex); // datasource
// should return the custom style for chapterIndex
String getStyleForChapter(int chapterIndex); // Newly Added
}
String getStyleForChapter(int chapterIndex); can be used when you need to set custom css file for a given chapter.
example)
class ScriptDelegate implements ScriptListener {
@Override
public String getScriptForChapter(int chapterIndex) {
// TODO Auto-generated method stub
String customScript = null;
// customScript = “” +
// “function changePColor() {” +
// ” var elements = document.getElementsByTagName(‘p’);” +
// ” for (var i=0; i<elements.length; i++) {" +
// " elements[i].style.color = '#FF0000';" +
// " }"+
// "}"+
// "changePColor();";
//
return customScript;
}
@Override
public String getStyleForChapter(int chapterIndex) {
// TODO Auto-generated method stub
String customCSS = null;
// customCSS = “p{ color: #ff0000; }”;
return customCSS;
}
}
Reflowable Layout
New Function Added to ReflowableViewControllerDataSource
/** CSS source for chapterIndex can be passed to the engine if you like to implement some custom behaviors. */
-(NSString*)reflowableViewController:(ReflowableViewController*)rvc styleForChapter:(NSInteger)chapterIndex;
Fixed Layout
Fixed Bug that sometimes iFrame tag is not rendered properly in Portrait mode.
Engine Updated for Android 5.0 Lollipop
Bug Fixed that when Internal Link to another chapter is clicked, It jumps to the wrong place in RTL (Right To Left)
Fixed Bug that Highlights are not displayed properly in RTL(Right To Left) mode and iOS 8.