View Single Post
Old 04-06-2015, 03:57 PM   #126
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by huuduc1kk2 View Post
Can I replace

<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: Avenir;\n padding-top:2px;\n}\n\n
newpart=[qApp_localeName="ja_JP"] {\n font-family: A-OTF Gothic MB101 Pr6N;\n}
combineparts
</patch>

With

<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="en_GB"] {\n font-family: A-OTF Gothic MB101 Pr6N;\n}
newpart=* {\n font-size: 23px;\n font-family: Avenir;\n padding-top:2px;\n}\n\n
newpart=[qApp_localeName="en_GB"] {\n font-family: Arial;\n}
combineparts
</patch>


Because my Kobo lang is en_GB

Thanks
The one thing is that you can only make changes to the "newpart", do not try to change the "oldpart". The other thing is, that I would change Avenir to Arial, this would then be effective for any language other than Japanese.
tshering is offline   Reply With Quote