|  06-24-2009, 08:36 PM | #1 | 
| Guru            Posts: 877 Karma: 2676800 Join Date: Aug 2008 Location: Taranaki - NZ Device: Kobo Aura H2O, Kobo Forma | 
				
				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;}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 | 
|   |   | 
|  06-25-2009, 04:53 PM | #2 | 
| Guru            Posts: 877 Karma: 2676800 Join Date: Aug 2008 Location: Taranaki - NZ Device: Kobo Aura H2O, Kobo Forma | 
			
			Anyone have any suggestions??
		 | 
|   |   | 
| Advert | |
|  | 
|  06-27-2009, 04:32 AM | #3 | 
| Guru            Posts: 877 Karma: 2676800 Join Date: Aug 2008 Location: Taranaki - NZ Device: Kobo Aura H2O, Kobo Forma | 
			
			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;}Code: i {font-style:italic; font-family:Fontin;} | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM | 
| iPad Embedded Fonts | JSWolf | Apple Devices | 24 | 04-26-2010 02:41 PM | 
| Embedded fonts in epub | erik5000 | ePub | 7 | 12-08-2009 11:55 AM | 
| ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 08:43 PM | 
| ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 05:56 PM |