Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2023, 03:48 PM   #1
annako
Junior Member
annako began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2023
Device: none
Font styles show for paragraph tags but not lists

Hi, I'm not sure where to post this so please redirect me if necessary. I'm trying to fix an epub on SIGIL where the font family (a system font) does not display consistently throughout my epub on my specific epub reader (Vitalsource). For example, it'll only show for main paragraph tags like <p class="maintext"> but not for list tags <li class="listtext">. Under both I have declared the exact same font-family (a system font).

It shows fine on Sigil, but not on the reader I'm using (Vitalsource). On VS, the font style works for the main body, but on the lists, it reverts to my back up font family (sans serif). How do I fix this?
annako is offline   Reply With Quote
Old 05-11-2023, 05:21 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,947
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
That would suggest it is a VitalSource reading app issue and not an issue with Sigil.

Since you are trying to use a system font, from what I've seen, for most reading apps, you would need to enable using that font in it's configuration dialog. Using font's external to an epub can be a pain and, in my experience, results in an epub that is not usable on multiple systems.
DNSB is offline   Reply With Quote
Advert
Old 05-12-2023, 08:24 AM   #3
annako
Junior Member
annako began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2023
Device: none
Quote:
Originally Posted by DNSB View Post
That would suggest it is a VitalSource reading app issue and not an issue with Sigil.

Since you are trying to use a system font, from what I've seen, for most reading apps, you would need to enable using that font in it's configuration dialog. Using font's external to an epub can be a pain and, in my experience, results in an epub that is not usable on multiple systems.
I see, thank you! I had tried embedding the font itself into the epub (just having the font file in the font folder, declared in the manifest, etc.), but it didn't fix the issue either..

It's just confusing to me because VS reads the font fine when it's in the main body (<p>) but when it comes to lists <ol><li> it just stops reading it. I thought since it reads it in one code but not in another, its not an issue of the app not reading/supporting the font.
annako is offline   Reply With Quote
Old 05-12-2023, 08:29 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,548
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The reading app may be hardcoded to use a different font for lists.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Conversion Removes Original Paragraph Styles mjdz Conversion 4 06-16-2018 01:21 AM
Question: paragraph spacing and CSS styles rhino79 ePub 3 05-06-2013 05:06 PM
Searching tags to show tags I want even when it has a tag I do not Jade Aislin Library Management 2 04-25-2012 01:01 PM
How can i use the calibre server to show my book lists to someone in the internet? GustavoB Library Management 3 03-23-2012 12:07 PM
Inserting paragraph tags Oldpilot Sigil 3 02-21-2011 12:00 AM


All times are GMT -4. The time now is 05:39 AM.


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