Quote:
Originally Posted by jackie_w
Just try replacing Georgia with ChareInk in the Replace string. If kobopatch.bat doesn't fail with some kind of 'too long' error message, it will be fine.
One of the great things about kobopatch/nickel patches is that we don't have to do the exact length string matching anymore. It has some tricks to reclaim cosmetic visual whitespace from the CSS without affecting the Kobo's ability to action the CSS.
If you do get a 'too long' error you can add an extra bit to the patch to delete some of the CSS which won't be used on your Kobo, e.g. the Japanese-locale-specific stuff. For example, adding this line would free up some space for this patch if the new font-family name is too long.
Code:
# free some space
- {Find: "#caption[localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}", Replace: "\n"}
It should be indented with the same number of spaces as in the font-family Find/Replace line
|
Thank you. Once Geek1011 rewrites the shutdown time patch, I'll give yours as go. But for now, I'll copy your patch and place it in the yaml file for use when it's time.