Re: [ADVANCED-DOTNET] Retrieving Font from Resource File

2008-03-18 Thread Peter Vertes
Thanks Peter, let me give it a try a report back how it went. -Pete On Mon, Mar 17, 2008 at 4:18 PM, Peter Ritchie < [EMAIL PROTECTED]> wrote: > I haven't tried it, but you could try using > PrivateFontCollection.AddMemoryFont(). Based on signature, something like > the following? > > // load o

Re: [ADVANCED-DOTNET] Retrieving Font from Resource File

2008-03-17 Thread Peter Ritchie
I haven't tried it, but you could try using PrivateFontCollection.AddMemoryFont(). Based on signature, something like the following? // load of font resource and retrieval of it's length performed previous GCHandle gcHandle = GCHandle.Alloc(loadedFontResource, GCHandleType.Pinned); try { privat