Character size

Returns width and height of a single character in real pixels.

Parameters

A1 [in,1u]
Device: screen - 5
A2 [in,1u]
Message type - 9
A3 [out,1b]
Whether size obtaining succeeded
BX [out,4i]
Width of a character
BY [out,4i]
Height of a character

Description

This message allows you to obtain size of a character in the text mode of the screen. The size (width and height) is expressed in pixels of the real screen.

It can be useful to compute width to height ratio and draw graphic in text mode.