Kbase P7559: How to deploy an application with customized fonts?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/28/2005 |
|
Status: Verified
GOAL:
How to deploy an application with customized fonts ?
FACT(s) (Environment):
Windows
FIX:
Progress uses a font set defined in the Registry at the following locations:
HKEY_CURRENT_USER\SOFTWARE\PSC\PROGRESS\<Progress Version>\fonts
HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\<Progress Version>\fonts
This set defines eight items from font0 to font7 which should not be modified by developers, instead new fonts should be defined. When developers add new fonts, these should be delivered with the application.
To accomplish this, the Registry branch where the fonts are defined should be exported or a Progress .INI file with the font configuration for the application should be delivered.
The default behavior for Progress is to read the configuration information from the Registry so in case that the application uses a .INI file, the startup parameters must include the -basekey "INI" and -ininame "<path to INI file>" to be able to load the configuration at the beginning of the session.
Another approach is to use the ini2reg tool to load the font information from the .INI file into the Registry