View Single Post
Old 06-15-2020, 05:45 PM   #509
greatforum
Junior Member
greatforum began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2020
Device: Kobo
Hello,

Is it possible to create a patch to change the font of footnotes? (The footnotes have many blanks for Chinese books, and it would be nice if I can change the default font to a Chinese font.)

Or is there an instruction on how to create new patches?



I used cssextract-windows.exe (with argument of the kobo-update-4.21.15015.zip). I looked at @jackie_w's dictionary font patch, and the yaml file is finding a string
Code:
"{ font: %1px %2; line-height: 1.4em; }\ndiv.descriptionFont { font-family: %3; }\nol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }\nol p { font-size: %1px; font-weight:normal; }\n"
If I look at the cssextract.out.css and search for font, the only thing I see is
Code:
.webkit-html-message-bubble {
    -webkit-box-shadow: black 0px 2px 5px;
    -webkit-border-radius: 9px;
    -webkit-border-fit: lines;
    font-size: 10px;
    font-family: Lucida Grande, sans-serif;
    font-weight: bold;
    margin: 6px 25px;
    padding: 0 7px 1px;
    z-index:20;
}
I definitely missed something, can someone help me?

Thank you!
greatforum is offline   Reply With Quote