04-16-2021, 03:37 PM | #1 |
Member
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?
|
04-17-2021, 03:00 PM | #2 |
A Hairy Wizard
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.
|
04-17-2021, 04:02 PM | #3 |
Addict
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.
|
|
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 |