How do I create a fonts.ini file?
From Avacast Support
How do I create a fonts.ini file?
The fonts.ini file is required by the FlashPoint PowerPoint converter. It is basically a list of fonts available on the Avacaster server, meaning those fonts will be recognized as "convertable". If the converter encounters a font in the PowerPoint file that is not in the list, a different "default" font will be substituted (usually Times). Therefore, the fonts.ini should be updated if the fonts are installed or uninstalled on the Avacaster server.
Note: this procedure will hopefully be replaced eventually with a more automated utility (which will also be part of the Avacaster installer). However, currently there are permission problems with the file that is generated. Until this is fixed, this procedure is the best option.
The basic procedure is to export the system font list from the Windows registry, run that file through the initexport utility to convert it to a fonts.ini (to ensure proper formatting), and then copy that fonts.ini to the Windows fonts directory. Here is the procedure in detail:
1) Determine the Windows system font directory. On Windows 2000, it is usually C:WINNT(slash)Fonts. On XP, it is C:Windows(slash)Fonts. If there is an existing fonts.ini in there, rename or delete it. Note that it is easiest to work in this directoy from the command line, because the Fonts directory is treated in an unusual way via the Windows interface.
- Select Start -> Run.
- Enter "cmd" in the "Open" field and press Enter or click the OK button.
- At the command line prompt, enter this (assuming you are working with Windows 2000):
- cd C:\WINNT\Fonts
- dir fonts.ini
- If the file is there, rename it as follows:
- rename fonts.ini fonts_old.ini
Leave this command window open because you will need it later.
2) To export the font list from registry file:
- Select Start -> Run.
- Enter "regedit" in the "Open" field and press Enter or click the OK button.
- In the editor, navigate to:
- HKEY_LOCAL_MACHINE
- SOFTWARE
- MICROSOFT
- Windows NT
- CurrentVersion
- Fonts
- Select the Fonts folder so that you see the list of fonts in the right pane.
- Select Export from the File menu.
- Enter "fonts_custom" in the File field and make sure (*.reg) is selected as the file type.
- Navigate to the avacastbin directory (usually C:\Inetpub\avacastbin) and click "Save."
- Select File -> Exit to close the Registry Editor.
Warning: Be very careful not to change any values in the Registry Editor!
3) Convert the .reg file to fonts.ini and install it.
- Returning to the command window, enter this (use correct avacastbin path):
- cd C:\Inetpub\avacastbin
- rename fonts.ini fonts_orig.ini [to backup the factory fonts.ini file]
- initexport fonts_custom.reg -os 200X
- copy fonts.ini fonts_custom.ini [to backup the new file]
- copy fonts.ini C:\WINNT\Fonts [to install the new file]
- dir C:\WINNT\Fonts\fonts.ini [verify that the file is installed]
Note: If the server has Windows 2003 server, use 200X for the -os value.
