View Single Post
Old 11-18-2017, 05:44 PM   #9
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by yevgeny.bezman View Post
Same as on the previous version's patch, the `Custom font sizes` patch doesn't seem to honor the maximum font size on my Kobo Aura HD.
The minimum font size works fine, though.
Thanks for spotting that. Could you try this patch and see if it works?

`Custom font sizes`, firmware 4.6.10075, libnickel.so.1.0.0.patch:
Spoiler:
Code:
<Patch>
patch_name = `Custom font sizes`
patch_enable = `yes`
#
## Changes the range of sizes on the font size slider so that there are more of
## the small sizes and fewer of the large sizes.
##
## With this patch enabled you will not be able to select the very large font
## sizes, but will be able to make finer adjustment to the smaller sizes.
#
# Font sizes depend on the device's screen resolution. Unpatched, the sizes
# increase in steps of 1 from the smallest size up to size 22, then in steps
# of 2 up to size 50, then in steps of 4 up to the largest size:
#
#  AuraOne:    18px - 194px (55 sizes)
#  GloHD:      14px - 150px (48 sizes)
#  AuraHD/H2O: 12px - 150px (50 sizes)
#  Glo/Aura:   12px - 122px (43 sizes)
#  Touch/Mini: 12px - 90px  (35 sizes)
#
# The example replacement values in this patch result in the following ranges,
# with increases in steps of 1 from the smallest size up to size 44, then
# steps of 2 up to size 68, then steps of 4 up to the largest size:
#
#  AuraOne:    18px - 132px (55 sizes)
#  GloHD:      14px - 112px (54 sizes)
#  AuraHD/H2O: 12px - 104px (54 sizes)
#  Glo/Aura:   12px - 88px (50 sizes)
#  Touch/Mini: 12px - 80px (48 sizes)
#
# Start with this font size: (AuraOne, GloHD, Others)
replace_int = 9FADDE, 18, 18
replace_int = 9FACAA, 14, 14
replace_int = 9FAC88, 12, 12
#
# Add font sizes in increments of 1 until this size exceeded:
replace_int = 9FACC2, 21, 43
#
# Continue from this font size:
replace_int = 9FACCA, 22, 44
#
# Add font sizes in increments of 2 until this size exceeded:
replace_int = 9FAD4E, 49, 67
replace_int = 9FAD6A, 49, 67
#
# Continue from this font size:
replace_int = 9FAD70, 50, 68
#
# Add font sizes in increments of 4 until this size exceeded:
# (AuraOne, GloHD, AuraHD/H2O, Glo/Aura, Touch/Mini)
replace_int = 9FADDC, 195, 132
replace_int = 9FACA8, 150, 112
replace_int = 9FAC8C, 150, 104
replace_int = 9FADF8, 122, 88
replace_int = 9FADF4, 90, 80
</Patch>


Edit: I've updated the attachment to post #1 to include this patch.

Last edited by GeoffR; 11-19-2017 at 02:55 AM.
GeoffR is offline   Reply With Quote