Quote:
Originally Posted by Vetchy
Sorry of my questions, but I'm not sure that correct understand all messages above.
In old FW we can upload FONTS similar to built-in, like AVENIR in FONT folder on device and system used it instead built-in. On current FW this not worked.
Does exist any way to replace system Avenir by correct version? Now it broke all cyrillic words by adding extra space between letters.
|
If you already have a good-for-Cyrillic set of 4 Avenir .ttf files and they are already correctly named *internally* as 'Avenir Next' (without the quotes) then most of your work is already done.
Instead of drag-dropping them into your Kobo's /fonts folder you need to copy them directly into the Kobo's system fonts folder to completely replace the official (bad-for-Cyrillic) versions. You can't do this via simple drag-drop but you can use the
files: section at the bottom of your usual kobopatch.yaml file to copy them into the patched KoboRoot.tgz so that they will end up in the correct place on the Kobo when you install the rest of your patches.
Change
only the red bits to the filepaths of your new Avenir ttfs on your local PC. Something like the this:
Code:
files:
src/sysfonts_custom/Avenir.ttf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir.ttf
src/sysfonts_custom/Avenir-Bold.ttf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-Bold.ttf
src/sysfonts_custom/Avenir-Italic.ttf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-Italic.ttf
src/sysfonts_custom/Avenir-BoldItalic.ttf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-BoldItalic.ttf
ETA: You will need to do this after every fw update.