View Single Post
Old 11-19-2017, 02:53 AM   #54
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
`Custom font sizes` - fix for AuraHD/H20

I've updated the attachment to post #1 to fix a problem with the `Custom font sizes` patch that affected the AuraHD and H2O. Here is the new patch, in case you want to copy/paste instead of downloading the attachment again:

`Custom font sizes`, firmware 4.6.9995, 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 = 9FAE36, 18, 18
replace_int = 9FAD02, 14, 14
replace_int = 9FACE0, 12, 12
#
# Add font sizes in increments of 1 until this size exceeded:
replace_int = 9FAD1A, 21, 43
#
# Continue from this font size:
replace_int = 9FAD22, 22, 44
#
# Add font sizes in increments of 2 until this size exceeded:
replace_int = 9FADA6, 49, 67
replace_int = 9FADC2, 49, 67
#
# Continue from this font size:
replace_int = 9FADC8, 50, 68
#
# Add font sizes in increments of 4 until this size exceeded:
# (AuraOne, GloHD, AuraHD/H2O, Glo/Aura, Touch/Mini)
replace_int = 9FAE34, 195, 132
replace_int = 9FAD00, 150, 112
replace_int = 9FACE4, 150, 104
replace_int = 9FAE50, 122, 88
replace_int = 9FAE4C, 90, 80
</Patch>
GeoffR is offline   Reply With Quote