Method TrueType

Namespace TallComponents.PDF.Layout.Fonts
Class Font

Get a TrueType font from a TrueType collection (.TTC) file.

To specifiy a TrueType font in XML use the font attribute and assign a value equal to the concatenation of the TrueType collection path and the font name, separated by a question mark.

Syntax

public  Font  TrueType( String  path String  fontName )

Returns

Font

Parameters


String path
Relative or absolute path to TrueType collection file.

String fontName
Name (case-insensitive) of the TrueType font inside the collection.