/build/static/layout/Breadcrumb_cap_w.png

Repackaging Type 1 fonts

I was challenged a couple of days ago to install a Type 1 font.

Here's how I did it:

  1. Open new Project in Installshield ( Flexera Software)
  2. INSTALLDIR = [ProgramFilesFolder]Lexicon Font
  3. Create new Feature -  new Component ( Destination: INSTALLDIR)
  4. Add the Font files ( afm, inf, pfb, pfm ..) in component
  5. Create Custom Action (51)
    Property Name = InstallFont
    Property Value = [INSTALLDIR]
    Location : after CostFinalize 
  6. Create CA ( 3110)
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.NameSpace(Property("CustomActionData"))
    Set objFolderItem = objFolder.ParseName("LexiconNo1ATxt-Regular.pfm")
    objFolderItem.InvokeVerb("Install")
  7. Deferred Execution in System Context ( After StartServices )
  8. screenshots
      

Comments

  • Everything seemed to work fine with this great howto:
    - fonts show in a directory listing
    - registry settings are as they should
    But when I look in explorer into the windows fonts folder the fonts are not there. I've to call the pfm files from the DOS box and reinstall the fonts. Only then they show up and are usable.

    Irlandbiker - Irlandbiker 10 years ago
This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ