is it possible to calculate the overall Widht and Hight
of a written Text for a special font ?
In my Internet jobs i used :
- Code: Select all Expand view RUN
Approximate Conversion from Points to Pixels
(and Ems and %)
Here's a chart that converts points to pixels (and ems and %).
It's an approximation, which will depend on font, browser and OS,
but it's a good starting point.
Points Pixels Ems Percent
---------------------------------------
6 8 0.5 50
7 9 0.55 55
7.5 10 0.625 62.5
8 11 0.7 70
9 12 0.75 75
10 13 0.8 80
10.5 14 0.875 87.5
11 15 0.95 95
12 16 1 100
13 17 1.05 105
13.5 18 1.125 112.5
14 19 1.2 120
14.5 20 1.25 125
15 21 1.3 130
16 22 1.4 140
17 23 1.45 145
18 24 1.5 150
20 26 1.6 160
22 29 1.8 180
24 32 2 200
26 35 2.2 220
27 36 2.25 225
28 37 2.3 230
29 38 2.35 235
30 40 2.45 245
32 42 2.55 255
34 45 2.75 275
36 48 3 300
Can somebody tell me,
how i can format text in this part ( in the moment i use spaces ) ?
Tabs don't work.
Regards
Uwe [/code]