Fix encoding issues when font name contains non-ascii characters
Merge pull request #2523 from mdboom/ps-unicode-error

Unicode issue in EPS output when using custom font