Page 1 of 1

How do I add a FONT to a .RES file?

Posted: Mon Nov 23, 2020 2:12 pm
by digitsoft
Hello Roger
You can tell me if you can add FONT type in a .RES file

Re: How do I add a FONT to a .RES file?

Posted: Mon Nov 23, 2020 2:50 pm
by rdonnay
I don't believe that is possible.
Bobby Drakos created his own font file but it needs to be loaded.
You would build your own .TFF file and load it like this:
DllCall("GDI32.DLL", DLL_STDCALL, "AddFontResourceA", 'BDMS.TFF' )

Re: How do I add a FONT to a .RES file?

Posted: Mon Nov 23, 2020 3:45 pm
by digitsoft
Thanks Roger4