![]() |
#1 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
Fancy formatting on Kindle -- how's it done?
I have been building a few books in Calibre to find out how to make nice looking books designs. I am doing this in HTML and then converting to the Kindle 3 (mobi).
Recently I downloaded a sample from a book on Amazon and found amazing formatting. I have no idea how they do this. Maybe someone can give me some hints. I have attached the downloaded .azw1 file. On the Kindle 3 it displays with a Goudy style base font, displays small caps correctly, switches to a sans-serif Verdana style font to display a shaded box. There is no indication in the HTML code that Calibre produces of any of these changes, or even of changes to italics. Obviously something is happening that Calibre knows nothing about. This text looks beautiful compared to the normal text I have been producing with Calibre. Does anyone know how it is done? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
azw1 format files are not ebooks, they are scans of paper books.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
How can that be? The fonts enlarge and the lines wrap when I change font size on the Kindle.
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
I've tried to attach the file but haven't figured out how to do that.
OK found out how now. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
you would get all the answers if you de-drmed the amazon file, via calibre plug ins, converted it to epub with calibre, then examined the resulting code, esp the CSS
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
cybmole: I have done that. I have deDRM plugin installed. I have looked at the HTML code and the CSS file produced. But there is a lot happening that can't be explained. In particular there is no indication of font switching. I didn't think that was possible in the Kindle. But obviously it is.
Kovid says .azw1 files are scanned paperbacks. But I can't see how that is possible since when I increase the font size the line wrap properly. |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
post the title of the free sample please, I'll take a look
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
does everything in the sample reflow/rescale ? maybe there's a mix of scanned images & text ?
e.g. I've been told, on this forum, that mobi does not support drop caps so maybe a workaround with images is being used. |
![]() |
![]() |
![]() |
#9 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
It's the sample listed here: http://www.amazon.com/Histories-and-...1141535&sr=1-1
|
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
The title of the book which has the free sample is: Histories and Fallacies by Carl R. Trueman.
|
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They contain scans of individual letters/glyphs.
|
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jun 2011
Location: Oamaru, New Zealand
Device: KT, Android Tablet and Phone
|
Thanks Kovid. Now I understand! So Calibre does some OCR work to decipher these letters and glyphs! That's impressive.
|
![]() |
![]() |
![]() |
#14 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#15 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
yes - in Kindle for PC, viewing the sample, I see that the opening word - "Introduction", which is in a handwriting style font on a white rectangular background, does not re-scale with the main chapter font; it must be a standalone image
so should there be an option to preserve the scans/images in mobi to epub conversion ? Last edited by cybmole; 07-20-2011 at 03:57 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle wear and tear: How's yours holding up? | chrissy | Amazon Kindle | 31 | 07-22-2011 04:21 AM |
Fancy Schmancy | jerrywojo | Lounge | 5 | 02-18-2011 09:33 AM |
Anyone in the UK with a Kindle fancy being reviewer no. 1? | Ben Thornton | Amazon Kindle | 1 | 08-26-2010 06:48 PM |
how's the kindle for diplaying pdf's | mrmojo | Amazon Kindle | 2 | 05-04-2010 09:59 AM |
The fancy Monsterbag | somnolik | Lounge | 5 | 12-30-2009 09:51 PM |