It erroneously uses the current font (psdoc->font) instead of the passed one (psfont), which could result in incorrect results at best, and segmentation faults if no font is currently set.
Attached is a patch against 0.2.7 to fix it.
Logged In: YES
Fixed in version 0.3.0. Thanks for the patch.