08-03-2014, 11:32 AM | #61 |
Member
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: Kobo Aura HD, Kobo Glo
|
|
08-03-2014, 01:58 PM | #62 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
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:
Usage:
Note: The patch file is for the mark 4 version. Spoiler:
Last edited by tshering; 08-04-2014 at 05:23 AM. |
Advert | |
|
08-04-2014, 08:06 AM | #63 |
Member
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: Kobo Aura HD, Kobo Glo
|
Well, I did the test and unfortunately library screen showed no changes in font size. At all.
Had to do it couple of times (with photos) to make sure I did not miss anything. [Image violates guidelines for size - MODERATOR] Last edited by Dr. Drib; 02-08-2015 at 11:29 AM. |
08-04-2014, 08:26 AM | #64 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
@wikiped
This is really unfortunate! Thank you for trying and for the pictures. Just for my curiosity, did you by chance notice any changes in font size on other screens? |
08-04-2014, 08:37 AM | #65 | |
Member
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: Kobo Aura HD, Kobo Glo
|
Quote:
[Image violates guidelines for size - MODERATOR] So I would say the patch "as is" is already useful one . Most of the text under Settings was also bigger (with the exception for screens like one under "About Kobo..." where some graphics is used). P.S. Maybe library setting are in other parts of Kobo (nickel? as in case of "Menu")? Last edited by Dr. Drib; 02-08-2015 at 11:29 AM. |
|
Advert | |
|
08-04-2014, 02:13 PM | #66 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
If you would like to do a further experiment, I have prepared some materials. Generally speaking, there are three canditates that could contain the css code for the library view.
Preparation:
1 test:
By the way, I have all three files applied to my Touch. The result is not so bad. User settings>accounts is one of the worst, however. Last edited by Dr. Drib; 02-08-2015 at 11:30 AM. |
|
08-05-2014, 09:09 AM | #67 |
Member
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: Kobo Aura HD, Kobo Glo
|
@tshering
Well, good news is that library view has now nice big font and it all came after the 1st test (see below). "Bad" news is that it came with 1MB conf_ file which seems like a lot of tries to pin-point the responsible part (I realize that bisection search will allow to make it in about 11 iterations, but still ;-) I personally did not see any negative effect on overall font increase - quite the opposite - you can be sure that in whatever part of Kobo you might need to look at it will all look "eye-comfortable". Results of Test 1: Aside from the lower Menu font (which as expected did not have any change) everything else is as it should have been made from start. Even the Top Menu, Reboot, PC connection, etc screens were welcoming with easy to read font-sizes. [Image violates guidelines for size - MODERATOR] Results of Test 2: Looks like zlib in not being used here - I did not see any changes from the original state wherever I looked... Spoiler:
Results of Test 3: Menu is back with big font, and the search field shows big nice font. [Image violates guidelines for size - MODERATOR] Now the question is: is it worth the effort to locate the exact strings responsible for each particular change of would it make more sense to keep this total change approach and enjoy the overall effect (without any noticeable side effect, unless of course there is an allergy to big font-sizes). Perhaps a cool thing would be to have a script increasing font-sizes to other than 50% values in conf_ files, but I don't know how easy it is for you to make it available. Last edited by Dr. Drib; 02-08-2015 at 11:31 AM. |
08-05-2014, 09:34 AM | #68 |
Member
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: Kobo Aura HD, Kobo Glo
|
@tshering
While I was doing all the patching I occurred to me that after all I will need to combine this "bad eye" mode with the one which deals with margins/keyboard. And I now have all of them applied at the same time. But this had to be done in consecutive steps, catching and disabling the overlaps. I realize that your patcher is using different conf file format from the other one. I tried to combine one with another and use each of the patchers, but there was always an error linked to conf file format. Do you think it would make sense to have some sort of alignment on the patching format for Kobo devices? What do you think would be the approach to deal with this? |
08-05-2014, 10:45 AM | #69 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
@wikiped
Thank you for testing and comenting. In the meantime, I recreated the patches that increase indiscriminately the font size values of all css blocks that I was able to find. But this time, I increased them by only 30 percent. For me this is an acceptable compromise. Up to now I have seen only one real problem: in Settings > Device Information, the Software Version is cut off. Also some parts of Settings > Accounts are cut off, but since they are shown in light gray color on light gray back ground, I cannot see them anyway. Next, I included the "old" patches, which have identified targets, into the new configuration files. So these parts are still easily configurable. I upload the new package to post #46. Note: I used again the files of the mark 5 version, since they are slightly newer and I did not see any harm while using it together with the mark 4 FW. Quote:
Code:
sourcefile=libadobe.so targetfile=..\3.5.0_target\usr\local\Kobo\libadobe.so Code:
sourcefile=librmsdk.so.1.0.0 targetfile=..\3.5.0_target\usr\local\Kobo\librmsdk.so.1.0.0 There is, however, one problem. On some machines my patcher cannot handle "replace_float." I have on my machines XP, Win 7.0, and Win 8.1. And on all of them it works as expected. So maybe you are lucky and it works on your machine too. replace_float is used in three patches of libnickel.so.1.0.0.patch. If it does not work for you, you can first patch libnickel.so.1.0.0 in GeoffR's patcher and copy the resulting libnickel.so.1.0.0 to \3.5.0_source, before you run the bad eyes patcher. (libnickel.so.1.0.0 of the mark 4 and mark 5 packages are identical, even so they have different time stamps. So there is no problem.) Last edited by tshering; 08-05-2014 at 11:44 AM. |
|
08-05-2014, 12:30 PM | #70 |
Member
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: Kobo Aura HD, Kobo Glo
|
|
08-05-2014, 03:12 PM | #71 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
But luckily, there a ways around. All of them have in common, that you have to patch libnickel.so.1.0.0 with both GeoffR's patcher and the bad eyes patcher. The order does not matter. nickel has to be patched with the bad eyes patcher; the other files with the one or the other. Then you have to get all patched files into KoboRoot.tgz. Or you create two KoboRoot.tgz files, and apply them one after the other. (Or, since you are a KSM user, you can simply copy the files to /usr/local/Kobo) There are too many options to describe them in detail. If you settle for one and you get stuck, just post your problem, and somebody will might find a solution. Last edited by tshering; 08-05-2014 at 03:16 PM. |
|
08-06-2014, 12:48 PM | #72 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Since combining the bad eyes patches with the other patches is a little tiresome (and my patcher does not handle replace_float correctly on some machines), I prepared a version for the patcher that is maintained by GeoffR. This is also more convenient for Linux users.
While preparing this version I became aware that GeoffR's patcher does not support replace_zlib. Therefore, I had to skip those patches that need zlib compression (for instance Notes [formerly Annotation Details] and the caption of buttons. I uploaded the archive here. The archive (350_mfbe_mark4_MZstyle.zip) contains
|
08-31-2014, 10:04 AM | #73 |
Evangelist
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
Hi tshering,
its possible patch for fw 3.8.0? Thanks! _____________ |
09-04-2014, 09:21 AM | #74 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
For FW 3.8.0. Don't use it with other FW versions.
I admit that I could not yet test the result on my device. (Since then I have tested it a little. The fonts of the annotations is not increased.) Usage:
New: I added a version for the patcher maintained by GeoffR. As always, owners of devices different from Touch, especially of Aura HD, will have to modify the patch files partially. USE THIS PACKAGE AT YOUR OWN RISK! Last edited by tshering; 09-04-2014 at 04:31 PM. |
09-04-2014, 06:08 PM | #75 |
Evangelist
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
thanks!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which Ebook reader is easiest on the eyes? i.e doesn't strain your eyes when reading | Berabouman | Which one should I buy? | 2 | 02-08-2013 09:07 AM |
Glo Is the screen of my Glo bad or is it my eyes? | Polly7 | Kobo Reader | 5 | 01-29-2013 03:56 AM |
help with some modifications | moller | Kindle Developer's Corner | 3 | 10-12-2012 02:31 PM |
Eyes of Silver, Eyes of Gold, historical romance | ellenoc | Self-Promotions by Authors and Publishers | 18 | 08-22-2011 02:34 PM |
iLiad Registry modifications | Martijn | iRex Developer's Corner | 7 | 03-27-2008 05:37 PM |