function LoadFromFile(const filename: string); TFontReader
This method loads the named truetype font file.
Note: the object returned by this method will be destroyed automatically when FontManager is destroyed.
var
myFont: TFontReader;
begin
myFont := FontManager.LoadFromFile('my_font.ttf');
...
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 16 Apr 2025