![]() |
#1 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Italic/bold not showing
On one particular book, <i> and <b> tags and CSS rules with "font-style: italic" and "font-weight: bold" are being ignored in the previewer. In case it was just the previewer, I saved the book and opened it with the viewer, and it still doesn't show italic and bold. I don't have this problem with any other book.
I'm attaching a couple of screen shots: the first one uses "font-style: italic" in class "ded", which shows up in the "computed final styles" in the Live CSS pane; in the second I've explicitly added <i>...</i>, which shows up in the editor pane but not the preview. Does anyone have any idea what can be causing this? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,310
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
it will be the font being used, Qt has trouble with certain fonts.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Oops, that's it. Many thanks!
Last edited by Phssthpok; 02-05-2019 at 10:53 AM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,310
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The other place that fonts are specified is in the editor preferences, presumably you changed those to use a font Qt has trouble with. Or youy are mistaken about there being no fonts specified int he book, attach the book and I can check.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to do italic and bold | bookman156 | ePub | 166 | 04-09-2016 03:43 PM |
Using italic and bold instead of emphasis and strong | hardbound | ePub | 12 | 05-24-2014 07:20 AM |
iPad "Upgraded" to iBooks 3.2 – Bold fonts are extra-bold, italics are now bold-italic | MHC | Apple Devices | 4 | 03-03-2014 01:50 PM |
The bold and italic buttons on the bar | Artha | Sigil | 15 | 12-04-2011 04:52 PM |
italic, bold etc to normal | cybmole | Sigil | 11 | 03-04-2011 10:37 AM |