AngelicTech / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
1 stars 1 forks source link

Font family ignored by THtmlViewer #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?

1. Use the html code below to create a bitmap.
        <table border="0" width="1135" style="font-size: 30; color: #000; font-family: arial;">
            <tr>
                <th>Airplanes Cars Ships</th>
            </tr>
            <tr>
                <th>Building House</th>
            </tr>
            <tr>
                <td ALIGN=center>Tree Sky Ocean</td>
            </tr>
            <tr>
                <td  ALIGN=right>Meat Burguer Fish</td>
            </tr>
            <tr>
                <td  ALIGN=left>PC MAC Windows IOS </td>
            </tr>
        </table>

2. Note that we are using font-family ARIAL.

What is the expected output? What do you see instead?

The expected result would be a table with the text in ARIAL, but even if I 
change to any other font the result is always the same ignoring the font.

Which version of the product are you using? 
I believe its the latest because I started using thtmlviewer last week.

Which compiler version are you
using? 

Delphi XE2

On which operating system?

Windows 7 64 bit

Please attach test html files and screenshots, if appropriate.
Please provide any additional information:

Original issue reported on code.google.com by samuel...@gmail.com on 5 Dec 2013 at 10:59

GoogleCodeExporter commented 9 years ago
Hm, I cannot reproduce this issue with FrameDem.exe 11.4 and newer sources.

If there are no styles defined for <tr>, <th> and/or <td> that override the 
font family you might consider posting source code of a little test application 
that exposes the issue.

Thanks in advance
OrphanCat

Original comment by OrphanCat on 12 Dec 2013 at 6:39

GoogleCodeExporter commented 9 years ago

Original comment by OrphanCat on 26 Apr 2014 at 6:50