IOS font size, font size problem UIFont2011-06-29
Uifont
Parameters
Fontsize
The size (in points) to which the font is scaled. This value must be greater than 0.0.
The actual fontsize parameter is pointsize, which is a pixel.
The font size on Windows and Mac is consistent.
The English font is equivalent to 1/72 inch, which is about 1/2. 8mm.
12 pt words are printed at about 4.2mm. 12 PX is equivalent to 12 pixels.
Although 4th = (14/72) * 96 = 18.6px is closer to 19px, because 18px is a dot matrix, the system displays the dot matrix size first.
In other words: 4 = 18px
Ing between Chinese font size and English font size (lbs) and pixel value:
8 = 5 lbs (5pt) = (5/72) * 96 = 6.67 = 6px
7 = 5.5 lbs = (5.5/72) * 96 = 7.3 = 7px
John = 6.5 lbs = (6.5/72) * 96 = 8.67 = 8px
6 = 7.5 lbs = (7.5/72) * 96 = 10px
5th = 9 lbs = (9/72) * 96 = 12px
5 = 10.5 lbs = (10.5/72) * 96 = 14px
Small 4 = 12 lbs = (12/72) * 96 = 16px
4th = 14 lbs = (14/72) * 96 = 18.67 = 18px
Small 3 = 15 lB = (15/72) * 96 = 20px
3rd = 16 lbs = (16/72) * 96 = 21.3 = 21px
Xiao 'er = 18 lB = (18/72) * 96 = 24px
2 = 22 lbs = (22/72) * 96 = 29.3 = 29px
Xiao Yi = 24 lbs = (24/72) * 96 = 32px
1 = 26 lbs = (26/72) * 96 = 34.67 = 34px
Small Initial = 36 lbs = (36/72) * 96 = 48px
Initial account = 42 lbs = (42/72) * 96 = 56px