Returns False if no fonts found

https://bugs.freedesktop.org/show_bug.cgi?id=86950
Fix buffer overflow in copying PS name

As reported on the mailing list by Tanel Liiv.  Found using American Fuzzy Lop.