Custom Fonts
Admins can import and add custom fonts into the platform. Once imported, the fonts can be accessed by users throughout the application when formatting text elements. They can also be used in theme templates.
Note: Custom Fonts are only available in the Enterprise Edition
Font Types
There are 2 types of custom fonts that can be added:
- Web Fonts: these are web hosted fonts that can be included VIRTUALLY via dynamic link into the system
- Upload Fonts: these are actual web based font files that are uploaded statically into the system
For both font types, Pyramid supports both "WOFF" and "WOFF2" file formats - making them universally operable on almost any HTML5 browser on most devices.
Note: Some web fonts may use other file types that may or may not be compatible with all browsers.
Font Security
Uploaded custom fonts can be secured to be accessible to certain tenants only in a multi-tenant solution. If security is not specified, then the font will be available to all users on the platform.
Adding Custom Fonts
Web Fonts
Click the "Add Web Fonts" button to add a new font to the system
- Provide the URL for the font files. Usually the host or source of the font will provide a unique URL address that points to the relevant WOFF files needed.
- Enter a local caption for the font. The caption is how the font will appear in the font lists throughout the application
- Enter the Font Family Name. This is a CRITICAL item - and it must be entered with 100% accuracy. The family name tells the system exactly which font to use.
- Set a fallback font style in case the browser cannot render the custom font correctly. Sans-Serif fonts are like Helvetica and Arial. Serif fonts are like Times New Roman.
- Optionally add a comment for administrative purposes.
- Enable security if you wish to limit the custom font to a tenant. Then select the relevant tenant.
After entering all the values, click the text button to see a preview of the font. If all the details are correct, you should see it appear correctly. If not, recheck the URL and family name.
Uploaded Fonts
Click the "Upload Custom Fonts" button to import and add a new font to the system
- Enter a local caption for the font. The caption is how the font will appear in the font lists throughout the application
- Enter the Font Family Name. This is a CRITICAL item - and it must be entered with 100% accuracy. The family name tells the system exactly which font to use.
- In the upload panel, upload the different WOFF/WOFF2 files that correspond to the font type (normal, bold, Italic, Bold-Italic).
- At a minimum you only need to upload the Normal font for one file format
- IF you upload WOFF2 (preferred), you do not need to supply WOFF files.
- Set a fallback font style in case the browser cannot render the custom font correctly. Sans-Serif fonts are like Helvetica and Arial. Serif fonts are like Times New Roman.
- Optionally add a comment for administrative purposes.
- Enable security if you wish to limit the custom font to a tenant. Then select the relevant tenant.
After uploading all files and setting the values, click the text button to see a preview of the font. If all the details are correct, you should see it appear correctly. If not, recheck the family name.
Managing Custom Fonts
To manage an existing custom font, click the row in the list to open the edit panel. From here you can adjust all the settings as described above.
Clicking the delete button will remove a font fro the system. Any text that uses a deleted custom font will revert to the browsers standard font.