/TrebuchetMS (trebuc.ttf) ; /TrebuchetMS-Italic (trebucit.ttf) ; /TrebuchetMS-Bold (trebucbd.ttf) ; /TrebuchetMS-Bold-Italic (trebucbi.ttf) ;Note you can write almost anything after the / assuming it won't interfere with other font names. Say:
/MyCoolFont1 (trebuc.ttf) ; /MyCoolFont2 (trebucit.ttf) ; /MyCoolFont3 (trebucbd.ttf) ; /MyCoolFont4 (trebucbi.ttf) ;
<family name="Trebuchet MS"> <normal normal="TrebuchetMS" italic="TrebuchetMS-Italic" oblique="TrebuchetMS-Italic"/> <bold normal="TrebuchetMS-Bold" italic="TrebuchetMS-Bold-Italic" oblique="TrebuchetMS-Bold-Italic"/> </family>Of course, the modified file should be uploaded to the server where the working script reside.
<metrics typeface="TrebuchetMS" file="trebuc"/> <metrics typeface="TrebuchetMS-Italic" file="trebucit"/> <metrics typeface="TrebuchetMS-Bold" file="trebucbd"/> <metrics typeface="TrebuchetMS-BoldItalic" file="trebucbi"/>In this case, the "file" value refers to the name of the font metric file (.afm) you've generated. The ".afm" extension as appended automatically; files are searched in the directory specified by TYPE1_FONTS_REPOSITORY configuration constant (see your config.inc.php file).
<BIG style="font-family: 'Trebuchet MS'">ABCDEFGH</BIG><br> <BIG style="font-family: 'Trebuchet MS'; font-weight: bold;">ABCDEFGH</BIG><br> <BIG style="font-family: 'Trebuchet MS'; font-style: italic;">ABCDEFGH</BIG><br> <BIG style="font-family: 'Trebuchet MS'; font-weight: bold; font-style: italic;">ABCDEFGH</BIG><br>
Take the steps described above with only this difference: all Ghostscript-related directories are on your server where the script resides. Ask your hoster/system administrator about the exact location of Ghostscript.
Please refer to PDFLib Documentation.