Function group Execute on client Platform(s)
FontOps NO All




Populates the list with the window fonts installed on your system, and indicates whether or not they are truetype.

The list must contain two columns, the first character type, the second boolean. The function returns zero for success, less than zero for failure. Having built the list you can search and manipulate the list using the standard list functions and methods.


Do lFontList.$define(lFont,lTrueType)
Do FontOps.$winlistfonts(lFontList)
; returns a list of windows fonts

Do lst(lFontList,1,lFont) Returns lFirstFont
; returns the first font in the list

Do lst(lFontList,lFontList.$linecount,lFont) Returns lLastFont
; returns the last font in the list