View Single Post
Old 04-19-2022, 03:59 PM   #47
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,402
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BookCat View Post
They're both part of the same font patch package.
I took a look at the Enable advanced settings for all font from an older package. I fail to see anything that would affect line spacing.

Code:
Enable advanced settings for all fonts:
  - Enabled: no
  - Description: |
      This patch allows the advanced font options (weight/sharpness adjustments)
      to work with sideloaded fonts too. (KEPUB - OTF and TTF. EPUB - TTF only.)
  - ReplaceBytes:
      Base:           "AdvancedFontSettingsController::loadView()"                                      # font dropdown in advanced font settings dialog
      Offset:         132
      FindInstBLX:    {SymPLT: "N3FontTypeUtil::setupMonotypeDropdown(TouchDropDown*, QString const&)"} # monotype fonts only
      ReplaceInstBLX: {SymPLT: "N3FontTypeUtil::setupDropdown(TouchDropDown*, QString const&)"}         # all fonts
  - ReplaceBytes:
      Base:           "ReadingMenuFontSettingsController::setupAdvancedOption(QString const&)"
      Offset:         112
      FindInstBLX:    {SymPLT: "N3FontTypeUtil::isMonotypeFont(QString const&)"}
      ReplaceH:       4F F0 01 00

Last edited by DNSB; 04-19-2022 at 04:15 PM.
DNSB is online now   Reply With Quote