08-28-2023, 12:00 PM
(08-28-2023, 06:59 AM)a740g Wrote: You could just embed the TTF in your code and then load the font with QB64-PE's _LOADFONT(..., "memory", ...) extension.@a740g where can we find Bin2Data ?
Code: (Select All)
' Loads a binary file encoded with Bin2Data
' Usage:
' 1. Encode the binary file with Bin2Data
' 2. Include the file or it's contents
' 3. Load the file like so:
' Restore label_generated_by_bin2data
' Dim buffer As String
' buffer = LoadResource ' buffer will now hold the contents of the file