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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2012, 11:56 AM   #1
GeckoFriend
Guru
GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.
 
GeckoFriend's Avatar
 
Posts: 614
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
Font Issues Between Mobi and ePub

I have several books that appear "normal" when viewed as a Mobi but when viewed as an ePub have font issues. There are no embedded fonts; I've also tried converting to ePub removing all fonts, and the problem still remains.

I guess I've had good luck in the past because this issue has not arisen until yesterday. I tried to read six different books and they all had font problems.

I have a related question in that when viewed using the calibre viewer, even though the font changes throughout the text, I can still enlarge it so that it's readable. When I convert the book to ePub and try to read it on my T1, I cannot enlarge the font. That's how I found these problem books.

This is a sample portion of one book as it appears when viewed as a Mobi and as an ePub. The midde paragraph is noticeably smaller when viewed as an ePub.

Spoiler:
"Well, maybe next year, but everything’s all arranged, you know that, we always do it this way.* Come on bird, Peter's going to take you to learn aboriginal dancing and body painting.* Oh please don't roll your eyes, it is absolutely MADDENING!"* Missy turned back to her easel, leaving Falcon to stomp out of the studio muttering, "I hate dancing."
**** Of course, once she was in Australia she had a great time.* Peter had a big beautiful apartment in Sydney where they spent Christmas with Missy and several of her father’s friends.* He was a terrific cook and the table looked like something out of Gourmet Magazine with crystal and silver that glittered in the candlelight.* Missy looked so beautiful and Peter looked handsome, and she got to dress up and even wear a little lipstick and eye shadow.
**** “Powder and paint and perfume,” sang Missy, dancing around and spraying clouds of “Pacific Midnight,” her special Christmas smell of the week.


Spoiler:
<p class="calibre4">“Well, maybe next year, but everything’s all arranged, you know that, we always do it this way. Come on bird, Peter’s going to take you to learn aboriginal dancing and body painting. Oh please don’t roll your eyes, it is absolutely MADDENING!” Missy turned back to her easel, leaving Falcon to stomp out of the studio muttering, “I hate dancing.”</p>

<p class="calibre4"></p>

<p class="calibre4"><span class="calibre23">Of course, once she was in Australia she had a great time. Peter had a big beautiful apartment in Sydney where they spent Christmas with Missy and several of her father’s friends. He was a terrific cook and the table looked like something out of <span class="italic">Gourmet</span></span> <span class="calibre23">Magazine with crystal and silver that glittered in the candlelight. Missy looked so beautiful and Peter looked handsome, and she got to dress up and even wear a little lipstick and eye shadow.</span></p>

<p class="calibre4"></p>

<p class="calibre4">“Powder and paint and perfume,” sang Missy, dancing around and spraying clouds of “Pacific Midnight,” her special Christmas smell of the week.</p>


Can someone identify what is causing the font issue? (Then I can ask you how to fix it.)

Last edited by GeckoFriend; 04-16-2012 at 01:10 PM. Reason: Edited to clarify source of spoiler texts
GeckoFriend is offline   Reply With Quote
Old 04-16-2012, 12:20 PM   #2
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by GeckoFriend View Post
...

Can someone identify what is causing the font issue? (Then I can ask you how to fix it.)
Nothing you've provided can lead anyone to figure out what caused the conversion issue. It may not be a fault in the conversion but, instead, an issue with how the original MOBI is constructed.

The smaller size in the ePub is a result of the Style applied to the <span> wrapping the text in the second paragraph. The <span class="calibre23"> is the issue.

To fix this, you should edit the CSS Stylesheet and alter the .calibre23 entry so that it matches the .calibre4 entry. By approaching it this way any other occurrences or the same issue will also be fixed. Alternately you could just delete the <span class="calibre23"> and the </span> tags to fix this one paragraph. Using this approach is best if there are other places where .calibre23 is used correctly.

I find the easiest way to do this type of editing is to use Sigil to edit the ePub. You can also use calibre's functions for expanding the ePub and use a text editor to make the fixes.

Last edited by dwig; 04-16-2012 at 03:11 PM.
dwig is offline   Reply With Quote
Advert
Old 04-16-2012, 01:16 PM   #3
GeckoFriend
Guru
GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.
 
GeckoFriend's Avatar
 
Posts: 614
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
Quote:
Originally Posted by dwig View Post
.....
The smaller size in the ePub is a result of the Style applied to the <span> wrapping the text in the second paragraph. The <span class="calibre23"> is the issue.

To fix this, you should edit the CSS Stylesheet and alter the .calibre23 entry so that it matches the .calibre4 entry......
Thanks for the help. I used Sigil to edit the stylesheet and the ePub now appears to be fine.

Any suggestions from anyone for the issue of not being able to change font size on the T1 even though it will change using the calibre viewer?
GeckoFriend is offline   Reply With Quote
Old 04-16-2012, 03:25 PM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by GeckoFriend View Post
Any suggestions from anyone for the issue of not being able to change font size on the T1 even though it will change using the calibre viewer?
This may not be the answer to your particular problem, but the only time I've had problems with font scaling on a reader has been when the css in the epub has settings like font-size:18pt, i.e. size is specified in non-scalable points rather than scalable ems or %, e.g font-size:1.5em or font-size:150%

If you open up the epub again (in Sigil or using Tweak epub) you could search for occurrences of font-size: and see what sort of values it has.
jackie_w is offline   Reply With Quote
Old 04-16-2012, 04:31 PM   #5
GeckoFriend
Guru
GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.
 
GeckoFriend's Avatar
 
Posts: 614
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
Quote:
Originally Posted by jackie_w View Post
This may not be the answer to your particular problem, but the only time I've had problems with font scaling on a reader has been when the css in the epub has settings like font-size:18pt, i.e. size is specified in non-scalable points rather than scalable ems or %, e.g font-size:1.5em or font-size:150%

If you open up the epub again (in Sigil or using Tweak epub) you could search for occurrences of font-size: and see what sort of values it has.
Thanks for the help. This did not turn out to be the problem but did steer me to the correct solution. At some time (don't know when but hope it was recently) I must have checked "Disable font size rescaling" in the conversion options. Unchecking and converting the original Mobi fixed the problem.

I hope I don't find too many more books that need to be redone.
GeckoFriend is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 issues of Lovecraft eZine free! (mobi/epub) banjobama Deals and Resources (No Self-Promotion or Affiliate Links) 5 03-28-2012 01:54 AM
Bibliography Conversion Issues - ePub to Mobi Daaf Conversion 2 02-26-2012 04:02 PM
epub to mobi/kindle for FIRE: issues-best practices? photoluminations Conversion 2 10-12-2011 06:16 PM
ePub to Mobi issues with tables apastuszak Conversion 11 06-20-2011 09:19 PM
Conversion Issues - PDF/Word to Mobi/ePub MajC Conversion 1 02-14-2011 08:27 AM


All times are GMT -4. The time now is 08:55 AM.


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