Announcement

Collapse
No announcement yet.

When to register fonts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • When to register fonts

    If you install a TTF font into the %FontDir% directory, do you need to also issue a Register Font action? I ran my install, which copies 2 font files, if not already there, on a Win 2000 Pro target system. I notice that the install log indicates that the fonts were registered automatically (see snippet below)

    C:\WINNT\Fonts\LSANSUNI.TTF (Installed)
    C:\WINNT\Fonts\FRABK.TTF (Skipped)

    [Installing External]

    [Register Fonts]
    Lucida Sans Unicode (TrueType), C:\WINNT\Fonts\LSANSUNI.TTF
    Franklin Gothic Book (TrueType), C:\WINNT\Fonts\FRABK.TTF

    At the end of the install, I performed a Register Font action for each font - one succeeded, one failed

    START: Perform action: Register Font
    Filename = C:\WINNT\Fonts\FRABK.TTF
    Fontname = Franklin Gothic Book
    (On Error) User notification mode = Simple
    (On Error) Action = Continue
    Result = 0
    END: Perform action: Register Font


    START: Perform action: Register Font
    Filename = C:\WINNT\Fonts\LSANUNI.TTF
    Fontname = Lucida Sans Unicode
    (On Error) User notification mode = Simple
    (On Error) Action = Continue
    Result = 1
    END: Perform action: Register Font

    Questions are: Do I need to register the fonts? Do I need to do it only on certain OS's? Why did the seconf Register Font fail?

    All help appreciated.

  • #2
    Re: When to register fonts

    If you have checked the "Register as True Type font" option on the ADVANCED tab of each font file's properties in Setup Factory, then no, you do not have to manually register that font file. Here is the description from the Command Reference:

    Register as TrueType font
    If checked, Setup Factory will attempt to automatically register and implement this file as a TrueType font during installation. This means that the font will be registered with the operating system and will be made available to the user. In order for this to work, the file must be a valid Windows .TTF file.

    You can therefore remove your two actions to manually register them. This functionality should work the same regardless of the operating system. If you are still having problems, please email me at [email protected]

    Comment


    • #3
      Re: When to register fonts

      Thanks, Darryl.

      SF makes it too easy. I hadn't even noticed the auto register item on the advanced tab. Next time I'll RTFM!

      Comment

      Working...
      X