Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ ePub constant font sharpness:
- FindBaseAddressString: "\0\0 -kobo-font-sharpness: %1;"
- ReplaceString: {Offset: 3, Find: "-kobo-font-sharpness: %1", Replace: "-kobo-font-sharpness:0.2", MustMatchLength: yes}

# MISSING: KePub constant font sharpness (not enough room for neutralizing the QString arg; we will probably need to patch that one out)
# For KePub constant font sharpness, see another patch below.

Un-Force user text-align in div,p tags in KePubs:
- Enabled: no
Expand Down
19 changes: 19 additions & 0 deletions src/versions/4.34.20097/libnickel.so.1.0.0.yaml/superjeng1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# The following patch(es) were made by superjeng1

KePub constant font sharpness:
- Enabled: no
- Description: |
With this patch the KePub reader will use a constant sharpness value of 0.2,
instead of the value set by the advanced font sharpness/weight slider. The
slider sharpness values range from -0.4(min.) to 0.2(max.), default -0.0666.
# body { -kobo-font-sharpness: %1; -kobo-font-thickness: %2; text-rendering: %3; }\n
# --> body{-kobo-font-sharpness:0.0/*%1*/;-kobo-font-thickness:%2;text-rendering: %3;}\n
- FindReplaceString:
Find: "body { -kobo-font-sharpness: %1; -kobo-font-thickness: %2; text-rendering: %3; }\n"
Replace: "body{-kobo-font-sharpness: 0.0/*%1*/;-kobo-font-thickness:%2;text-rendering:%3;}\n"
MustMatchLength: yes
- ReplaceString:
Offset: 5
Find: "-kobo-font-sharpness: 0.0"
Replace: "-kobo-font-sharpness: 0.2" # Replacement sharpness value
MustMatchLength: yes
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ ePub constant font sharpness:
- FindBaseAddressString: "\0\0 -kobo-font-sharpness: %1;"
- ReplaceString: {Offset: 3, Find: "-kobo-font-sharpness: %1", Replace: "-kobo-font-sharpness:0.2", MustMatchLength: yes}

# MISSING: KePub constant font sharpness (not enough room for neutralizing the QString arg; we will probably need to patch that one out)
# For KePub constant font sharpness, see another patch below.

Un-Force user text-align in div,p tags in KePubs:
- Enabled: no
Expand Down
19 changes: 19 additions & 0 deletions src/versions/4.35.20400/libnickel.so.1.0.0.yaml/superjeng1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# The following patch(es) were made by superjeng1

KePub constant font sharpness:
- Enabled: no
- Description: |
With this patch the KePub reader will use a constant sharpness value of 0.2,
instead of the value set by the advanced font sharpness/weight slider. The
slider sharpness values range from -0.4(min.) to 0.2(max.), default -0.0666.
# body { -kobo-font-sharpness: %1; -kobo-font-thickness: %2; text-rendering: %3; }\n
# --> body{-kobo-font-sharpness:0.0/*%1*/;-kobo-font-thickness:%2;text-rendering: %3;}\n
- FindReplaceString:
Find: "body { -kobo-font-sharpness: %1; -kobo-font-thickness: %2; text-rendering: %3; }\n"
Replace: "body{-kobo-font-sharpness: 0.0/*%1*/;-kobo-font-thickness:%2;text-rendering:%3;}\n"
MustMatchLength: yes
- ReplaceString:
Offset: 5
Find: "-kobo-font-sharpness: 0.0"
Replace: "-kobo-font-sharpness: 0.2" # Replacement sharpness value
MustMatchLength: yes