HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › PD4ML encoding issue (works on mac, not on linux) › Re: Re: PD4ML encoding issue (works on mac, not on linux)
By the way I use TTF:
$cmdline = “$java -Xmx512m -Djava.awt.headless=true -cp $jar Pd4Cmd “$url” 420 420×420 -debug -ttf $fontsdir -insets 0,0,0,0,mm -out $pdfname 2>&1″;
and the TTF fonts are working fine.
The fonts that I use are:
#this is an autogenerated file. please remove manually any references to copyrighted fonts
#Sun Dec 07 15:44:21 EST 2014
AmerType Md BT Bold=AmerTypewriterITCbyBT-Bold.ttf
AmerType Md BT=AmerTypewriterITCbyBT-Medium.ttf
Helvetica=helr45w.ttf
Helvetica Bold=helr65w.ttf
Helvetica Bold Oblique=helr66w.ttf
Helvetica Narrow=helr47w.ttf
Helvetica Narrow Bold=helr67w.ttf
Helvetica Narrow Bold Oblique=helr68w.ttf
Helvetica Narrow Oblique=helr48w.ttf
Helvetica Neue=HelveticaNeue_0.ttf
Helvetica Neue Bold=HelveticaNeueBold_0.ttf
Helvetica Neue Bold Italic=HelveticaNeueBoldItalic_0.ttf
Helvetica Neue Condensed Black=HelveticaNeueCondensedBlack_0.ttf
Helvetica Neue Italic=HelveticaNeueItalic_0.ttf
Helvetica Neue Light=HelveticaNeueLight_0.ttf
Helvetica Neue Light Italic=HelveticaNeueLightItalic_0.ttf
Helvetica Neue UltraLight=HelveticaNeueUltraLight_0.ttf
Helvetica Neue UltraLight Italic=HelveticaNeueUltraLightItalic_0.ttf
Helvetica Oblique=helr46w.ttf
Myriad Pro=MyriadPro-Regular.otf