is there a clean Solution, to calculate Pixeldimension in Relation to Font - Pt ?
There was a lot of testing, to find the values / adjustment for SAY's from Source
in Relation to the Font-Style / Size.
( you can Download the Fonttool again ( Rel. 1.4b ), with some more fixes pointing out to this Problem )
I tested some Solutions from the Internet, but it was not 100 %
My calculation for Font : Bold, Italic, Underline
![Image](http://www.pflegeplus.com/pictures/pixelptn.jpg)
A Solution from Internet :
*is the font-size given in pt, you can calculate the font-size in px by:
*fspx = 1.3333*fspt;
*e.g.
*a font-size specified with: font-size:10pt;
*will lead to a font-size of 13.3333px.
*A font-size, specified with: font-size:2.5em;
*is leading to a font-size, which is 2.5 times that of the bodies font-size.
*e.g.
*you specified the font-size of a div to 1.5 em, you can calculate its
*pixel-value by:
*fsdivpx = 1.3333*fsbodypt*fsdivem
*or
*fsdivpx = fsbodypx*fsdivem
*in both cases is the result 20px
Best Regards
Uwe
![Laughing :lol:](./images/smilies/icon_lol.gif)