/build/static/layout/Breadcrumb_cap_w.png

Packaging .PFM Font files.

I need to package few font files. ".PFM"

I created a base msi and added files to c:\windows\fonts directory.

Then in the font table under File_ column selected 6 font files. Do i need to add anything else? Registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" Or fonts table will create those keys?

I am getting 1907 could not register a font.

Thank you.



0 Comments   [ + ] Show comments

Answers (5)

Posted by: SMal.tmcc 11 years ago
Red Belt
1

you will need to add the keys

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"fontname (TrueType)"="filename.ttf"

You would need to reboot to see the fonts.


Comments:
  • http://blogs.technet.com/b/rspitz/archive/2010/09/25/how-to-install-a-font-from-the-command-line-on-windows-7.aspx - SMal.tmcc 11 years ago
Posted by: ogeccut 11 years ago
Black Belt
0

the problem is i do not see anything in the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts

I see an entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Type 1 Installer\Type 1 Fonts

And when i try to add it to my msi i do not see it in the registry after i install an msi.


Comments:
Posted by: ogeccut 11 years ago
Black Belt
0

Win7 x64


Comments:
  • they need to be added to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts for x64 - SMal.tmcc 11 years ago
Posted by: ogeccut 11 years ago
Black Belt
0

I added registry to Type 1 Fonts in Wow6432Node. Still no go. do i need to have infs and other files in the msi, or just .PFM?


Comments:
  • did more research and found that the type 1 fonts do not work well with this method
    this link suggests convert them to open type and then they will install with the above method.
    http://serverfault.com/questions/189914/windows-7-install-type-1-fonts-via-command-line - SMal.tmcc 11 years ago
Posted by: ogeccut 11 years ago
Black Belt
0

Thanks for the reply. Gives me something else to try. The link is saying that i need to convert the fonts to open type fonts. And a link to the site that does it. However site is not functioning. Does any one know of a tool to convert fonts?

Free and easy to use :)

Thank you.


Comments:
  • never used it but it is open source - http://voices.yahoo.com/use-fontforge-convert-fonts-otf-ttf-pfb-pfm-6391402.html - SMal.tmcc 11 years ago
 
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