AEM Dynamic Media: Custom fonts not appearing in Template Editor
This article explains why custom fonts uploaded to Adobe Experience Manager (AEM) Assets don’t appear in the Dynamic Media Template Editor font dropdown, and describes the automatic font renaming behavior when fonts are published to Dynamic Media.
Description description
Environment
AEM Dynamic Media (all versions)
Symptoms
- Custom fonts uploaded and published via AEM Assets don’t appear in the font selection dropdown within Dynamic Media Templates.
- Font files are confirmed as published in Dynamic Media, but are missing from the Template Editor dropdown or appear under a different name.
- When fonts are uploaded, Dynamic Media alters the file names by appending the format (For example:
.otfbecomes -OTF,.ttfbecomes -TTF).
Cause
Dynamic Media displays fonts in the Template Editor by their registered font family name, not the original asset filename. Automatic renaming of font files on upload is a default system behavior and can’t be disabled nor configured.
Resolution resolution
Follow the steps below to resolve the issue:
- Upload your custom font file to the appropriate folder in AEM Assets.
- Confirm that the font asset is successfully processed and published to Dynamic Media.
- In the Dynamic Media Template Editor, search for the font in the dropdown using its font family name as defined in the font’s internal metadata, not the file name.
- If the font doesn’t appear, verify that the font’s internal metadata (font family name) is set correctly within the font file before uploading. Fonts with identical family names may be grouped together in the dropdown.
- Be aware that Dynamic Media automatically renames font files by appending the format (For example: -OTF, -TTF) to the name. This behavior is by design and can’t be changed through the AEM UI.
- To verify, open the Template Editor, and check if your font appears in the font dropdown under its font family name.
recommendation-more-help
experience-cloud-kcs-help-kbarticles