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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top