Re: Reading font info



Martin S schrieb:
Anyone with information on how to programmatically read information from/for
fonts. I'm planning on doing a font manager (I've got some 17000+ font's
that needs sorting).

Look for EnumFonts and related functions in the Win API. You may also need AddFontResourceEx etc. for not permanently installed fonts.



I'll do it with Lazarus which is Delphi compliant on Linux.

The Win API will be of little use under Linux. If you want to use your program there, better ask in a Linux group.


DoDi
.



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)
  • Re: Using a font which is not installed on the system
    ... 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). ...
    (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)