Determine fonts used in postscript (.ps) file
- by Bernard Vander Beken
Given a postscript file that has the following header
%!PS-Adobe-3.0
I would like to list all fonts used in the file. The output does not have to be perfect, but I need to make sure I get all references to any font being used. I am aware there are different types of fonts, and that a font may or may not be embedded in the postscript file.
My current best idea is to grep/search for the word Font case insensitively and go from there.
Will this get me all the font references?
Any better way to achieve this?
I tend to use .NET/C# for development purposes, but any solution is appreciated.
Thanks,
Bernard