Expand my Community achievements bar.

SOLVED

Different font in pdf generated through outputservice in adobe live cycle

Avatar

Level 2

Hi,

I have 2 env. one is dev & other is test . I am using Arial Narrow as a font in footer section. But while generating the pdf through output service from Test env. am getting different font not Arial narrow in resultant pdf output. While in dev environment am getting same font "Arial Narrow" in the resultant pdf.

 Can you please help me, is there any configuration in test because of that we are not getting exact font.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@Amreen1 

Do you see the Arial Narrow font installed on the test environment set-up?

Usually, if the font is not available (or not accessible), then XMLFM substitution logic kicks in and falls back to a default/available option; thus, you're seeing a different font in the test environment. You may have to cross-check the font permissions on the setup, if the font is available on the system.

You can also move the Arial Narrow font to a custom font directory with sufficient permissions and then update the folder path in the core settings in the adminui for JEE set-up.

 

View solution in original post

5 Replies

Avatar

Level 2

Hello Amreen,

 

Can you please navigate to below path in adminui and check if there are different configuration for embedding fonts in DEV and TEST

In administration console, click Services > output.

 

You can specify which fonts are always embedded or never embedded with the forms used by Output. Embedding fonts increases the file size of the forms. Embed unusual fonts that users are not likely to have on their systems, and do not embed common fonts that they will have installed.

 

In case the the fonts are missing in Embed fonts, please use below steps to always embed those fonts:

 

  1. Under Font Embedding Settings, in the Always Embed Fonts box, type the names of the fonts to embed with the forms, separated by commas. The fonts that you specify are only embedded in the generated form if they are used in the form. This setting is ignored if the embed font option has been turned on in the XCI file passed to the service. In that case, all fonts used in the PDF are always embedded.
  2. Click Save.

Let me know if that resolves your issue.

Avatar

Level 2

thanks @rahulpandey27 ,

I have added the font in the "Always Embed Fonts box". but seems like setting is ignored. Still different font coming. Wanted to check can we change  XCI file in order to change the embed font option to "off".

Avatar

Correct answer by
Employee Advisor

@Amreen1 

Do you see the Arial Narrow font installed on the test environment set-up?

Usually, if the font is not available (or not accessible), then XMLFM substitution logic kicks in and falls back to a default/available option; thus, you're seeing a different font in the test environment. You may have to cross-check the font permissions on the setup, if the font is available on the system.

You can also move the Arial Narrow font to a custom font directory with sufficient permissions and then update the folder path in the core settings in the adminui for JEE set-up.

 

Avatar

Level 2

Thank @Pulkit_Jain_ , this info really helpful for me

May I know how to move the Arial Narrow font to a custom font directory.

Avatar

Employee Advisor

@Amreen1 

Depending on the operating system, you can install the Arial Narrow font on the environment. Example msttcorefonts can be leveraged to install any font on a Linux system. Once the font is moved/installed, you need to update the configs so that the output service picks up the new font provided.