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