View Single Post
Old 04-25-2015, 05:48 AM   #54
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 odamizu View Post
Thank you again everyone for all your help, with a special to ecostin for finding and sharing this hack. It works great!



That's interesting. I wonder why some of your sets didn't work and what criteria the numbers need to follow in order for them to work. I went to the Russian forum, but I didn't really understand it, even with the help of Google Translate

There was something in there about increments of .34, and indeed the default settings increase by multiples of .34 (.68, 1.36, 2.03, 4.42, 12.22). Though I notice you increased each setting by .94 and it worked, so clearly the .34 thing isn't required.
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...)

BTW: I used Notepad++ for creating FONT_RAMP file

Last edited by tono1020; 04-25-2015 at 05:58 AM.
tono1020 is offline   Reply With Quote