본문 바로가기

Develop/AEM

폰트 파일 업로드 및 ServerFilePath

Adding Fonts for Graphic-Rendering


https://docs.adobe.com/docs/en/cq/5-6-1/developing/adding_fonts.html




Adding Fonts for Graphic-Rendering

You are reading the AEM 5.6.1 version of Adding Fonts for Graphic-Rendering.
This version has reached End of core support. For further details see our technical support periods.
This documentation is also available for the following versions:  AEM 6.2  AEM 6.1  AEM 6.0  AEM 5.6  CQ 5.5  CQ 5.4 

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

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

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

    • Namefonts
    • Typesling:Folder

    Save all changes.

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

    NOTE

    Font files in the repository must have the suffix *.ttf or *.TTF.

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

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



#재부팅하면 ServerFilePath가 생김


'Develop > AEM' 카테고리의 다른 글

DAM File Upload API  (0) 2016.11.21
어도비 깃허브  (0) 2016.11.21
RunMode 활용  (0) 2016.11.15
FEW CQ5 (AEM) Interview questions for references  (0) 2016.11.09
AEM 6.x Server Setting  (0) 2016.11.09