Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Custom Font packages not working in aem 6.2

Avatar

Level 2

I have tried importing new fonts in aem 6.2 under /etc/designs/myapp/fonts and /apps/myapp/fonts  where fonts is sling:folder and then made the font entry GFX font Helper. The fontlist node is created automatically in the fonts folder. But when i try to use the few font in the font-family it shows me no changes. I have even downloaded various fonts from internet and used them but still no changes. I feel that the custom fonts are not working.

1 Reply

Avatar

Administrator

Hi

I would request you to try this documentation :

Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/platform/adding-fonts.html

//  Adding Fonts for Graphic-Rendering

  • Open CRXDE Lite and navigate to your project application folder:
        /apps/<your-project>/

  • Under /apps/<your-project>/ create a new node:

    • Name: fonts
    • Type: sling:Folder

    Save all changes.

  • Copy the font files into this folder; for example, using WebDAV.

    • Update the OSGi configuration of Day Commons GFX Font Helper. Add the path to your fonts folder; i.e. /apps/<your-project>/fonts.

    • 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.

Also please have a look at this reference post :-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

//How to apply font for only one component?

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// How to add a specific font support in AEM

I hope this would help you.

 

~kautuk