PostScriptTrace(file, outfilename,
charpath=TRUE, setflat=NULL,
encoding="ISO-8859-1")
If text is converted to outlines, it can be drawn as outlines,
or filled using a crude algorithm which may or may not work
(see grid.picture
). On the other hand, if text is left
as just text, font information is not stored so the text may
not end up looking much like the original.
Ghostscript is only going to emit text in a single-byte encoding, so the RGML file should have an explicit encoding (otherwise XML parsers are likely to assume UTF-8 and barf on any non-ASCII text). The default encoding used is ISO-8859-1 (ISOLatin1), but you can specify another if you know that the source file has text that ghostscript will emit in a different encoding. There may have to be a bit of guesswork, or inspection of the source PostScript file.