The Short answer is "Yes" a font needs to be installed, but not necessarily in the systems /usr/share/fonts/ dir
have you tried installing it to ~/.local/share/fonts ?
~/.local/share/fonts will not require root privileges to install there and delete.
Possibly your program can install the font there on load, then use it, then remove it when quitting?
I just tried this and it works....
' Load font during _init() to ensure is loaded before other components
Static Public Sub _init()
If Not Exist(User.Home &/ ".local/share/fonts") Then Mkdir User.Home &/ ".local/share/fonts"
If Not Exist(User.Home &/ ".local/share/fonts/Autumn Wind.ttf") Then Copy "./Autumn Wind.ttf" To User.Home &/ ".local/share/fonts/Autumn Wind.ttf"
End
Public Sub Form_Open()
Dim tb As TextBox = New TextBox(Me)
tb.Text = "hello"
tb.Height = 32
tb.Font = Font["Autumn Wind, 16"]
End
' Remove font file on exit
Public Sub Form_Close()
If Exist(User.Home &/ ".local/share/fonts/Autumn Wind.ttf") Then Kill User.Home &/ ".local/share/fonts/Autumn Wind.ttf"
End