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

SOLVED

Generated Document of Record has different font than XDP Form template

techddx
Level 4
Level 4

Hello,

 

I am encountering a strange issue. The generated document of record for my adaptive form has a different font than what is used in the XDP template. The fonts in the generated DOR are Myriad Pro, while all of the font properties in the XDP are using Arial. Has anyone encountered this issue before?

 

I noticed this issue does not occur in my local environment. The generated DOR fonts are all Arial. Could this be due to missing fonts in an environment?

1 Accepted Solution
PulkitJain
Correct answer by
Employee
Employee

@techddx 

From the problem statement, it seems that the font is not installed on this set-up thus an alternate font is being used in the DoR (that's why it works locally).

Could you install the fonts as applicable - JEE or OSGi and this should resolve the issue. 

View solution in original post

2 Replies
PulkitJain
Correct answer by
Employee
Employee

@techddx 

From the problem statement, it seems that the font is not installed on this set-up thus an alternate font is being used in the DoR (that's why it works locally).

Could you install the fonts as applicable - JEE or OSGi and this should resolve the issue. 

View solution in original post

Mayank_Gandhi
Community Advisor
Community Advisor

@techddx 

  1. Make sure the font is on the server or in aem fonts directory.
  2. Embed the font in xdp.
  3. Clear server temp and browser cache