Re: Using a font which is not installed on the system

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks again for the replies. AddFontResourceEx() did the trick.
Definitely a much better way to use custom fonts in your app (as opposed to
requiring installation of the fonts to the system).

Dave

"Feng Yuan [MSFT]" <fyuan@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:ul5FaC7xGHA.476@xxxxxxxxxxxxxxxxxxxxxxx

Would AddFontResourceEx() using FR_PRIVATE have any admin privs
requirements?

Nope.

It's different from installing fonts through control panel. Fonts are not
moved to windows\fonts directory and not added to registry.

--
Feng Yuan [MSFT] http://blogs.msdn.com/fyuan



.



Relevant Pages

  • Internet Explorer and AddFontMemResourceEx
    ... What I'm trying to accomplish is to enable custom fonts in a WebBrowser control. ... 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 embedded resource. ...
    (microsoft.public.win32.programmer.gdi)
  • WebBrowser control and AddFontMemResourceEx
    ... What I'm trying to accomplish is to enable custom fonts in the WebBrowser control. ... 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 embedded resource. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Reading font info
    ... I'm planning on doing a font manager (I've got some 17000+ font's that needs sorting). ... need AddFontResourceEx etc. for not permanently installed fonts. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Cello Rising
    ... > Yeah (that's what I'd do given that I had to do it in opengl). ... portable GUI lib with some basic widgets and let people realize, ... that will mean enough widgets to do my app, ... for my commercial app I have to go find some nice fonts to ship ...
    (comp.lang.lisp)
  • Re: 10.1.6 office crash under 10.4.6
    ... discussion list regarding Office v.X and crashes related to fonts. ... Be it Word, Excel, or PowerPoint, we can usually open the app ... log into our system as network users. ... the Applications folder, and reinstalling the folder from the original ...
    (microsoft.public.mac.office)