View Single Post
Old 08-17-2019, 06:30 PM   #102
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Maillemom View Post
Hi Jackie - Thanks so much for the reply. You pointed me in the right direction. I did manage to fix that issue but now I seem to have an issue in the Freedom to Advance Controls.
I think you have removed some # comment characters which you should not have. This is what the 'Freedom to advanced fonts control' patch should look like for firmware 4.15.12920:
Code:
Freedom to advanced fonts control:
  - Enabled: yes
  - Description: |
      This patch allows the advanced font options (weight/sharpness adjustments)
      to work with sideloaded fonts too. (KEPUB: OTF and TTF. EPUB: TTF only.)
      Beware unknown side-effects for Japanese or Chinese language books.
    #
    # The following passes a junk pointer to N3FontTypeUtil::setupDropdown, but it
    # seems the pointer is only passed on to ReadingSettings::getDefaultFontFamily
    # where the code is patched to avoid dereferencing it, so it should be safe.
    # BEWARE: What are the side-effects for Japanese / Chinese language books?
    #
    # N3FontTypeUtil.setupMonotypeDropdown(b,c)
    # --> N3FontTypeUtil.setupDropdown(UNDEFINED,b,c)
  - ReplaceBytes: {Offset: 0x877760, FindH: 59 46 50 46, ReplaceH: 5A 46 51 46}
  - ReplaceBLX: {Offset: 0x877764, Find: 0x428374, Replace: 0x434708}
    # N3FontTypeController.setupAdvancedOption(...) --> NOP
  - ReplaceBytesNOP: {Offset: 0xA32E06, FindBLX: 0x435D9C}
  - ReplaceBytesNOP: {Offset: 0xA33D6C, FindBLX: 0x435D9C}
    # Ignore volume language (affects language number 25; ja? zh?)
  - ReplaceBytesNOP: {Offset: 0x687902, FindBLX: 0x428D0C}
  - ReplaceBytesNOP: {Offset: 0x687908, FindBLX: 0x430710}
  - ReplaceBytes: {Offset: 0x68790C, FindH: 06 46, ReplaceH: 00 26}
  - ReplaceBytesNOP: {Offset: 0x687910, FindBLX: 0x42151C}
jackie_w is offline   Reply With Quote