1px is equal to how many pt
px represents the pixel unit, which is generally the unit used to identify fonts on web pages, while pt represents absolute The unit is generally the unit used to copy logo fonts on web pages. The conversion formula is pt=px*dpi/72. Calculated based on 96dpi under Windows, it can be concluded that 1px is equal to 1*4/3.
Conversion table
px | em | ||
---|---|---|---|
56px |
| 3.5em||
48px | 3em | ##34pt | |
##45px | 2.75em | 32pt | |
42px | 2.55em | 30pt | |
40px | 2.45em | 29pt | |
38px | ##2.35em28pt |
||
##2.3em | 27pt | ||
2.25em | 26pt | ||
2.2em | 25pt | ||
##2.125em |
##24pt | 32px | |
2em | ##22pt |
29px |
|
20pt |
26px | ||
##18pt | 24px | ||
17pt | 23px | ||
16pt | 22px | ||
15pt | 21px | ||
14.5pt | 20px | ||
14pt | 19px |
1.2em |
|
13.5pt | 18px |
##1.125em | |
13pt | 17px | 1.05em | |
16px | 1em | ||
##15px | 0.95em | ||
14px |
0.875em |
##10pt | |
13px |
0.8 em |
9pt | |
12px |
0.75em |
##8pt | |
11px | 0.7em | 7.5pt | |
10px | 0.625em | 7pt | |
##0.55em | 6.5pt | ||
0.5em | 5.5pt | ||
##0.4375em |
5pt | 6px | |
0.375em |
## Recommended tutorial: " | PHP tutorial》 |
The above is the detailed content of 1px is equal to how many pt. For more information, please follow other related articles on the PHP Chinese website!