Quote:
Originally Posted by oren64
1) In Custom page refresh options, how do i change from arithmetic progression to geometric progression.
and i change the code in arithmetic progression is it o.k ?
Code:
# Values for replacement: (Alternative 1, arithmetic sequence e.g. 1,3,5,...,23)
# Base (use this value for the first menu option):
replace_int = 78FA5C, 1, 1
# Increment (add this value to get each successive menu option):.
replace_int = 78FB2A, 1, 2
# Maxmium (stop adding options when this value is exceeded):
replace_int = 78FB2C, 6, 23
|
Yes that looks okay, I have tried a progression from 1 to 50 and it works okay, if the menu is too long to fit on the screen then scroll buttons are added automatically.
To use the geomrtric sequence, comment out the three replace_ lines from Alternative 1 and uncomment the three replace_ lines for Alternative 2:
Spoiler:
Code:
<Patch>
patch_name = `Custom page refresh options`
patch_enable = `yes`
# cmp r5, #7; bne.n; --> cmp r5, #6; bls.n;
replace_bytes = 78FB2C, 07 2D 9A D1, 06 2D 9A D9
#
# Values for replacement: (Alternative 1, arithmetic sequence e.g. 1,2,3,...,12)
# Base (use this value for the first menu option):
#replace_int = 78FA5C, 1, 1
# Increment (add this value to get each successive menu option):
#replace_int = 78FB2A, 1, 1
# Maxmium (stop adding options when this value is exceeded):
#replace_int = 78FB2C, 6, 12
#
# Values for replacement: (Alternative 2, geometric sequence 1,2,4,8,16,32,64)
# Base (use this value for the first menu option):
replace_int = 78FA5C, 1, 1
# Double to get each successive menu option:
replace_bytes = 78FB2A, 01 35, 6D 00
# Maxmium (stop adding options when this value is exceeded):
replace_int = 78FB2C, 6, 64
</Patch>
(I haven't tested values above 64.)
Quote:
2) In Freedom to advanced fonts control does OTF sideloaded fonts will works in epubs.
|
As far as I know the adjustable weight/sharpness will only work with TTF fonts in the EPUB reader. Although it will let you adjust the weight/sharpness for OTF fonts, and you can see the changes in the preview window, the changes won't take effect in the book.