View Single Post
Old 04-07-2015, 07:21 PM   #131
huuduc1kk2
Enthusiast
huuduc1kk2 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Apr 2015
Device: Kobo glo, LifeBook plus
Quote:
I do not know a way to prevent this. Since Arial is not loaded on restart automatically, you have to open a book and (maybe also) the fonts menu, to make the font available.
I do it, but the font don't load in the dict. So i patch again, it worked.

Quote:
So i need replace only fist line in newpart?

I want to use Arial when locatename not set to ja_JP
Like that:

<patch>
name=?
enabled=true
action=replace_string
position=BD971C
oldpart=* {\n font-size: 18px;\n font-family: Avenir;\n padding-top:2px;\n}\n\n
oldpart=[qApp_localeName="ja_JP"] {\n font-family: A-OTF Gothic MB101 Pr6N;\n}
newpart=* {\n font-size: 23px;\n font-family: Arial;\n padding-top:2px;\n}\n\n
newpart=[qApp_localeName="ja_JP"] {\n font-family: A-OTF Gothic MB101 Pr6N;\n}
combineparts
</patch>



I have an idea to prevent kobo overwite dict : Can we block ip to kobo server, and when it sync, it only conect to Pocket? Can we do it? If Yes, how we do it

Last edited by huuduc1kk2; 04-08-2015 at 02:46 AM.
huuduc1kk2 is offline   Reply With Quote