To add a new TrueType font adhere to the following steps:
- Add a .ttf file to a location accessible to Expere. Expere uses the Java classloader to locate the font resource, so anywhere in the EAR is acceptable. The best place would be under the resources/fonts directory in the EAR.
- Update the fonts.xml configuration file. Add a new font element to the fonts section with appropriate values for the following attributes:
- Name
- Resource
- Style
- Weight
- Embed
Upon completing these two steps the new font may be used in both dynamic and static documents.
Note: When installing the Expere Document Engine to a Java environment, users will typically use either JBoss or WebSphere. Click the hyperlink to review the configuration instructions for each.