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 06-24-2009, 09:36 PM   #1
sherman
Addict
sherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animals
 
Posts: 273
Karma: 6566
Join Date: Sep 2008
Location: New Plymouth - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
Using embedded fonts with italics only

How can I get embedded fonts to be used for italics only when converting from various source documents ((x)html based)? I am converting to LRF.

Currently, in CSS override I have
Code:
i	{font-family: Fontin;}

.italic	{font-family: Fontin;}
This works great when the source document uses <span class=italic> for italics, but falls apart dismally if the source doc uses <i></i>. In fact, I completely loose italics in the converted file.
Is there a way to get calibre to change <i></i> to <span class=italic></span>? Or is there another way to get the same result (without having to change my source files!!)?

Cheers
sherman is offline   Reply With Quote
Old 06-25-2009, 05:53 PM   #2
sherman
Addict
sherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animals
 
Posts: 273
Karma: 6566
Join Date: Sep 2008
Location: New Plymouth - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
Anyone have any suggestions??
sherman is offline   Reply With Quote
 
Advertisement
Old 06-27-2009, 05:32 AM   #3
sherman
Addict
sherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animalssherman is kind to children and small, furry animals
 
Posts: 273
Karma: 6566
Join Date: Sep 2008
Location: New Plymouth - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
For those who are interested, I figured out something that works - I don't know how "correct" it is, but hey...

Basically,
Code:
i {font-family:Fontin;}
Became
Code:
i {font-style:italic; font-family:Fontin;}
sherman 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
Embedded fonts, Calibre, and choice of fonts AlexBell ePub 8 05-30-2010 07:00 AM
iPad Embedded Fonts JSWolf Apple Devices 24 04-26-2010 03:41 PM
Embedded fonts in epub erik5000 ePub 7 12-08-2009 12:55 PM
ePub embedded fonts JSWolf Ectaco jetBook 9 09-14-2009 09:43 PM
ePub + Embedded Fonts Cygfrydd ePub 11 03-02-2009 06:56 PM


All times are GMT -4. The time now is 06:11 PM.


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