aesTRYERY / flying-saucer

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

The Flying Saucer is not able to read font tags #217

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Created HTML with some <font> tags
2. Provided the html file to Flying Saucer 

What is the expected output? What do you see instead?
The output pdf doesn't have the fonts and font colors dont appear. Instead the 
default font is applied with default color. But instead of using <font> tag, if 
the style - font-family and color is used than it works. But for our project we 
need the <font> tag

What version of the product are you using? On what operating system?
We are using the 'flyingsaucer-R8.zip' version downloaded and used from this 
site.

Please provide any additional information below.
Sample code that I used to conversion:
<div>
<font face="Calibri" color="red">
This doesn't work
</font>
</div>
<div style="font-size: 25px; font-family: Kite One;" color="red">
    This works
</div>

Original issue reported on code.google.com by tejas.ra...@gmail.com on 13 Feb 2013 at 2:39