Next: xfontmanager
Up: simxlib
Previous: x_font
x_fontmanager
NAME
x_fontmanager - part of Simula to Xlib interface
DESCRIPTION
Xlib_fontmanager class X_FontManager(display);
ref(Xlib_Display) display;
Interface to XWindow Server utilities to find available font
names. Results are carried in an object of class
XTextArray.
SUPERS: Xlib_fontmanager
KIND: Abstract, only subclass XFontManager
INIT: -
Sequencing: (GetFontPath/ListFonts)*
OPERATIONS
GetFontPath
ref(XTextArray) Procedure GetFontPath;
Returns the FontPaths from the XWindow Server. See X11
documentation.
ListFonts
ref(XTextArray) Procedure ListFonts(Pattern,maxfonts);
text Pattern; integer MaxFonts;
List available Fonts matching the text 'Pattern'. The
returned set of font-names is resticted by the parameter
'maxfont'. The names returned can be used as paramters to
the procedure getExactFont in XFontManager, to actually
create a XFont object, so the font can be used from the
Application.