Thread: Forma Changing system font
View Single Post
Old 05-05-2020, 07:28 AM   #13
babygau
Enthusiast
babygau began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Apr 2020
Device: kobo libra h20
Quote:
Originally Posted by jcn363 View Post
If I've understand...
I made a patch (`Font-family and font-size bulk change`) in two parts (one for nickel and the second one for libnickel). Perhaps, you can test it (If you are brave).
You must read carefully and put (into REPLACE) the font-family name that you want.
If you have any... don't hesitate.

Good luck.
i got this error and could you pls tell me what i did wrong?

Code:
Error: could not apply patches: invalid patch file 'src/font-patch-libnickel.yaml': patch "Font-family and font-size bulk change (part 2 of 2)": line 9: inst 3: FindReplaceString: replacement string 5 chars too short
here is content of line 9:

Code:
 - FindReplaceString:
      Find:    "\n  font-family: Avenir;\n"
# When editing the replacement values below,
# BE CAREFUL NOT TO CHANGE THE LENGTH OF THE REPLACEMENT STRING!
      Replace: "font-family:Bitner;"
      MustMatchLength: yes
babygau is offline   Reply With Quote