Bugzilla #50483: Improved support for TrueType fonts in PostScript Refactored code and added unit tests Patch by Mehdi Houshmand