Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FifteenWindows/OS Functions (continued)

ConformFontName Function

Overview

The ConformFontName function processes a source font name (font family) and translates it to a web safe name.

Syntax/Parameters

Syntax

string = ConformFontName ( handle hFST, string name );

Parameters

hFST

A handle to a Font Substitution Table Object.

name

A string specifying a font family name.

Return Value

Returns a string containing a revised font name or empty on failure. Use the GetLastError function to retrieve error information. In addition, the last error value will contain substitution flags on successes.

Remarks

If the table does not contain a web safe analog, the string is returned as is. The string will only be empty if the provided handle is invalid.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic