![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
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:
Spoiler:
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 |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#3 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
Quote:
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? |
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
Quote:
![]() I hope I don't find too many more books that need to be redone. ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |