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.
Solved! Go to Solution.
Views
Replies
Total Likes
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.
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:
Let me know if that resolves your issue.
Views
Replies
Total Likes
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".
Views
Replies
Total Likes
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.
Thank @Pulkit_Jain_ , this info really helpful for me
May I know how to move the Arial Narrow font to a custom font directory.
Views
Replies
Total Likes
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.
Views
Likes
Replies
Views
Likes
Replies