class FONT

Features exported to INTERNALS_HANDLER

Class FONT allow to draw characters in style defined by some BASIC_FONT and add some decoration like underline.

Direct parents

conformant parents

BASIC_FONT

Summary

creation features

exported features

Details

make (basic: BASIC_FONT)

require

  • basic /= Void

make_system_specific (font_name: STRING)

It's recommended not to use this function. The font_name is the font name in the system syntax (ex: XLFD for X11).

require

  • font_name /= Void

height: INTEGER
base_line: INTEGER

height from the top to the bottom of characters like 'P' or 'k'. Height is bigger due to characters that go under the base line like 'j' or 'p'.

text_width (text: UNICODE_STRING): INTEGER