![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
Kindle PW5 Font Scale
I'm playing around with the FONT_RAMP for my PW5, but am slightly confused as to the font scale. What is the measurement for the font sizes, and what is the name and amount to increase each of the sizes? I've seen something about .em points, but don't know how many of these it takes to make each of the fourteen font sizes increase by "one .em". At the moment I'm making a rough guesstimate for increasing/decreasing the third font size, which is the one I use most, but it's not very precise.
|
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://www.kboards.com/threads/usin...choices.235619 |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,115
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
Quote:
https://www.mobileread.com/forums/sh...&postcount=153 IIRC last time I played with FONT_RAMP values there was no visible font size change in the UI if the difference between 2 adjacent size options was lower than something like 0.4x, for 300ppi screens. Last edited by shamanNS; 11-23-2024 at 03:04 PM. |
|
![]() |
![]() |
![]() |
#5 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
Quote:
Quote:
https://www.mobileread.com/forums/sh...5&postcount=54 has the most correct description of the numbers in the FONT_RAMP file. That is they are the font size in increments of 0.01 inches, so 7.01 is 0.0001 inch taller than 7.00 At 300 DPI a pixel is about 0.0033 inches in size, so a step of 0.34 would change the font size by 1 pixel (at 300 DPI). So the answer to the original question is that the units are 0.01 inches, regardless of DPI, so a value of 14.00 has a font height of 0.14 inches. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 332
Karma: 3000000
Join Date: Nov 2015
Device: none
|
You can ditch font_ramp 'hack' and modify font sizes by editing style.css of ebooks as well. Or you can use both, to fine tune it that way.
Setting to change or add is stated either as: font-size: 1em; or font-size: 100% They do the same thing, so you use either one of them. 1.1 equals 110%, 0.9em equals 90%. etc... Setting defines fonts scale. 1em, equals font at 12pt. Resolution of the device effects this setting a lot, so there's need to experiment a little with settings to achieve whatever you wish. Obviously this is book specific setting, and need to be changed for each individual book. It does work on various formats, though. |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
|
![]() |
![]() |
![]() |
#10 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
Quote:
The other posts here about the size of the increments have been very helpful. Many thanks. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
new kindle pw5 with factory version 5.16.7 | ammadeusy | Amazon Kindle | 4 | 08-31-2024 08:26 AM |
New Kindle pw5 6.8 | micione20 | Kindle Developer's Corner | 0 | 12-13-2023 06:06 PM |
Kindle PW5 Version 5.16.1.2 can be Jailbreak? | Denis | Kindle Developer's Corner | 4 | 08-24-2023 06:38 AM |
Help! Cover imported in grey scale from kindle | pippopelo | Calibre | 4 | 01-25-2016 04:25 PM |
Some epub's won't change font/zoom/scale on the eReader side (Ermine) | bodyshotsbydan | enTourage Archive | 7 | 05-19-2011 07:09 PM |