If you are using WPF, you can do this:

http://msdn2.microsoft.com/en-us/library/ms753303.aspx

Otherwise there's some code here that does what you want:
http://www.bobpowell.net/embedfonts.htm

Chris
 

> -----Original Message-----
> From: Discussion of advanced .NET topics. 
> [mailto:[EMAIL PROTECTED] On Behalf Of Gary Harpin
> Sent: 10 November 2006 08:46
> To: [email protected]
> Subject: [ADVANCED-DOTNET] Fonts as resources??
> 
> Hello all,
> 
>  
> 
> I would like to store a custom font as a resource for an 
> application, is this possible?
> 
>  
> 
> I don't want to install the font in the computers font 
> directory because it is too easy for people to 'borrow' it.
> 
>  
> 
> Regards,
> 
> Gary Harpin
> 
>  
> 
> ________________________________
> 
> The other day upon the stair, I saw a man who wasn't there. 
> He wasn't there again today, I think he's from the CIA.
> 
>  
> 
> [No Disclaimer]
> 
>  
> 
> 
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
> 
> View archives and manage your subscription(s) at 
> http://discuss.develop.com
> 
> 
> 

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to