Question3Replies290Views×Close popoverMounica Vatti (MounicaV8503) L&T Infotech Limited L&T Infotech Limited IN View Profile MounicaV8503 Member since 2018 1 post L&T Infotech Limited Posted: March 26, 2019Last activity: May 22, 2019Posted: 26 Mar 2019 3:52 EDTLast activity: 22 May 2019 6:54 EDT Closed Error - Cannot configure fonts using directory while using HTMLToPDF method.Requirement:Need to generate PDF in local language using the HTML streamWe placed fonts and font properties files in the server but seeing mentioned issue in the title. We passed server locations to the below paramsParam.pyPDFFontsDirectory = /data/PDMSdata/fonts/Mandali.ttfParam.pyPDFPropsDirectory = /data/PDMSdata/fontproperties/pd4fonts.propertiesPlease guide me. Thanks in advance***Edited by Moderator: Pallavi to update platform capability tags*** Data Integration User Experience ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 1 year agoPosted: 26 Mar 2019 8:56 EDT×Close popoverMounica Gudaboina (gudam) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View Profilegudam PEGA replied to MounicaV8503Hello Mounica, Can you please set the below parameter and try: Param.pyPDFEmbedFont = "true" Thanks! Posted: 1 year agoPosted: 20 May 2019 10:38 EDT×Close popoverKaran Saluja (K.Saluja) Crochet Technologies Pvt Limited Senior Software Engineer Crochet Technologies Pvt Limited IN View ProfileK.Saluja Crochet Technologies Pvt Limited replied to MounicaV8503Try giving "/data/PDMSdata/fonts" path for both parameters for both pyPDFFontsDirectory and pyPDFPropsDirectory. And Please keep in mind you have to pass "pyPDFPropsDirectory" only for unix/linux Posted: 1 year agoPosted: 22 May 2019 6:54 EDT×Close popoverBhavana Bathala (bathb) PEGA Senior Technical Solutions Engineer - India Pegasystems Inc. IN View Profilebathb PEGA replied to MounicaV8503Hi, Try providing the path upto Fonts . (/data/PDMSdata/fonts) and also check the properties file for the generated fonts. If Mandali.ttf is the font file that you are using then it has to be seen in the properties file. Check for the following changes : 1.pyPDFFontsDirectory =" /data/PDMSdata/fonts " 2.Param.pyPDFEmbedFont = "true" 3.pyPDFPropsDirectory=" /data/PDMSdata/fonts " 4.isClearCache="true" (you can run it once and check if you are able to generate) .