![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 2072578
Join Date: Jan 2017
Device: Kobo Aura H20
|
font increments question
Supposedly the thing increments in 1 until a certain size, is that 1px or what is the unit it's using for it's increments because on my aurah20 incrementing from minimum to one to the right definitely increases the fontsize by more than 1px.
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
The font size selected with the adjustment slider is modified by the font-size style set by the publisher in the book's stylesheet. For some reason most pubishers don't like to use the default size for normal paragraphs, and change the scale to something like 0.8em, 133%, "medium", "small", etc. (each publisher is different.) If you convert the books with Calibre then the font sizes might be re-scaled during conversion. Another complication is that the ePub and KePub readers seem to have different ideas of what font size corresponds to "small", "medium", "large", etc.
(Also, the height of one line of text is not the size of the font, but is set by the line-height style. So if the final font size is 20px and the line height is 1.3em say, then each line of text will be 26px high. Edit: One thing to be aware of if you are trying to work out the font size by counting the number of lines on the screen is that the scale used by the line spacing slider is not in em, so although the minimum line spacing on the slider is 1.0, that does not mean 1.0em. I don't know exactly what the scale factor is, but I guess it is approximately 1.3, so the minimum line spacing (on an unpatched device) is about 1.3em. Edit2: Something I forgot that makes it even more complicated: the final line-height also depends on the line spacing built into the font, not just on the raw font size, and not all fonts have the same built-in spacing. So for example there is a huge difference between spacing of the Amasis and Kobo Nickel fonts, even at the same font-size and line-height settings the Kobo Nickel font will occupy a lot more screen space than Amasis. You can change the font's built-in spacing with tools like fontforge, but it can't be changed from the device or the book's stylesheet. So, in short, increasing the slider one notch from the minimum does increase the base font size by 1px, but how that relates to the actual font size you see on the screen depends on the book and the font. Last edited by GeoffR; 04-07-2017 at 12:16 AM. Reason: also depends on the line spacing built into the font |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 2072578
Join Date: Jan 2017
Device: Kobo Aura H20
|
Well the thing itself is using less than 1em for the paragraph but it seems to still be a larger change than I would've thought it would've done. The css says it's 0.917em and the chapter number thing+title is 1.1em but it still seems to be more than that when I do the text increase of 1 from the left. The line-height setting I had for the minimum was 0.8 if I remember right.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
If you want to check the value set by the font size slider, look in the ".kobo/Kobo/Kobo eReader.conf" file for readingFontSize, increment the slider by one, then check the new value of readingFontSize.
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,956
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I read using ChareInk and the line spacing in the font is set to be narrow on purpose. It's so if you like a narrow line space then you are good to go and if you prefer a wider line space then you can use the slider to increase that. It's a best case as it works for everyone. However, the narrow line space can be overridden with a line-height in the CSS.
What I do is I go into the CSS of the book and remove all line-height, text-align of left, and any main body font size. This way, I will have the same font size, the same line spacing, and it will be justified (when not centered or right justified) |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
any of changing the brightness increments on kobo glo hd? | wakkaday | Kobo Reader | 3 | 08-31-2015 02:35 PM |
Question about font types | Wyndham | Marvin | 6 | 10-01-2013 11:10 AM |
Is there a Word macro that can change font spacing in increments? | DSpider | Workshop | 0 | 04-27-2012 04:54 AM |
PRS-350 Change Font Size Increments? | barium | Sony Reader Dev Corner | 4 | 05-23-2011 09:55 AM |
Question about font | jblitereader | Ectaco jetBook | 9 | 04-22-2010 03:55 PM |