WebBrowser control and AddFontMemResourceEx
- From: Gunnar Liljas <gunnar_liljas@xxxxxxxxxxx>
- Date: Wed, 04 Jan 2006 11:45:38 +0100
Not exactly a Windows Forms question, but I failed to find a more suitable group.
What I'm trying to accomplish is to enable custom fonts (likely embedded into my application as a resource) in the WebBrowser control (2.0). 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: Can a SQL trigger raise an event in C#?
- Next by Date: Re: ListView, Removing items.
- Previous by thread: Opposite to TopMost?
- Next by thread: How to use MaskBlt operation in GDI+
- Index(es):
Relevant Pages
|