views:

10

answers:

1

I wonder what would be the best way to catch the font size visible to user in IE. I cannot depend on size related html tags, because they are not inside the html page source code. Somehow I need a way to capture the font visually on browser and determine the font size.

What would you suggest for this?

+1  A: 

I think this article of AListApart will help you, or at least give you some ideas:

http://www.alistapart.com/articles/fontresizing

Anax
Thanks. But what I need is exactly some programmatic approach that I can determine the visual font size to the user. Anyway it is also good to know those;) Thanks again..
israkir
There's JS code on the article, that's why I posted the link.
Anax
Yes, exactly. But what I mentioned in the question is related to this point; I cannot extract any information from source code and cannot embed other lib into the page in which I want to collect the info. Because, it is not my page, I should find some way to do it 'visually'. First thing I came up was using image processing approach to the problem, but I feel JS libs are now very well-developed, so I thought maybe someone can suggest a smarter solution rather than doing it naively;)
israkir