#1 2010-08-04 23:46:10

RaelB
Member
Registered: 2010-08-04
Posts: 29

Very small font with sample page

Hi,

I tried loading the html page from the zip file below into the application, and the font was very small. Perhaps you can take a look.

link:
http://www.bauerapps.com/files/pdftkb.zip

It would be nice if you can add filter for htm files too. (not just html)

Thanks
Rael

Offline

#2 2010-08-05 07:46:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,490
Website

Re: Very small font with sample page

Your html document has a strange style sheet, which is not well handled by THtmlView.

    body, td, th {
        margin: 20px auto 20px auto;
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
          font-size: 80%;  /*this seems consistent across modern browsers*/
        } 

Just delete or comment the font-size line, or change the 80% to 90%.

The comment in the html source code indicates clearly that it was not well formated, according to the css standards. It was a "best guess"...

Offline

#3 2010-08-05 18:54:46

RaelB
Member
Registered: 2010-08-04
Posts: 29

Re: Very small font with sample page

Ok, thanks for the pointer.

I did previously load this page into the original htmlview "BrowserExample" (FrameBrowserId9.exe), and it displayed correctly (i.e normal font size: verdana 10), so I thought the problem was with pdf engine.

I now also tried loading the page in the FrameDem.exe example: in this case the font is very small. I'm not sure what difference is between FrameBrowserId9.exe and FrameDem.exe.

-Rael

Offline

Board footer

Powered by FluxBB