Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-28-2009, 02:17 PM   #1
djloewen
Connoisseur
djloewen began at the beginning.
 
Posts: 52
Karma: 30
Join Date: Nov 2008
Location: Toronto
Device: Kobo eReader
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?
djloewen is offline   Reply With Quote
Old 11-28-2009, 03:21 PM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by djloewen View Post
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.
Valloric is offline   Reply With Quote
Old 11-28-2009, 04:10 PM   #3
djloewen
Connoisseur
djloewen began at the beginning.
 
Posts: 52
Karma: 30
Join Date: Nov 2008
Location: Toronto
Device: Kobo eReader
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?
djloewen is offline   Reply With Quote
Old 11-28-2009, 06:45 PM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by djloewen View Post
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.
Valloric is offline   Reply With Quote
Old 12-25-2009, 12:19 AM   #5
ramjet1953
Member
ramjet1953 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Dec 2009
Location: Thailand
Device: Hanlin V3
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????
ramjet1953 is offline   Reply With Quote
Old 12-25-2009, 05:31 AM   #6
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by ramjet1953 View Post
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.
Valloric is offline   Reply With Quote
Old 12-25-2009, 09:41 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,427
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just to note, you can use the remove first image conversion option in calibre to remove duplicate covers.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Font size changing Kumabjorn Amazon Kindle 1 07-23-2010 12:49 AM
DR1000 Changing Font-Size ThR iRex 6 06-21-2010 06:29 AM
Changing font size in pdf mrgiedrnkr Amazon Kindle 1 12-01-2009 05:33 PM
changing font size in the new firmware mattgam Astak EZReader 3 11-12-2009 09:37 PM
Changing font size output Candyjet Calibre 1 06-11-2009 10:50 AM


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


MobileRead.com is a privately owned, operated and funded community.