MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Why is Sigil changing the font size? (https://www.mobileread.com/forums/showthread.php?t=63565)

djloewen 11-28-2009 03:17 PM

Why is Sigil changing the font size?
 
I used Calibre to convert an lrf to epub. In doing so, the book ended up with a duplicate cover. So, I installed Sigil and deleted the second cover picture and page break, and saved it. I was surprised to see that in the resulting epub file, the text is smaller. Just to test, I opened the Calibre-created epub in Sigil and re-saved it without making any changes, and sure enough, the font size got smaller. Why is this happening? Also, what other changes are being made to the document when it passes through Sigil?

Valloric 11-28-2009 04:21 PM

Quote:

Originally Posted by djloewen (Post 672300)
Why is this happening? Also, what other changes are being made to the document when it passes through Sigil?

It is possible calibre is injecting some flow-specific CSS in each XHTML file that modifies the text size. Sigil currently removes flow-specific CSS on import (very long story).

Preservation of flow-specific CSS will be back in 0.2.0.

djloewen 11-28-2009 05:10 PM

Valloric, thank you very much for contributions to the ebook community. Might you be able to give a ballpark guess as to when 0.2.0 will appear?

Valloric 11-28-2009 07:45 PM

Quote:

Originally Posted by djloewen (Post 672413)
Valloric, thank you very much for contributions to the ebook community. Might you be able to give a ballpark guess as to when 0.2.0 will appear?

Ballpark guess? Two months. But that's a big ballpark. Could be a lot sooner, or a lot later. Depends completely on my university workload.

ramjet1953 12-25-2009 01:19 AM

I have also noticed that if I am editing an imported ePub file and I delete a space between sentences it often changes the font of the sentence after the deleted space????

Valloric 12-25-2009 06:31 AM

Quote:

Originally Posted by ramjet1953 (Post 710322)
I have also noticed that if I am editing an imported ePub file and I delete a space between sentences it often changes the font of the sentence after the deleted space????

You probably had a span tag (with styles applied) wrapped around that sentence, and now you've merged the other sentence into that span tag. Naturally, the other sentence now has those same styles too.

kovidgoyal 12-25-2009 10:41 AM

Just to note, you can use the remove first image conversion option in calibre to remove duplicate covers.


All times are GMT -4. The time now is 06:45 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.