View Single Post
Old 10-06-2022, 03:24 PM   #1
Vanguard3000
Groupie
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 169
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
Preview error box using custom fonts

Hi, I've noticed this for a long time, but thought I'd bring it up for discussion. Basically, the red error window in the Preview pane uses headers and paragraphs that respect stylesheets linked in the document, and I think that maybe they shouldn't if possible.

From time to time, I'll be editing an ebook that uses a custom font for chapter headers (<h2>). Because the error message in the Preview pane respects linked styles, the error header (and presumably the body text if that is styled) will be presented using the defined styles from the linked sheet. Normally, this'll just mean an amusingly themed error heading, but in some cases it can make the error header illegible.

The instance that prompted me to post this is an ebook I'm editing that uses alien number glyphs as chapter headers. See attached for a sanitized example.

I know it's not a big deal but it seems like it ought to be a pretty quick improvement - the error headers and body text could just override the font-family style.

As a bonus, it'd be nice if they could word wrap, but that's not as big an issue in my opinion.

In any case, Sigil is great - keep up the good work, devs!
Attached Thumbnails
Click image for larger version

Name:	dingheader.jpg
Views:	114
Size:	88.7 KB
ID:	197014  
Vanguard3000 is offline   Reply With Quote