View Single Post
Old 10-08-2011, 04:17 PM   #1
ndr
Junior Member
ndr began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2011
Device: Kindle
Unhappy Problem with calibre ignoring font styles

Hi, I'm having issues converting mobi file to another format. I can't make calibre to retain font styles.
I've enabled the debug mode, and the input file looks like this:
Code:
<p class="calibre_53"><font face="Times New Roman" color="gray"><span class="bold">Text1</span></font></p>
<p class="calibre_137"><font face="sans-serif">Text2</font></p>
but after conversion (to htmlz, inline) it becomes:
Code:
<p style="display: block; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 15%; text-indent: 1em"><span style="color: gray"><span style="font-weight: bold">Text1</span>
</span></p>
<p style="display: block; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 1%; text-align: center; text-indent: 0"><span>Text2</span></p>
Why the "font face" is ignored? How can I prevent this?

Thanks in advance.
ndr
ndr is offline   Reply With Quote