Adding Fonts for Graphic-Rendering
AEM allows you to generate graphics incorporating text dynamically taken from your content.
To do this you can also load and use your own fonts.
Currently all implementations of the Java Platform support TrueType fonts.
- Open CRXDE Lite and navigate to your project application folder:/apps/<your-project>/
- Under /apps/<your-project>/ create a new node:
Save all changes.
- Name : fonts
- Type : sling:Folder
- Copy the font files into this folder; for example, using WebDAV.Font files in the repository must have the suffix *.ttf or *.TTF .
- Return to CRXDE Lite. You should now see a .fontlist node in your folder containing the name of the imported fonts.These fonts are now ready to be used in the Java API.
For full details of how to use the fonts with the Java API, see the documentation for the Font class of the Java API .