h6. [[FontManager]] h6(. » [[FontManager SWI Calls|SWI Calls]] h6((. » Font_ReadFontMetrics h2. Font_ReadFontMetrics h5. (SWI &4009F) |_<^{width:3em}. Entry | | |<^. R0|<^. Font handle | |<^. R1|<^. Pointer to buffer for [[Font Bounding Box|bounding box]] array, 0 to read size | |<^. R2|<^. Pointer to buffer for X width data, 0 to read size | |<^. R3|<^. Pointer to buffer for Y width data, 0 to read size | |<^. R4|<^. Pointer to buffer for [[Font Miscellaneous Data|miscellaneous data]], 0 to read size | |<^. R5|<^. Pointer to buffer for [[Font Kerning Data|kerning data]], 0 to read size | |<^. R6|<^. Pointer to buffer for [[Font Kerning New Style Data|new style kerning data]], 0 to read size[1] | |<^. R7|<^. 0 | fn1. Available from version 3.41 onwards. |_<^{width:3em}. Exit || |<^. R0 |<^.File flags| |<^. R1 |<^.Size of bounding box data| |<^. R2 |<^.Size of X width data| |<^. R3 |<^.Size of Y width data| |<^. R4 |<^.Size of miscellaneous data| |<^. R5 |<^.Size of kerning data| |<^. R6 |<^.Size of new style kerning data| |<^. R7 |<^.Corrupted (maybe)| h4. Use This call reads information in the font's IntMetrics file. h4. Notes Currently not permitted on fonts which have a transformation matrix applied. All values are signed millipoints, unless specifically stated. Width data is an array of 256 words, bounding box data an array of 256 x 4 words (x0, y0, x1, y1). This data is only returned for the first 256 characters of the font. This call is of doubtful use for fonts with up to 2 billion characters, so should use [[Font_CharBBox]] or [[Font_ScanString]] instead of using R1 to R3 in this call. The output values of R1 to R6 will be zero if no information is present in the file be examined. h4. See also * [[Font_CharBBox]] * [[Font_ScanString]] * [[Font Bounding Box]] * [[Font File Flags]] * [[Font Kerning Data]] * [[Font Kerning New Style Data]] * [[Font Miscellaneous Data]]