Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2021, 03:37 PM   #1
Cepheus
Member
Cepheus began at the beginning.
 
Cepheus's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2019
Device: Kindle
Sections in ePub do not use correct fonts

I have an ePub with special sections in multiple chapter. Through the CSS the numbered lists and poetry are set to display in san-serif font. It all works correctly except for one chapter that uses the font the device is set to (please see attached jpeg). The HTML and CSS is the same for all the chapters. Has anyone else ever run into this?
Attached Thumbnails
Click image for larger version

Name:	Wrong text.jpg
Views:	258
Size:	631.1 KB
ID:	186656  
Cepheus is offline   Reply With Quote
Old 04-17-2021, 03:00 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,223
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Without seeing the CSS/html it's hard to say. However, if your font works in some sections, but not others it pretty much HAS to be in your css/html. Also, confirm that particular page is linked to the css page properly.
Turtle91 is online now   Reply With Quote
Old 04-17-2021, 04:02 PM   #3
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
You say the html is alike, but my first thought is that perhaps this section uses li > p rather than just li, and the css for p is being applied.
phillipgessert is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Correct kerning with custom fonts psbernitz Onyx Boox 0 03-30-2020 03:56 AM
koboish: Script that convert your epub to a kepub.epub with the correct bookcover !! the_m Kobo Reader 4 01-24-2013 11:01 PM
How do I correct varying section breaks (epub to epub) library addict Calibre 0 02-21-2012 01:56 PM
mobi to epub - sections cause page break sonyreaderfan Conversion 1 12-02-2011 05:17 AM
PRS-600 PRS-600 doesn't display correct fonts in ePub files. MSJim Sony Reader 29 08-07-2010 07:06 PM


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


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