Thread: Firmware Update Fw 5.8.11 update
View Single Post
Old 10-13-2017, 10:15 AM   #111
tono1020
Connoisseur
tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!
 
Posts: 58
Karma: 100000
Join Date: May 2009
Location: EU
Device: Cybook (Gen3, Opus), K3, K4NT, PW, PW2, KV
Quote:
Originally Posted by mathil View Post
I didn't knew this kind of hack existed, I thought I'd have to jailbreak my PW! I've seen that people use it mostly to make the bigger font sizes 'smaller', is it possible to change all of the sizes then, even the smallest one?
JB is not required for this hack to work.
The only difference since 5.8.11 FW is that now you have 14 sizes in font menu, so you have to provide FONT_RAMP file with 14 numbers. Each number represent one size.
To explain meaning of those numbers, I wrote a post few years ago:

Those numbers are font sizes in 1/100th of an inch. So if you want to transfer them to pixels or another way arround you must know DPI (300 for KV and 216 for PW2).
Pixel height for KV is 1/300" = 0.00333" or 0.08467mm
For example:
if you want fonts with those sizes (in pixel):
22px, 24px, 26px, 28px, 30px, 32px, 34px, 36px
you have to use file with those numbers (in 1/100"):
7.33 8.00 8.67 9.33 10.00 10.67 11.33 12.00

(22px*0.00333"=0.07326 or round up to 7.33 in 1/100"
24px*0.00333"=0.07992 or round up to 8.00 in X/100" and so on...)

Last edited by tono1020; 10-13-2017 at 10:28 AM.
tono1020 is offline   Reply With Quote