FontOps.$replistfonts()

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

Syntax

FontOps.$replistfonts(list)

Description

Populates the specified list with the report 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.

Example

Do  lFontList.$define(lFont,lTrueType)
Do FontOps.$replistfonts(lFontList)
# returns a list of report fonts

Do lFontList.$linecount() Returns lNumberOfFonts
# returns the total number of report fonts

Do tot(lFontList,lTrueTypeReturns lNumberOfFonts
# returns the number of truetype fonts

Do totc(lFontList,lTrueType=kFalseReturns lNumberOfFonts
# returns the number of non-truetype fonts