View Single Post
Old 06-13-2017, 08:35 PM   #225
xl743
Member
xl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beauty
 
xl743's Avatar
 
Posts: 19
Karma: 32720
Join Date: Apr 2015
Device: Kindle Oasis, Pocketbook 840-2
Quote:
Originally Posted by PRS-T2 View Post
##### Default values are: #################
7.13 7.81 8.49 9.17 10.53 12.56 16.98 29.2

This translates to height in px:
19.2; 21.1; 23; 24.7; 28.6; 33.9; 45.8; 78.9

How? FONT_RAMP value * 2.7 = height in px

How many px per mm are shown on 300dpi PW3/Voyage:

300/25,4 = 11,81px/mm
Height in px / 11,81 = height in mm

Example:

29.2*2,7=78.9
78.9/11.81=6.68mm
I believe, the sizes are in typography points (pt). 1pt is 1/72 of an inch.
1 inch is 25.4mm, so, 1pt is 25.4 / 72 = 0.352778mm

To translate the sizes in pixels (px) for Kindle Oasis (or Voyage) with 300dpi screens, calculation would be something like this:

Smallest font: 7.13 * 300 / 72 = 29.7 px
Default (4th) font: 9.17 * 300 / 72 = 38.2 px
Biggest font: 29.2 * 300 / 72 = 125.14 px

In millimeters this would be for the biggest font: 29.2 * 0.352778 = 10.23mm
xl743 is offline   Reply With Quote