How to add font to Windows?

  • Thread starter Thread starter david
  • Start date Start date
D

david

Hi there,
I need to add new fonts to Windows from my application.
How to do it?

Thanks in advance!

David
 
Use the CreateScalableFontResource and/or AddFontResource[Ex] APIs.

Go here: http://www.pinvoke.net

Then click on "gdi32" on the left-hand treeview and you'll get the P/Invoke
signature for the APIs. MSDN has the actual reference on how to use them.
 
Back
Top