![]() |
#1 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,752
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
File Preview Font BUG
In the editor, I have a problem with the file preview. If I select the font I want to use for the file preview, it does not properly display and I see some serif font instead of the font I want. But if I embed the font, the file preview will display this font.
Can this please be fixed? I've attached the font family in question. Thanks. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
For me,
With no embedded fonts, the file preview uses the default font from Preferences (screenshot) With embedded fonts, the file preview shows the proper font from the CSS |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I cannot replicate this. Fonts specified in CSS are used in the preview panel, provided they are installed system wide, even when not embedded.
As a simple test I added style="font-family: Consolas" to the <body> tag of a simple html file and the text was indeed rendered in consolas even though it was not embedded in the book. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Bug] HTML Comments in Preview | Tex2002ans | Sigil | 4 | 08-22-2018 04:48 PM |
File Preview Window Font Too Small to Read | ssolitar | Editor | 2 | 12-27-2015 06:19 PM |
Vivaldi font showing on calibre file preview, but not on Adobe Reader (Newbie Alert) | lina.w | Conversion | 2 | 01-19-2015 05:31 PM |
Syncing bug in preview window | sellew | Sigil | 13 | 02-26-2013 01:10 PM |
Embedded font bug or CSS bug in ADE | JSWolf | ePub | 10 | 06-11-2011 02:34 PM |