faced with a strange moment. I look at the contents of the arial.ttf:
'hhea' Table - Horizontal Header
--------------------------------
Size = 36 bytes (expecting 36 bytes)
'hhea' version: 1.0
yAscender: 1854<--------------------------------Ascend;
yDescender: -434
yLineGap: 67
advanceWidthMax: 4096
minLeftSideBearing: -1361
........................................
........................................
Symbol "T"
Glyph 55: off = 0x00004B08, len = 258
numberOfContours: 1
xMin: 48
yMin: 0
xMax: 1210
yMax: 1466
.............
Coordinates
-----------
0: Rel ( 531, 0) -> Abs ( 531, 0)
1: Rel ( 0, 1293) -> Abs ( 531, 1293)
2: Rel ( -483, 0) -> Abs ( 48, 1293)
3: Rel ( 0, 173) -> Abs ( 48, 1466)
4: Rel ( 1162, 0) -> Abs ( 1210, 1466)
5: Rel ( 0, -173) -> Abs ( 1210, 1293)
6: Rel ( -485, 0) -> Abs ( 725, 1293)
7: Rel ( 0, -1293) -> Abs ( 725, 0)
........................................
If I set the font size in the test program to 1854/64, I have to see the array coordinates such as a ttf. But it is not so
FTTFFont.SizeInPoints:=1854/64;
............................
_glyph^.outline.points^=
{
{
X = 514, Y = 0},
{
X = 514, Y = 1253},
{
X = 47, Y = 1253},
{
X = 47, Y = 1420},
{
X = 1172, Y = 1420},
{
X = 1172, Y = 1253},
{
X = 702, Y = 1253},
{
X = 702, Y = 0},
.........
}
Why they are a little less?