Internet Explorer and AddFontMemResourceEx
- From: Gunnar Liljas <gunnar_liljas@xxxxxxxxxxx>
- Date: Thu, 05 Jan 2006 17:20:00 +0100
I posted this question in m.p.d.f.windowsforms, but I realised that this would be a more suitable group. Sorry for the cross posting.
What I'm trying to accomplish is to enable custom fonts (likely embedded into my application as a resource) in a WebBrowser control (Internet Explorer). It works just great to add fonts using AddFontResourceEx, providing a path to the font file in question, but because of both legal and technical reasons I would prefer to be able to only just add the font in memory, from an (encrypted) embedded resource.
Must the WebBrowser control (Internet Explorer) be able to enumerate the fonts or is there another reason AddFontResourceEx works when AddFontMemResourceEx doesn't?
Perhaps there is another way of accomplishing this? WEFT fonts would be OK if there was a way to create them programatically, I guess.
/Gunnar .
- Prev by Date: Re: [Questions] Multiple GDI+ versions GDIPLUS.DLL 6.0.3260.0
- Next by Date: ExtTextOut and Font Mapping
- Previous by thread: [Questions] Multiple GDI+ versions GDIPLUS.DLL 6.0.3260.0
- Next by thread: ExtTextOut and Font Mapping
- Index(es):
Relevant Pages
|