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 highlightThe 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.