Whoisit

How do I embed a font in my application


Re: Visual Basic Express Edition Embed a font

Tall Dude

See

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=542664&SiteID=1

and also search on privatefontcollection.

I assume you know how to add a resource file

such as a font file.






Re: Visual Basic Express Edition Embed a font

Whoisit

Thanks Dude,

Tried your code but get a squiggley under the following

'copy the bytes to the unsafe memory block
Marshal.Copy(fontdata, 0, data, fontStream.Length)

message overload resolution failed because no accessible 'copy' can be called with these arguments




Re: Visual Basic Express Edition Embed a font

Tall Dude

Do you have all the 'imports' statements shown in

the example