Configuring and Managing Forms Services 4-33
4.7 Deploying Fonts, Icons, and Images Used by Forms Services
This section explains how to specify the default location and search paths for fonts, icons, and images in Registry.dat. To look at a sample of the default Registry.dat file,
see Section C.8.1, Registry.dat
.
4.7.1 Managing Registry.dat with Fusion Middleware Control
Use Fusion Middleware Control to change, add, or delete parameters from Registry.dat.
To access the Fonts and Icon Mapping page: 1.
Start Fusion Middleware Control.
2. From the Forms menu list, select Font and Icon Mapping.
The Font and Icon Mapping page Figure 4–8
is displayed.
Figure 4–8 Font and Icon Mapping Page
To edit a Registry.dat parameter value: 1.
Start Fusion Middleware Control.
2. From the Forms menu list, select Font and Icon Mapping.
3.
Select the row containing the parameter to modify and change the values for it in the Value text field.
4. Click Apply to save the changes.
To add a Registry.dat parameter and its value: 1.
From the Forms menu list, select Font and Icon Mapping. Note:
To modify the cursor blink rate, or disable blinking, set the client parameter cursorBlinkRate as follows.
PARAM NAME=cursorBlinkRate VALUE=1000 The default is 600 milliseconds: the cursor completes one full blink
every 1.2 seconds 1200 ms. A value of zero disables the blinking and the cursor remains visible all
the time.
4-34 Forms Services Deployment Guide
2.
Click Add. The Add dialog appears.
3.
Enter the name, value, and comments for this parameter.
4. Click Create.
5. Click Apply to save or Revert to discard the changes.
To delete a Registry.dat parameter and its value: 1.
From the Forms menu list, select Font and Icon Mapping. 2.
Select the row containing the parameter to delete and click Delete. 3.
The parameter is deleted.
4. Click Apply to save or Revert to discard the changes.
4.7.2 Managing Application Fonts
Using Fusion Middleware Control, you can also change the default font and font settings by the Registry.dat file. All font names are Java Font names. Each of these
parameters represents the default property to use when none is specified.
To change the font settings for a deployed application: 1.
Start Fusion Middleware Control.
2. From the Forms menu list, select Font and Icon Mapping.
3.
Change any of the settings to reflect your desired font setting, based on Table 4–19
:
Table 4–19 Default Font Values
Font Name Default Value
default.fontMap.defaultFontname Dialog
Represents the default Java fontName. default.fontMap.defaultSize
900 Represents the default fontSize. Note that the size is
multiplied by 100 for example, a 10pt font has a size of 1000.
default.fontMap.defaultStyle PLAIN
Represents the default fontStyle, PLAIN or ITALIC.
Configuring and Managing Forms Services 4-35
For example, to change your default font to Times New Roman, replace Dialog with Times New Roman.
You can change the default font face mappings: default.fontMap.appFontnames=Courier New,Courier,
courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman, MS Sans Serif,Arial
default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog, MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif
4. Click Apply to save the changes.
Some fonts on Windows are not supported in Java. For this reason you can specify map Java-supported fonts that appear when a non-supported font is encountered. In
the previous sample, each font in default.fontMap.appFontnames corresponds to a font in default.fontMap.javaFontnames.
4.7.3 Deploying Application Icons