|
|
#46 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,814
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#47 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,260
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
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 05:15 PM. |
|
|
|
| Advert | |
|
|
|
|
#48 | |
|
C L J
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,911
Karma: 21115458
Join Date: Dec 2008
Location: Birmingham UK
Device: Sony e-reader 505, Kindle PW2, Kindle PW3, Kobo Libra2
|
Quote:
If you're interested, this is the thread: https://www.mobileread.com/forums/sh...d.php?t=345873 The line spacing isn't specifically mentioned here, as far as I can remember, but if you look through ALL the yaml files in detail, you'll find options to alter the way line spacing works. |
|
|
|
|
|
|
#49 |
|
C L J
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,911
Karma: 21115458
Join Date: Dec 2008
Location: Birmingham UK
Device: Sony e-reader 505, Kindle PW2, Kindle PW3, Kobo Libra2
|
Just taken a quick look at the old yaml files. The relevant part is at the beginning of libnickel
|
|
|
|
|
|
#50 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,260
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
What I am trying to say is the 10/24 line spacing options were not part of the Enable advanced settings for all fonts option. They were separate patches so I can enable the advanced font setting patch without needing to enable one of the line spacing patches Just don't enable the 10 and 24 at the same time though I think KoboPatch will now end with an error instead of trying to apply both patches.
|
|
|
|
| Advert | |
|
|
|
|
#51 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,260
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That's why I manage my settings through the overrides portion of the KoboPatch.yaml file. I can save the settings and then re-apply them very rapidly (I save them as overrides.txt). This also saves me from the issues that seem to happen to quite a few where they accidentally edit the wrong section of the filename.yaml files.
|
|
|
|
|
|
#52 |
|
Gentleman and scholar
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,502
Karma: 111164374
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara BW; Nook ST w/Glowlight, Paperwhite 3
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Font Settings | Binchen | Sigil | 1 | 07-25-2021 02:42 PM |
| [FONT] How to enable Advanced Option for sideload fonts (without root) ? | meo_map13 | Kobo Reader | 7 | 12-08-2020 10:37 PM |
| I added a new font and my Forma is letting me use advanced options (!) | Wallace Lee | Kobo Reader | 7 | 06-10-2020 09:55 AM |
| Mini advanced font settings ignored in one book - embedded font? | lordofazeroth | Kobo Reader | 4 | 09-20-2013 03:15 PM |
| iLiad Enable non-embedded font pdf on iLiad | ericshliao | iRex Developer's Corner | 7 | 06-20-2010 02:51 PM |