Hi,
how can I load a font, e.g. TTF font located in @scriptdir and use it in GDI+?
I don't want to install the font - just wanna use it!
I found this but how can I use it in GDI+?
Func _LoadFont($Fontname)
$s_p = DllStructCreate("char[" & StringLen($Fontname) + 1 & "]")
DllStructSetData($s_p, 1, $Fontname)
$msg = DllCall("gdi32.dll", "int", "AddFontResource", "ptr", DllStructGetPtr($s_p))
;~ DllStructDelete($s_p)
If @error = 1 Then MsgBox(0,