View Single Post
Old 03-05-2013, 08:53 PM   #1
slpatters
Junior Member
slpatters began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2013
Device: iPad
Font color not being converted correctly

I have an ebook in MOBI format that has coding samples in it which are color coded. When I use Calibre to convert it to ePub the font face and colors are not converted. How can I preserve fonts?

Here are examples (also screenshots attached):

MOBI - main text is in Arial, but code segment is in Courier with grey background (I can't figure out how to show grey background here)
The first thing you’ll notice is that Objective-C uses a completely different syntax for communicating between objects. For example, compare the method calling syntax of C# to the message sending syntax of Objective-C:

person.sayHello(); // C# method calling.
[person sayHello ]; // Objective-C message sending.

EPUB - main text is in Arial, but code segment is in Arial with no highlight
The first thing you’ll notice is that Objective-C uses a completely different syntax for communicating between objects. For example, compare the method calling syntax of C# to the message sending syntax of Objective-C:

person.sayHello(); // C# method calling.
[person sayHello ]; // Objective-C message sending.
Attached Thumbnails
Click image for larger version

Name:	MOBI.png
Views:	282
Size:	18.5 KB
ID:	102354   Click image for larger version

Name:	EPUB.png
Views:	283
Size:	17.3 KB
ID:	102355  
slpatters is offline   Reply With Quote