02-29-2012, 03:13 AM | #1 |
Member
Posts: 13
Karma: 10
Join Date: Dec 2011
Device: iPad
|
Define initial font viewing size
Hi, is it possible to set the initial font size of an ePub - using a size that would be available when the user chooses to increase or decrease font size.
This is probably not recommended but I would like to know what a user is seeing on initially opening the document. |
02-29-2012, 07:26 AM | #2 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Readers don't like it when they open a book and the font size is three times bigger or smaller than the last book they were looking at.
With no font-size specification (or a specification of 1em), they are seeing the font size they have chosen for their particular viewing comfort (for normal body text). |
Advert | |
|
02-29-2012, 02:26 PM | #3 | |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Afaik theres no central item to set a global font-size; but you may give every tag in your epub a specific size via css.
Quote:
I guess: no |
|
02-29-2012, 06:47 PM | #4 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
ePub and its predecessor OEB has 7 font sizes that are supposed to be supported. They need to be called: xx-small, x-small, small, medium, large, x-large, xx-large. If the eBook reader doesn't support all these sizes it can reuse a size it does support. A font size set to larger will go to the next larger font in this set of 7 and a font size set to smaller will go down the list. However, it is likely better not to specify a font size and let the user choose. Dale |
|
03-01-2012, 07:29 AM | #5 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
DaleDe, the wisdom of your remark is illustrated by the fact of all the thread participants, there appears to be no one reader in common. Set it perfect for one and make it off for the rest!
|
Advert | |
|
03-01-2012, 07:51 AM | #6 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Lets have one device in common then.
|
03-01-2012, 08:39 AM | #7 |
Fanatic
Posts: 532
Karma: 3293888
Join Date: Oct 2011
Location: Virginia
Device: Nook Simple Touch
|
And yet... there are situations where it would be nice to have a font display at a particular size. A good example is the e-book display of a table. If the font size is known (or controlled) at the time of development, the developer can make the table display correctly for the most common screen widths.
My opinion is to rethink the necessity of the table, or at the very least, tightly control the width of the table elements and number of columns. Where a table is absolutely necessary, I've had good results with converting the table to an image. If the resulting img (width=100%) is illegible in the width of the display of the smallest anticipated screen size, then rethinking the design of the table is also absolutely necessary. If it is legible, it is a good, if not perfect, solution. So in a nutshell, if you find yourself thinking it necessary to screw with the user-defined font size (or any other user setting), step back and see if there is a more universal, device/user independent solution that will achieve the same result. Last edited by Rob Lister; 03-01-2012 at 08:49 AM. |
03-01-2012, 08:41 AM | #8 |
Zealot
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
|
html is flexible. You do not have control over the users settings nor can you influence them. You have to live with that.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change font size and font style? | butterbescotch | Sigil | 20 | 09-06-2013 08:22 PM |
Determine font and font size on incoming epub? | peaceridge | Calibre | 4 | 01-30-2012 03:35 PM |
Can't change font or font size in ereaders | jmacg | Sigil | 30 | 10-23-2010 09:21 PM |
PRS-300 Med font size too big, but small font size too small | eli2k | Sony Reader | 4 | 05-28-2010 09:47 AM |
Viewing pictures at actual size? | jpt | Astak EZReader | 6 | 11-11-2009 11:15 AM |