draw.AddFontResource
Syntax
draw.AddFontResource(ttfdata)
Parameters
ttfdatastring- The .ttf file data.
Notes
Note
For more information about the different types of fonts check the Font List
Appears in: Draw Text With Custom Font