DocumentationAEMAEM TutorialsAEM Forms Tutorials

How to capture collaterals to debug Fonts related issue with Forms and Output service conversions

Last update: Sun Mar 23 2025 00:00:00 GMT+0000 (Coordinated Universal Time)
  • Applies to:
  • Experience Manager 6.5
  • Topics:
  • Forms Service
  • Output Service

CREATED FOR:

  • Intermediate
  • Developer

This video walks through the process of capturing collaterals to debug Fonts related issue with Forms and Output service conversions .

video poster

https://video.tv.adobe.com/v/335487?quality=12&learn=on

Transcript
Hello everyone, in this video we will discuss the steps to capture collaterals to debug font related issues with forms and output service conversions in AEM Forms. Many a times we face font related issues for some forms, when we do not see a font embedded or included in our output PDF document. There can be multiple reasons for this, like the font license might have expired or the XML form service is unable to understand the font. In such cases, you need to capture logs for troubleshooting purposes. The first step is to share some collaterals that can help in debugging the issue. These collaterals include XTG font traces, screenshot of the font directory configuration and the contents of font directory. To generate XTG font traces in OSGI stack, pass the XCI as shown using the setXCI method in PDF form render options or PDF output options or printed output options. For example, in case of PDF output options class, we have a setXCI method that allows setting a custom XCI document providing low level access for XFA to PDF conversion. You need to pass the given XCI as argument to the setXCI method. For J2E stack, there are two methods to enable XTG font traces. If you are using an API call, set the integer parameter of the required service as 1031 to enable XTG font traces. Here, 1 in 1000’s place is to enable debug dumps, 03 enables font traces and 1 on 1’s place is to enable audit logging. Another method for J2E stack is to use the workbench. Locate the section in workbench according to the service. For example, for generate PDF output to service, the location in workbench is general render options. Under this heading, check the debug enable field and set audit log value as 1031 to enable XTG font traces. These font traces are generated in server logs once enabled. You can follow the same steps to capture collaterals to debug font related issues with forms and output service conversions in AEM Forms. Thank you for watching this video.
recommendation-more-help
8de24117-1378-413c-a581-01e660b7163e