View Single Post
Old 09-24-2019, 12:02 PM   #76
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Can you explain how I edit the kobopatch.yaml file to do this?
re: hyphenation dictionary
  1. Inside the kobopatch \src sub-dir create a new empty sub-dir called hyphenDicts, i.e. new sub-dir is \src\hyphenDicts
  2. Copy your hyph_en.dic file to this new sub-dir.
  3. Open kobopatch.yaml in the main kobopatch dir and at the end where you see the commented-out section called '## ADDITIONAL FILES ##' add these 2 lines
    Code:
    files:
      src/hyphenDicts/hyph_en.dic: usr/local/Kobo/hyphenDicts/hyph_en.dic

This will add hyph_en.dic to the right place in kobopatch's final output KoboRoot.tgz ready for installation.

Quote:
Originally Posted by JSWolf View Post
I did figure out the error. Turns out you cannot combine them and can only pick one. I picked the font size as the rest can be sorted out with options from the Kobo Touch Extended Driver.

However, If I am wrong here, please let me know. Thanks.
You're not wrong but, if you want to use it, there's now an easier way to make epub and kepub use matching font-sizes. Just enable patch 'ePub uniform font scale' found in libnickel.so.1.0.0.yaml. Once you've done this you'll no longer need to use your kobo_extra.css file to force kepub font-size.
jackie_w is offline   Reply With Quote