Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FifteenWindows/OS Functions (continued)

CreateFontSubTable Function

Overview

The CreateFontSubTable function creates a Font Substitution Table Object to allow font names to be translated into web safe names.

Syntax/Parameters

Syntax

handle = CreateFontSubTable ( [string filename] );

Parameters

filename‡

A string specifying an optional name containing a substitution table to load. If the parameter is omitted, the application’s default substitution table is loaded.

‡ this will be added in a later release.

Return Value

Returns a handle to a Font Substitution Table Object or NULL_HANDLE on failure. Use the GetLastError function to retrieve error information. Use the CloseHandle to release the handle.

Remarks

The Font Substitution Table allows to various font names to be translated into acceptable and common font names that can be used by web browsers.

Related Functions

Platform Support

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

Legato IDE, Legato Basic