Quote:
Originally Posted by Analogus
Could You give me one more hint for doint the 'c-flag-thing'?
|
This is based on version 5.8.7 build 3095600028 for the PW2 in
/opt/amazon/ebook/lib/YJReader-impl.jar (com/amazon/ebook/booklet/yjreader/impl/YJBookController.java)
Code:
package com.amazon.ebook.booklet.yjreader.impl;
public class YJBookController
public YJBookController() {
YJBookController a2;
YJBookController yJBookController = a2;
YJBookController yJBookController2 = a2;
a2.C = null;
YJBookController yJBookController3 = a2;
yJBookController2.g = new J();
yJBookController.c = false; <---- change this to enable CONTENT_FONT_RAMP
yJBookController2.D = new V(a2);
yJBookController.m = new h();
}
...
public float[] TPD() {
float[] a2;
YJBookController b2;
if (b2.c && (a2 = j.XRD((String)"/mnt/us/CONTENT_FONT_RAMP", (int)b2.VCA().length)) != null && a2.length > 0) {
return a2;
}
return (float[])ResourceBundle.getBundle("com.amazon.ebook.booklet.yjreader.impl.resources.YJReaderImplResources").getObject("font.size.mapping");
}
ETA: You could also patch the default values in YJReaderImplResources
Edit 2: CONTENT_FONT_RAMP still does not work in firmware version 5.8.8. The above code in the jar file is unchanged.