Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2024, 05:17 AM   #1
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
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.
Waylander is offline   Reply With Quote
Old 11-23-2024, 06:51 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Waylander View Post
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.
Here is a good tutorial on FONT_RAMP.

https://www.kboards.com/threads/usin...choices.235619
JSWolf is offline   Reply With Quote
Advert
Old 11-23-2024, 11:43 AM   #3
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Quote:
Originally Posted by JSWolf View Post
Here is a good tutorial on FONT_RAMP.

https://www.kboards.com/threads/usin...choices.235619
Thankyou for the link. I found a post from 2017 on here with the default font scales for 167ppi, 212ppi, and 300ppi Kindle screens, so used that as a baseline. I'm ok with doing the basic hack and have been doing so for a few years now so that's not the problem. My main issue, which the linked tutorial doesn't address, is what the unit of measurement is for the fonts. I'm looking for more precision in adjusting the font scale, so am looking for how much each increases in terms of this unit. I've seen ".em points" mentioned around here, and I'm wondering what the amount of .em points is for one increase in font size.
Waylander is offline   Reply With Quote
Old 11-23-2024, 02:57 PM   #4
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,115
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Quote:
Originally Posted by Waylander View Post
I found a post from 2017 on here with the default font scales for 167ppi, 212ppi, and 300ppi Kindle screens, so used that as a baseline.
My old comment? :P


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.
shamanNS is offline   Reply With Quote
Old 11-23-2024, 04:13 PM   #5
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Waylander View Post
Thankyou for the link. I found a post from 2017 on here with the default font scales for 167ppi, 212ppi, and 300ppi Kindle screens, so used that as a baseline. I'm ok with doing the basic hack and have been doing so for a few years now so that's not the problem. My main issue, which the linked tutorial doesn't address, is what the unit of measurement is for the fonts. I'm looking for more precision in adjusting the font scale, so am looking for how much each increases in terms of this unit. I've seen ".em points" mentioned around here, and I'm wondering what the amount of .em points is for one increase in font size.
Quote:
Originally Posted by shamanNS View Post
My old comment? :P


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.
That is pretty close. It has been a long time since I did anything with FONT_RAMP but I think this post
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.
j.p.s is offline   Reply With Quote
Advert
Old 11-23-2024, 04:18 PM   #6
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
Here is a good tutorial on FONT_RAMP.

https://www.kboards.com/threads/usin...choices.235619
That is misleading and is now also obsolete. The number of entries has been 14 for years, well before the PW5
j.p.s is offline   Reply With Quote
Old 11-23-2024, 04:51 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by j.p.s View Post
That is misleading and is now also obsolete. The number of entries has been 14 for years, well before the PW5
I'll have a look at my PW3 and see how many font size choices it has.
JSWolf is offline   Reply With Quote
Old 11-23-2024, 05:26 PM   #8
jackm8
Addict
jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.
 
jackm8's Avatar
 
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.
jackm8 is offline   Reply With Quote
Old 11-23-2024, 05:54 PM   #9
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,786
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
I'll have a look at my PW3 and see how many font size choices it has.
My PW3 running 5.9.6.1 has 14 font size choices.
j.p.s is offline   Reply With Quote
Old 11-24-2024, 04:14 AM   #10
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Quote:
Originally Posted by shamanNS View Post
My old comment? :P


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.
Yes! Thankyou, it was what made FONT_RAMP work in the first place for me.

The other posts here about the size of the increments have been very helpful. Many thanks.
Waylander is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:06 AM.


MobileRead.com is a privately owned, operated and funded community.