You don't have to go inside the src files and change the .yaml there. It is recommended that unless you're changing the content of the patch that you just enable them via overrides in the kobopatch.yaml at the top level. Find the section called
overrides: and add
Freedom to advanced fonts control: yes after
src/libnickel.so.1.0.0.yaml: (note the indent).
Code:
overrides:
src/nickel.yaml:
src/libadobe.so.yaml:
src/libnickel.so.1.0.0.yaml:
Freedom to advanced fonts control: yes
src/librmsdk.so.1.0.0.yaml:
Run kobopatch as DNSB explained (but use the forward slash in ./kobopatch.sh, backward slash is Windows) and watch for something like this to appear in the output:
Code:
Patching ./usr/local/Kobo/libnickel.so.1.0.0
Applying overrides from config
'Freedom to advanced fonts control' -> enabled:true
[1/44] Skipping disabled patch `Set KePub hyphenation`
[2/44] Skipping disabled patch `Keyboard template (GloHD/ClaraHD/AuraOne/H2O2)`
[3/44] Skipping disabled patch `Custom font sizes`
[4/44] Applying patch `Freedom to advanced fonts control`
…