Quote:
Originally Posted by ndr
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
|
I don't think it is correct usage .You have 2 words
font and
face
Example from W3Schools
<p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p>