PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › loading verdana and georgia ttf not working This topic has 3 replies, 2 voices, and was last updated Jan 28, 201200:57:27 by PD4ML. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts Anonymous January 28, 2012 at 00:57 #26667 Pd4ml api is right now defaulting the generated pdf to Times New Roman fonttype. I just want Verdana and Georgia fontype (.ttf) to be used while generating the pdf. The PD4ML demo jar code I am using is as below: PD4ML pd4ml = new PD4ML(); pd4ml.useTTF(“/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/fonts”,true) pd4ml.setDefaultTTFs(“Verdana”, “Georgia”); pd4ml.enableDebugInfo(); pd4fonts.properties file present in System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/fonts directory has following contents: .Keyboard=Keyboard.ttf Georgia=georgia.ttf Verdana=verdana.ttf Please let me know if I am missing anything obvious since I have the required .ttf files in the above directory. Any help would be appreciated. PD4ML November 27, 2012 at 13:21 #28835 First, make sure you use PD4ML Pro. pd4ml.enableDebugInfo() API call forces PD4ML to output diagnostic info to STDOUT or server’s log. Please publish here what it writes or send to support pd4ml com Anonymous November 28, 2012 at 13:17 #28836 following your advices , logs show us the font was not read,the font is loaded when the “font-family” property is read in our css, so we had fix our problem. Thanks for answer. PD4ML November 28, 2012 at 13:19 #28837 Glad you solved the problem! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.