![]() |
#16 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
|
Quote:
As for % figures, they are normally relative to the font-size of the parent element. I'd be cautious about assuming how any particular reading system will default that, though obviously if no element in the 'child->parent' hierarchy specifies a font-size, it would be reasonable to use the user's preferred font-size. 'em' figures are rather the same - they are normally calculated based on what this element's em-size would otherwise be, which is to say, the parent's size. So '140%' and '1.4em' mean basically the same thing. I say 'normally' because some elements (h? for instance) define their own way of getting a default value, which will be used if no other font-size value is provided. I wouldn't expect every reading system to implement all these rules dependably, so if you really care about controlling the font size of your publication, 'px' might actually be the best measure. The CSS spec (linked above) defines a pixel thus: The reference pixel is the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm's length. For a nominal arm's length of 28 inches, the visual angle is therefore about 0.0213 degrees. For reading at arm's length, 1px thus corresponds to about 0.26 mm (1/96 inch). Last edited by Jim Chapman; 06-16-2020 at 07:38 AM. |
|
![]() |
![]() |
![]() |
#17 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I have the solution: let the ebook set all sizes in % (or em, if you like), and you set your base font size in px.
(If you set your base size in em, a space-time singularity will swallow us all, because then there is truly no reference ![]() |
![]() |
![]() |
![]() |
#19 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 755
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
Quote:
In my opinion the better choice for a publisher is to let free the reader to have the maximum possible control over font sizes and over font family, line height, margins (zero for me in css, then I use my Kobo to settle what I want). Many publishers, or even worst self published authors, like to take decisions that should be taken by reader, but a ebook is not a pbook! Last edited by ps67; 06-16-2020 at 04:40 PM. |
|
![]() |
![]() |
![]() |
#20 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
|
I agree with what you say, @JSwolf, @ps67: the great benefit of e-reading is it can put the reader back in control of their reading experience. It does offend me when book publishers impose their own decisions on me, particularly as regards layout, element-sizing and typeface.
They may argue that their choices are artistically justified ... and sometimes they may even be right. Certainly, it's reasonable for the content owner to be allowed to express an opinion about what their content should look like to the reader. But given the diversity of reading systems, and the different preferences and needs of the content users, it really is best if the publishers leave the readers free to customise their reading experience. When I first developed the Freda e-reader, I began by ignoring all publisher-specified information. That was a rather extreme position, which came in for some criticism. Now, the program applies whatever CSS the publisher provides, and I've added settings to let the user ignore various aspects of the CSS (colour, margins, font size and typeface - these being the publisher-specified settings that I most often find annoying). |
![]() |
![]() |
![]() |
#22 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#23 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#24 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 755
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
Quote:
KOReader and Plato instead give some numbers, may be they are px but I don't really know. |
|
![]() |
![]() |
![]() |
#25 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Threadjack: all of this discussion about being able to set the font size, line height, etc. makes me wonder (again) why it is that some/many of us gnash our teeth when we start reading an ebook that has wonky settings for these things. I can't ever remember having this reaction with any printed book. Is it because printed books are typeset by people who automatically avoid the excesses that bother us? Or it something about us being able to fix an ebook? I suspect it's the former; for example, I've pointed out before that I've gone through a bunch of printed novels/fiction that I have and none of them ever use a sans serif typeface; sans serif is only used in technical, cookbooks, programming, how-to, etc. books.
|
![]() |
![]() |
![]() |
#26 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,118
Karma: 105211945
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Very few novels are badly typeset. School books and technical books are variable. But ereaders work best for novels and collections of short stories. I've seen badly done magazines of short stories were the paper version has obviously tried to be fancier than a paperback collection and they seem to have badly converted source done for PDF to paper used for the ebook version. I keep it simple, like the most basic paperback novels, but the source is done for epub. That's then edited for the PDF to paper version simply by setting page size, headers, footers and more printed book style front matter and end matter. Maybe some styles changed. Going the other way seems to be more work and risk of stupid things in the ePub.
I've also found that epub2 from docx (saved as and never edited in LO Writer, save edits as ODT) can be like the LO Writer Screen, and uploading epub2 to Amazon gives the azw and so called enhanced KFX fine, the azw looking just like the epub2. The old Mobi produced by Amazon by that route matches old mobi I'd make myself from epub2. Last edited by Quoth; 06-17-2020 at 02:26 PM. |
![]() |
![]() |
![]() |
#27 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
But really, I didn't mean to modify the book. Leave the book alone as long as it doesn't need fixing. Use the reader's preferences to choose your default size. If it offers you a slider, or a set to choose from, you're rather limited; but if it (directly or indirectly) lets you specify your own "user css", you can specify your font size in px (or pt, or mm, or in...) there. |
|
![]() |
![]() |
![]() |
#28 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The problem is that a lot of people who make eBooks do stupid stuff and we have to go in to fix it. And these are people who work for the big publishers. If we could get them to make eBooks correctly then we would not have to go in and fix them as much as we do. Correctly is to keep it simple which they don't do in most cases. |
|
![]() |
![]() |
![]() |
#29 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,313
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You did notice that you can use a Kobo eReader.conf setting to set the default widows and orphans to 1? As usual with Kobo, if the ebook's CSS calls for widows/orphans=3, it won't override that setting.
Code:
[Reading] readingAdobeOrphans=1 readingAdobeWidows=1 |
![]() |
![]() |
![]() |
#30 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I was talking about an unpatched Kobo without any of the hidden features enabled.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
adjusting picture size in Sigil | rosshalde | Sigil | 5 | 11-10-2014 08:57 AM |
Aura HD Adjusting font color | joanmed | Kobo Reader | 17 | 10-24-2014 12:53 AM |
Problem changing font size using font size key | Waylander | Conversion | 0 | 10-02-2013 03:30 PM |
Adjusting Cover Size | jhempel24 | ePub | 17 | 01-20-2012 05:20 PM |
Help adjusting line size, please. | Stitchawl | Calibre | 4 | 04-05-2009 10:53 PM |