Question 3 Replies 321 Views × Close popover Mounica Vatti (MounicaV8503) L&T Infotech Limited Senior Consultant - Package L&T Infotech Limited IN View Profile Send Message MounicaV8503 Member since 2018 2 posts L&T Infotech Limited Posted: March 26, 2019 Last activity: May 22, 2019 Posted: 26 Mar 2019 3:52 EDT Last 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 stream We placed fonts and font properties files in the server but seeing mentioned issue in the title. We passed server locations to the below params Param.pyPDFFontsDirectory = /data/PDMSdata/fonts/Mandali.ttf Param.pyPDFPropsDirectory = /data/PDMSdata/fontproperties/pd4fonts.properties Please guide me. Thanks in advance ***Edited by Moderator: Pallavi to update platform capability tags*** Data Integration User Experience × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover 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: 2 years ago Posted: 26 Mar 2019 8:56 EDT × Close popover Mounica Gudaboina (gudam) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View Profile Send Message gudam PEGA replied to MounicaV8503 Hello Mounica, Can you please set the below parameter and try: Param.pyPDFEmbedFont = "true" Thanks! Posted: 1 year ago Posted: 20 May 2019 10:38 EDT × Close popover Karan Saluja (K.Saluja) Crochet Technologies Pvt Limited Senior Software Engineer Crochet Technologies Pvt Limited IN View Profile Send Message K.Saluja Crochet Technologies Pvt Limited replied to MounicaV8503 Try 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 ago Posted: 22 May 2019 6:54 EDT × Close popover Bhavana Bathala (bathb) PEGA Senior Technical Solutions Engineer - India Pegasystems Inc. IN View Profile Send Message bathb PEGA replied to MounicaV8503 Hi, 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) .