Font is getting changed while generating PDF in the Generate document Task

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Font is getting changed while generating PDF in the Generate document Task

Hi All,

 

When we are generating  pdf file  from the word document  attached in   the Generate document task in alfresco activiti, the font  is getting changed in the pdf format of the file.

For example, if we have the  document  with the Georgia font the generated pdf’s  font format is coming as Lucida Sans typewriter

However if  we are generating document with the Georgia font  into the *.doc  format, the  output of the font is coming correct as Georgia.

The only  font difference we are   able to see in the  pdf format(which is generate in the Generate document task).

Could you please help  to know is there a way we can able to resolve this font difference issue and if you have  any idea please suggest on this.

 

 

Thanks

Arun K

2 Replies
Highlighted
Member II

Re: Font is getting changed while generating PDF in the Generate document Task

Hi,

 

Requesting you please suggest your thoughts on this.

 

Thanks

Arun K

Highlighted
Customer

Re: Font is getting changed while generating PDF in the Generate document Task

Sounds like you need to install the font on your server. When generating PDF the font needs to be on the server.

  1. For Unix,

    • Download these fonts to /usr/local/share/fonts.
      • Note: If fonts folder doesnt exist, you've to create one mkdir fonts.
    • Run yum install fontconfig
    • Run fc-cache -f -v
      • Note: Detailed step-by-step instructions are available here.
  2. For Windows, use the font installer.

Hope this helps!