Loading font from file or stream

<< Click to Display Table of Contents >>

Navigation:  Font engine >

Loading font from file or stream

To load font create font object

 

var F: TOTFFont;
F := TOTFFont.Create;

 

and call one of the following methods:

 

LoadfromFile

LoadfromStream

LoadfromWOFFFile

LoadfromWOFFStream