Click here to Skip to main content
15,902,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I would like to use a serie of otf fonts in one of mine application.
I tried to look for it on Google, but I only found this, but I don't know where can I put those line of code:
XML
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">   <!-- Other project build settings ... -->
  <ItemGroup>     <Resource Include="resources\Peric.ttf" />     <Resource Include="resources\Pericl.ttf" />   </ItemGroup> </Project>
<


Can you help me?

Thanks a lot!

JYmmy097
Posted

 
Share this answer
 
Comments
LLLLGGGG 4-Jan-14 10:23am    
It tells me that the class it's using is outdated (not for frameworks higher than 3.5) I think I will install the fonts in my Windows/Fonts, but if anyone has other ideas, they'll be well accepted!! :)
Ok, found solution:

/Main;component/Fonts/#EffectsEighty
 
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