Click here to Skip to main content
15,892,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How I can add some fonts by my program setup?
Posted
Comments
Pete O'Hanlon 17-May-11 15:20pm    
What are you using to write your installer in?
mssabur 18-May-11 9:31am    
install sheild,
Becouse that is One spesial Font

Assuming you are using InstallShield 11, you should follow the details outlined in the InstallShield Help Library topic "Creating Installations > Organizing Files for Your Installation > Using Components > Installing Fonts".
 
Share this answer
 
C#
PrivateFontCollection pfc = new PrivateFontCollection();
pfc.AddFontFile("C:\\Path To\\PALETX3.ttf");
label1.Font = new Font(pfc.Families[0], 16, FontStyle.Regular);
 
Share this answer
 
 
Share this answer
 
Comments
ambarishtv 18-May-11 4:21am    
my 5 :)

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