Roxas240 / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

Font style is ignored while converting to pdf #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an html file with font tag specifying Arial font, red color and size 5
2. Convert this to PDF.

What is the expected output? What do you see instead?
Expected output:
The text "TEST" must be red in color, Arial font and size 5.
Original output:
The text "TEST" is in black color with default font, color and size.

What version of the product are you using? On what operating system?
I am using R8 release.

Please provide any additional information below.

HTML File:

test.html

<html>
  <body>
    <font face="Arial" color="red" size="5">TEST</font>
  </body>
</html>

Original issue reported on code.google.com by drrgd...@gmail.com on 13 Mar 2013 at 9:12

GoogleCodeExporter commented 9 years ago
you must use CSS rule for font face. It's in the doc.

Original comment by rom...@evr.fr on 8 Jul 2014 at 9:46