Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to font register programmatically in win forms.because I have generate HTML to PDF document that time Hindi font not display because font not registered.I want to register all current system font programmatically.

What I have tried:

I want to try static font register like
FontFactory.Register("c:/windows/fonts/Kokila.TTF");
but it's not proper solution for register font.
Posted
Updated 3-Oct-17 2:18am

1 solution

This is something that should be done at install-time for your application, not when your app is running.

Installing a new font requires admin privileges so cannot be done by normal users on a machine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900