PDF Font Installation - AEM Forms 6.2 JEE Linux

Avatar

Avatar

James_R_Green

Avatar

James_R_Green

James_R_Green

28-11-2017

I have a JEE (jboss) installation of AEM Forms 6.2 and my client has their own custom font.

The font was placed in the Customer font directory (taken from adminui - Settings > Core System Settings).

The instance was restarted and the fonts appear under admin ui -> Services > PDF Generator > Adobe PDF Setting, under this option I:

* Added a custom setting config based on Standard

* Added the required font to Always embed

* I then marked the new setting config as the default.

I also added the font to adminui > Services > Output under the Always Embed Fonts option

I restarted after changing these settings.

PDFs I generate in java, using the output service do not embed the custom font referenced by the template XDP files.

Are there any additional settings in AEM or in the XDP file that control this? Is there a step by step guide anywhere for adding custom fonts?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

James_R_Green

Avatar

James_R_Green

James_R_Green

30-01-2018

The problem turned out to be the incorrect permissions on the "customer fonts" directory (defined in the server config).

Changed to 755 restarted the server and it worked.

Answers (3)

Answers (3)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

30-01-2018

Thxs for posting

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

10-01-2018

Avatar

Avatar

James_R_Green

Avatar

James_R_Green

James_R_Green

10-01-2018

This is still required. Any thoughts?