in reply to Help on PDF::API2 module
You can use the method "synfont" of that module. For examples and reference.
PDF::API2