Total Pageviews

February 9, 2019

2/09/2019 01:51:00 AM
The creation of a font requires only a few steps to be performed:
  1. Log in as XML Publisher Administrator.
  2. Navigate to Administration --> Font Files --> Create Font File.
  3. Available fields are Font Name and File:
    --> For Font Name, choose any descriptive name
    --> File will browse the PC to locate the font file
  4. Navigate to Font Mappings -->Create Font Mapping Set.
  5. Mapping name is the name one will give to a set of fonts.
  6. Mapping code is the internal name one will give to this set.
  7. Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
  8. Create Font Mapping (this allows one to add fonts to a set).
  9. Font Family is the exact same name seen in MS Word under Font. If one does not use the same name the font will not be picked up at runtime.
  10. Style and weight must also match how one uses the font in the RTF or PDF layout template. Normal and Normal are good defaults.
  11. Language and Territory should remain blank (NULL) unless one has a strong business reason, as these fields can cause the font not to be picked up at runtime.
  12. 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.
  13. Select the new mapping set.
  14. Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
  15. 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.
  16. Upload a template that uses the 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.
 
Related Posts Plugin for WordPress, Blogger...