View Single Post
Old 10-05-2010, 04:38 AM   #14
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
The 'fault' is with whoever provided the original document. They would have set a default font size (Or the program they used). Go and moan at them about providing a document that doesn't rescale, and see what help you'll get from them. (none probably)

Open the epub in sigil, open each of the stylesheets, look for font-size: #pt or font-size: #px, especially in body{} or p{} definitions.

Change them to font-size: #em , and as a rough guide:
If the orignal was 'pt' then divide the # by 10 (so for 10pt change to 1.0em)
If the original was 'px' then dividie the # by 20 (so for 20px change to 1.0em)

Save and test epub in reader, if it still won't resize, you'll have to open each of the document sections and also check the header for style content which sets the font-size.

Even worse depending on how old the document or bad the original designer was, there could be thousands of font-definitions in the html code of the documents, which you'll need to remove, search & replace is your friend here.

It could just be one definition in one stylesheet, inside a body{} definition.

The reason the headers aren't stuck at one size, is they are defined differently from the body/paragraph texts, in there own h# definitions (if they've even been defined), and were probably overlooked by the original designer. (be thankful for that)
Perkin is offline   Reply With Quote