Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2022, 07:40 AM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
Attached Files
File Type: zip ChareInk.zip (1.56 MB, 288 views)
JSWolf is offline   Reply With Quote
Old 03-08-2022, 11:34 AM   #2
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
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
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	112
Size:	159.1 KB
ID:	192635  
phossler is offline   Reply With Quote
Advert
Old 03-08-2022, 05:58 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by phossler View Post
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
- been ever thus

BR
BetterRed is offline   Reply With Quote
Old 03-16-2022, 11:31 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 12:40 PM.


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