View Single Post
Old 08-03-2014, 01:58 PM   #62
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by wikiped View Post
I will be glad to try that.
Thanks in advance!
I am not sure whether we will succeed, but we can try. My idea was this: I tried to find all css blocks that concern only the Aura HD (dragon) and refer to font-size. I then made a patch file that increases all font size values of those css blocks by 50 percent.

Now, the first step would be to patch libnickel.so.1.0.0 and test it on the device. This will probably produce overlapping and cut off texts on several screens. But we don't care for that. At this point we are only interested, whether the library view shows some changes. If the library view does not show any change, my basic assumption was wrong and we have to start thinking for another approach.

If there is a change to the library view, we can start searching for the concerned patch jobs. Maybe you could edit the configuration file so that it contains only half of the patch jobs. If you test it on the device and still see the changes to the library view, you could repeat the process until you have a somehow manageable number of patch jobs. If however the first half of patch jobs did not work, you would test the second half, and so on. One underlying assumption is that the css blocks that concern the library view of the Aura HD are located close to each other.

Next step would be to examine those patch jobs that have not yet been eliminated. As I said, I do not know how the Aura HD library view looks, but maybe there are some peculiar things like different colors, italics, uppercase or something of the like that can be of help.

On the other hand, if there is something as rare as uppercase, we could take this as a starting point (and skip the cut-in-halves business), since there are not many css blocks that contain "text-transform: uppercase." Or if the library view of the Aura has some similarities with the old style library view of the Touch, you could take that as a starting point. For instance, the patch "Library Books, Title" contains "qproperty-forceLeading" (which is rather rare in libnickel), so maybe the concerned css block of the Aura HD does also contain this. These are only some suggestions. Practically, you are on your own.

The uploaded archive contains:
  • 3.5.0_mark4_auraHD_test_source (folder)
  • 3.5.0._mark4_auraHD_test.bat
  • 3.5.0._mark4_auraHD_test_nopack.bat

Usage:
  • Copy the folder 3.5.0_mark4_auraHD_test_source and the two bat files into the folder on your pc that already contains 3.5.0_source, tools, and 3.5.0.bat.
  • Copy libnickel.so.1.0.0 to 3.5.0_mark4_auraHD_test_source.
  • Double click on 3.5.0._mark4_auraHD_test.bat to create the patched file and pack it into KoboRoot.tgz. You will find the created KoboRoot.tgz in 3.5.0_mark4_auraHD_test_target.

Note: The patch file is for the mark 4 version.

Spoiler:
I saw that you are using the Kobo Start Menu. There is a script ("scripts" > "restore" > "restore libnickel.sh") that copies libnickel.so.1.0.0 from .kobo/kbmenu/copyrepos/ to /usr/local/Kobo. In this way you can put the libnickel.so.1.0.0 to the right location without using the KoboRoot.tgz. After copying, restart the device in order to make sure the new libnickel.so.1.0.0 is used, rather than a cached version.
If you want to do that, use 3.5.0._mark4_auraHD_test_nopack.bat instead of 3.5.0._mark4_auraHD_test.bat. 3.5.0._mark4_auraHD_test_nopack.bat will produce the patched file without packing it into KoboRoot.tgz.
(If you want to use 3.5.0._mark4_auraHD_test.bat after you run already 3.5.0._mark4_auraHD_test_nopack.bat, delete the folder 3.5.0_mark4_auraHD_test_target, before running 3.5.0._mark4_auraHD_test.bat)
Attached Files
File Type: zip KBPatcher08_3.5.0_mark4auratest.zip (7.5 KB, 401 views)

Last edited by tshering; 08-04-2014 at 05:23 AM.
tshering is offline   Reply With Quote