1. Introduction
Introduced in XML Publisher 5.6.0 is a new tab named Administration. This replaces the xdo.cfg configuration file and its goal is to simply the administration of XML Publisher as part of an Oracle E-Business Suite environment.
Fonts can be uploaded directly via the Administration pages. They are then stored in the database instead of on the file system.
The Administration tab has 3 more sub tabs:
- Configuration
- Font Mappings and Font Files
- Currencies
The creation of a font requires only a few steps to be performed:
- Log in as XML Publisher Administrator
- Navigate to Administration --> Font Files --> Create Font File
- Available fields are Font Name and File
--> for Font Name, choose any descriptive name
--> file will browse your PC to locate the font file - Navigate to Font Mappings -->Create Font Mapping Set
- Mapping name is the name you will give to a set of fonts.
- Mapping code is the internal name you will give to this set
- Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
- Create Font Mapping (this allows you to add fonts to a set)
- Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
- Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
- Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
- Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def à Template.
- Select your new mapping set.
- Make sure the font is not referenced under File àProperties à Custom in the RTF template file.
- Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
- Upload a template that uses your special font and test using preview or by submitting a concurrent request.
For more information, kindly refer to the XML Publisher documentation accessibly via the References section of this document.
Note: It is still possible to define custom fonts via the xdo.cfg file though that does require for the font files to physically exist on the server.
No comments:
Post a Comment