Fonts in Dynamic PDF is different in Linux Installation | Community
Skip to main content
Level 2
September 20, 2024
Solved

Fonts in Dynamic PDF is different in Linux Installation

  • September 20, 2024
  • 2 replies
  • 1427 views

Hello All,

      We are working on dynamic pdf and the templates(XDP) are designed/built with Forms Designer. When XDP is uploaded to AEM and previewed, the fonts look different in Linux AEM OSGI Server, however, in windows local AEM OSGI Server, it looks good. I verified that the fonts are same under crx-quickstart/fonts folder in both linux & windows. I did not do any configuration specific to windows.

    Please help in resolving this issue.

Thanks,

Nirmal

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by NirmalPe

@kautuk_sahni  We installed the msttcorefonts in Linux, which resolved dynamic pdf font issue. Thanks for your input. The issue is resolved now and we can close the thread. 

2 replies

Pulkit_Jain_
Adobe Employee
Adobe Employee
September 22, 2024

@nirmalpe 

You may have to cross-check the font permissions on the Linux setup, as the font is available under the same path on both operating systems but still doesn't work in the case of Linux. Usually, if the font is not available (or not accessible), then XMLFM substitution logic kicks in and falls back to a default/available option. 

You can also move the required font to a custom font directory with sufficient permissions and then update the folder path in the Gibson Font Manager config under /configMgr.

You can DM the details/PDFs for further investigation, or we can set up a call.

NirmalPeAuthor
Level 2
September 24, 2024

@pulkit_jain_  I verified, it is not permissions issue, but microsoft fonts itself not installed in Linux O/S (/usr/share/fonts). It is not bundled as part of the Linux O/S distribution. so, we have to manually install the fonts following steps mentioned in https://help.accusoft.com/PCC/v8.3/HTML/How%20to%20Install%20Microsoft%20Fonts%20on%20Linux.html

 

Is there any recommendation/documentation from Adobe as this issue will be faced by all AEM Forms installation in Linux Environment?

 

 

Pulkit_Jain_
Adobe Employee
Adobe Employee
September 24, 2024

@nirmalpe 

For any operating system-specific steps required while installing AEM Forms, refer to the installation guide (JEE and OSGi).

Additionally, for Linux OS, you need to install 32-bit versions of a set of shared libraries listed here-

https://experienceleague.adobe.com/en/docs/experience-manager-learn/forms/adaptive-forms/installing-aem-form-on-linux 

These libraries are a prerequisite for running some AEM forms services.

kautuk_sahni
Community Manager
Community Manager
October 9, 2024

@nirmalpe Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
NirmalPeAuthorAccepted solution
Level 2
October 9, 2024

@kautuk_sahni  We installed the msttcorefonts in Linux, which resolved dynamic pdf font issue. Thanks for your input. The issue is resolved now and we can close the thread.