View Single Post
Old 10-02-2019, 04:37 PM   #31
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by marshap View Post
Custom font sizes
I have tried to add the custom font sizes patch by copying from an earlier patch and pasting into the libnickel.co.1.0.0.yaml file in this patch but it doesn't work. Doesn't seem like GeoffR is updating this patch, so does anyone know how to add this patch?
try

Spoiler:
Code:
Custom font sizes:
  - Enabled: no
  - Description: |
      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/Forma: 18px - 194px (55 sizes)
    #  GloHD/ClaraHD: 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/Forma: 18px - 132px (55 sizes)
    #  GloHD/ClaraHD: 14px - 108px (53 sizes)
    #  AuraHD/H2O:    12px - 108px (55 sizes)
    #  Glo/Aura:      12px - 88px (50 sizes)
    #  Touch/Mini:    12px - 80px (48 sizes)
    #
    # Start with this font size: (AuraOne/Forma, GloHD/ClaraHD, Others)
  - ReplaceInt: {Offset: 0x90D66C, Find: 18, Replace: 18}
  - ReplaceInt: {Offset: 0x90D518, Find: 14, Replace: 14}
  - ReplaceInt: {Offset: 0x90D654, Find: 12, Replace: 12}
    #
  - ReplaceInt: {Offset: 0x90D540, Find: 21, Replace: 43} # Add font sizes in increments of 1 until this size exceeded}
  - ReplaceInt: {Offset: 0x90D546, Find: 22, Replace: 44} # Continue from this font size}
  - ReplaceInt: {Offset: 0x90D556, Find: 49, Replace: 67} # Add font sizes in increments of 2 until this size exceeded}
  - ReplaceInt: {Offset: 0x90D560, Find: 50, Replace: 68} # Continue from this font size}
    #
    # Add font sizes in increments of 4 until this size exceeded:
    # (AuraOne/Forma, AuraHD/H2O/GloHD/ClaraHD, Glo/Aura, Touch/Mini)
  - ReplaceInt: {Offset: 0x90D670, Find: 195, Replace: 132}
  - ReplaceInt: {Offset: 0x90D528, Find: 150, Replace: 108}
  - ReplaceInt: {Offset: 0x90D68E, Find: 122, Replace: 88}
  - ReplaceInt: {Offset: 0x90D68A, Find: 90,  Replace: 80}
Semwize is offline   Reply With Quote