[Gs-devel] No display of pdfwrite CID glyphs in Acrobat 5.0

Richard Shih-Ping Chan cshihpin at dso.org.sg
Wed May 23 18:54:50 PDT 2001


Hi,

The attached file is a pdf file created by
gs 7.00 on i686-pc-linux-gnu. It contains CID font glyphs and
some Times Roman. The file displays in gs but not Acrobat 5.0 (only the
Times glyphs are visible in Acrobat - BTW Acrobat knows that there
is a CID font in the file in Document Properties->Fonts).

I'm wondering whether you folks can tell whether this
is valid .pdf and whether the the fault is with Acrobat or gs.
(The CID characters do not display under Acrobat 4 either.)

The CID Font used is STSong-Light-Acro from the Acrobat 5.0 Simplified
Chinese font pack.

Here is the PostScript file used to create this PDF file


%!
%%This file is testing.ps
%%It is used to create testing.pdf with
%%the command line
%%ps2pdf13 testing.ps
%%The CID Font is taken from the Adobe site.
%%You need the CMap UniGB-UCS-H and the CID font STSong-Light-Acro.
%%The file displays correctly on gs 7

<< /PageSize [ 595 842 ] >> setpagedevice
/myfont (UniGB-UCS2-H) [ (STSong-Light-Acro) ] composefont pop

72 72 moveto
/Times-Roman findfont 72 scalefont setfont
(A) show
/myfont findfont 72 scalefont setfont
<5300 5301 5302 5303> show
72 152 moveto
/Times-Roman findfont 72 scalefont setfont
(B) show
/myfont findfont 72 scalefont setfont
<5a00 5a01 5a02 5a03> show
showpage
%%End of testing.ps


-- 

Chan Shih-Ping (Richard) <cshihpin at dso.org.sg>
DSO National Laboratories
20 Science Park Drive
Singapore 118230
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testing.pdf
Type: application/pdf
Size: 7173 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/gs-devel/attachments/20010524/f4add804/testing.pdf


More information about the gs-devel mailing list