Text related objects can be handled with the font option
Examples of fonts are:
The most important requirement with the font model is to ensure that there is always a "best possible" font present. For example, if an application tries to use the font
Note that GS requires that the following fonts are available if using an X-server display:
To find out which font is actually chosen by the
G=gs:start().
{1,<0.20.0>}
2>gs:read(G,{choose_font,{times,38}}).
{times,[],38}
3> gs:read(G,{choose_font,{screen,italic,6}}).
{courier,italic,6}
4>
]]>
When programming with fonts, it is often necessary to find the size of a string which uses a specific font.