Re: How to determine a Truetype Filename

From: Kurt Barthelmess (kbarthelmess_at_compuserve.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 18:52:28 GMT


"Hebron" <hslorenzo@hotmail.com> wrote:

>I need to be able to determine the filename of a chosen TrueType font.
>Problem is, there appear to be multiple versions of the names in the
>registry.
>
>For example, in a font selection list, I might see the name
>"Futura MdCn BT" For Futura Medium, Condensed.
>
>In the key: HLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts
>I will see a name like "Futura MdCn-Italic BT (TrueType)" with an
>accompanying value of the desired .TTF filename. This name is
>sufficiently dissimilar that I cannot easily derive it from the former
>name that I saw in the user-font-selection-list.

I'm not sure there is a way to do that except by looking in the
registry. Perhaps if you explain why you need the file name, somebody
can suggest an alternate approach.

Good luck.

Kurt



Relevant Pages

  • Re: Static IP Setting,
    ... Please don't separately post the same question to multiple groups. ... Now in my application i tried to read the registry with the following: ... DWORD receiveType; ... DWORD receiveSize; ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Adding Function to ActiveX EXE
    ... registry, ... If you see the object name shown multiple times, ... run the command and click on "Component Services" ... registry entries to create. ...
    (microsoft.public.vb.com)
  • Re: Multiple OE Databases on One Mac
    ... I found multiple copies of OE on ... no luck. ... tried in vain to get Identity #1 back as the primary Identity, ... I can't recall the specific messages I rec'd, but OE did not seem to want to ...
    (microsoft.public.internet.outlookexpress.mac)
  • Opening multiple files in context menu
    ... KB), filepath, creation date and/or time, a counter, parent folder, the ... when you select multiple files, the paths would be passed to the ... registry, then the first instance would collect these, the others would ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: CD-ROM drive cannot read CDs
    ... I have tried multiple ... methods to fix this, such as deleting the registry and doing a ...
    (microsoft.public.windowsxp.help_and_support)