Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-03-2009, 02:48 AM   #1
dordale
Wizard
dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.
 
dordale's Avatar
 
Posts: 1,063
Karma: 286552
Join Date: Apr 2008
Device: Sony PRS-650 & 350; iPad air; Kindle PW2
Calibre 6 and ePub changing fonts?

Hi all--
I've looked around for an answer to my question, but have only succeeded in confusing myself.

I've been changing the font for my ePub files to Fontin with Calibre using Zelda Pinwheel's excellent instructions in this post:

http://www.mobileread.com/forums/sho...6&postcount=18

This has always worked perfectly for me with Calibre 5x, but since upgrading Calibre to 6 it doesn't seem to work.

I'm inserting the font information into the "Extra CSS" dialog box under the "Look and Feel" option exactly as I had done in Calibre 5x, but the ePub produced does not use the Fontin font I requested.

I'm sure I'm missing something simple, and would appreciate any pointers on how to make this work!

Thanks!!!

dordale
dordale is offline   Reply With Quote
Old 08-03-2009, 04:16 AM   #2
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: 36,130
Karma: 17161828
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by dordale View Post
Hi all--
I've looked around for an answer to my question, but have only succeeded in confusing myself.

I've been changing the font for my ePub files to Fontin with Calibre using Zelda Pinwheel's excellent instructions in this post:

http://www.mobileread.com/forums/sho...6&postcount=18

This has always worked perfectly for me with Calibre 5x, but since upgrading Calibre to 6 it doesn't seem to work.

I'm inserting the font information into the "Extra CSS" dialog box under the "Look and Feel" option exactly as I had done in Calibre 5x, but the ePub produced does not use the Fontin font I requested.

I'm sure I'm missing something simple, and would appreciate any pointers on how to make this work!

Thanks!!!

dordale
Sound like you'll have to do it the manual way after the ePub is generated. keep the information in the Extra CSS so the font declarations are in the CSS. But then you'll have to go into the ePub and extract the files so you can then look at the content & CSS to see where to put the font family declarations in the CSS. Then put the CSS back into the ePub and enjoy reading.
JSWolf is online now   Reply With Quote
Old 08-03-2009, 12:22 PM   #3
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: 25,375
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
For the moment calibre strips font-face rules from extra css. Once I implement font embedding, this will no longer be the case.
kovidgoyal is online now   Reply With Quote
Old 08-03-2009, 01:45 PM   #4
dordale
Wizard
dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.
 
dordale's Avatar
 
Posts: 1,063
Karma: 286552
Join Date: Apr 2008
Device: Sony PRS-650 & 350; iPad air; Kindle PW2
Thanks for the replies Jon and Kovid.

And thanks for such a great program Kovid! I really do appreciate all of your efforts.

I'll look forward to the font embedding implementation once you have that ready.

dordale
dordale is offline   Reply With Quote
Old 08-03-2009, 01:50 PM   #5
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: 25,375
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually, I decided to just fix @font-face handling right now as it will be some time before I have the time to implement font embedding, so it should work as before in the next release.
kovidgoyal is online now   Reply With Quote
Old 08-03-2009, 02:39 PM   #6
siulayhumga
Connoisseur
siulayhumga began at the beginning.
 
Posts: 55
Karma: 12
Join Date: Jun 2009
Device: Sony PRS 505
I think this explain the problem I am having also. Looking forward to the update.

Thanks
siulayhumga is offline   Reply With Quote
Old 08-03-2009, 03:24 PM   #7
dordale
Wizard
dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.
 
dordale's Avatar
 
Posts: 1,063
Karma: 286552
Join Date: Apr 2008
Device: Sony PRS-650 & 350; iPad air; Kindle PW2
Quote:
Originally Posted by kovidgoyal View Post
Actually, I decided to just fix @font-face handling right now as it will be some time before I have the time to implement font embedding, so it should work as before in the next release.
Thanks Kovid!! Looking forward to the next update!

dordale
dordale is offline   Reply With Quote
Old 08-03-2009, 04:30 PM   #8
slantybard
my parent's oops...
slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.
 
Posts: 300
Karma: 1182942
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura
Darn, I wish I had seen Kovid's reply before I delved into the css and html files generated in the epub. No wonder I couldn't find the @font-face and src references. heh heh. Thanks Kovid.
slantybard is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to embed fonts in ePub after Calibre fiery ePub 73 01-31-2013 01:55 PM
Changing fonts Soxendom OpenInkpot 2 01-03-2010 10:14 AM
Calibre epub with special fonts on Iphone Noia Calibre 0 09-14-2009 01:32 PM
Changing Fonts to an LRF el.astrologo Workshop 1 03-24-2009 02:28 PM
Changing fonts in MobiPocket HarryT iRex 18 08-31-2007 04:34 AM


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


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