[gs-devel] DSCEncoding, UTF8

warzin at tormail.org warzin at tormail.org
Tue May 8 07:40:59 UTC 2012


Hi,

I'm trying to convert the following document:

$cat dsc.ps
%!PS-Adobe-3.0
%%Title: DĎĐ
%%EOF
$ ps2pdf -sDSCEncoding -sPDFDocEncoding dsc.ps && acroread dsc.pdf
$ file dsc.ps
dsc.ps: PostScript document text conforming DSC level 3.0
$ file -i dsc.ps
dsc.ps: application/postscript; charset=utf-8

The resulting PDF does *not* display the utf-8 encoded characters. Neither
acroread nor evince works. What am I doing wrong?

$ gs -version
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.




More information about the gs-devel mailing list