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.
Answers (5)
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 12 years ago
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:
-
what os version? - SMal.tmcc 12 years ago
Win7 x64
Comments:
-
they need to be added to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts for x64 - SMal.tmcc 12 years ago
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 12 years ago
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 12 years ago