There are some points we should keep in mind (in addition to what I said in my previous post, especially in the spoiler).
- We should make changes only to those lines that start with "newdata" or "newpart".
- In the css declarations, the Kobo models are referred to by their code names.
- Touch is called "trilogy", MIni is called "pixie", Glo is called "kraken", Aura HD is called "dragon" and the new Aura is called "phoenix".
- Since you have a Glo you will look out especially for kraken.
- We are mainly concerned with the properties font-size, and line-height.
Let us try an example:
Code:
<patch>
name=ReadingFooter
enabled=true
action=replace_zlib
... some lines skipped here
newpart=* {\n\tfont-size: 28px;\n}\n\n
newpart=[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n
newpart=[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n
newpart=[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}
combineparts
</patch>
There is a line that starts with
newpart=[deviceCodeName="kraken"], and in this line, there is the declaration
font-size: 20px. This is the part you might want to change, Maybe you try to replace 20 by 32. If you apply the patch, you will see whether you would like to choose a smaller or larger font size.
One important point is,that the action is replace_zlib. As I explained in my previous post (in the spoiler), with this action, the compressed size of the modified data has to be equal or smaller than the compressed original data. This is something that is sometimes hard to guess. For instance, if you replace 20 by 32, the size remains the same, if you replace it by 34, the size increases by 1 byte. If you take 36, the size remains again the same. If you run 281a.bat, there will be an error message telling that in the patch with the name ReadingFooter the size of the new data is too large (if this is the case). Trying for each patch, whether the changes increase the compressed data or not, is cumbersome. Therefore, to be on the safe side, you can put the sign
# in front of the line
Code:
newpart=[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n
This is as much as deleting the line. Since this line contains only a declaration for the Aura HD, it is dispensable for you.
Try to treat the other patches accordingly. Don't forget to consider the different types of action! (As for editing, I would recommend you turn off word wrapping.) If you have some questions let me know.