Text attributes and font information are stored in the rastport fields font, algostyle, txflags, txheight, txwidth, txbaseline and txspacing. These are normally set by calls to the graphics font routines which are covered separately in the chapter on "graphics library and text".