[gs-bugs] [Bug 691439] segmentation fault when processes pdf file with CID fonts

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Jul 6 17:18:29 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691439

--- Comment #5 from Jinsong Zhao <jszhao at yeah.net> 2010-07-06 17:18:27 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > > This suggests that you must have added the font to the Ghostscript
> > > installation. Since these are CIDFonts this further implies that you have
> > > modified the file gs/Resource/Init/cidfmap. Could you please tell me what
> > > changes you have made so that I can attempt to reproduce this problem ?
> > 
> > But I have noted that the font SimSun is included in the cidfmap file at least
> > for the Chinese users.
> Ghostscript does not include any references to any fonts in the shipped version
> of cidfmap. It is possible that installers may add to it.

Maybe your are right. However, when I installed Ghostscript on my Windows XP
home edition (the default codepage is CP936 here), and check the options for
CJK ture type fonts, I get a cidfmap whith a SimSun entry included in it.

> > I am just very curious why I exchange the position of
> > two lines, and then Ghostscript will run smoothly.
> I have no idea, especially since the version I have here, using a cidfmap
> modified by me, works perfectly well.
> > I can supply you a PDF file
> > with the Chinese font available from Adobe Acorbat Reader if you are
> > interested.
> Thank you but I can make that myself. However please do provide the entry for
> SimSun from the cidfmap file.

Which version you are using? According to my test, I think it's just a bug in
8.71.

(In reply to comment #4)
> (In reply to comment #3)
> > > This suggests that you must have added the font to the Ghostscript
> > > installation. Since these are CIDFonts this further implies that you have
> > > modified the file gs/Resource/Init/cidfmap. Could you please tell me what
> > > changes you have made so that I can attempt to reproduce this problem ?
> > 
> > But I have noted that the font SimSun is included in the cidfmap file at least
> > for the Chinese users.
> Ghostscript does not include any references to any fonts in the shipped version
> of cidfmap. It is possible that installers may add to it.
> > I am just very curious why I exchange the position of
> > two lines, and then Ghostscript will run smoothly.
> I have no idea, especially since the version I have here, using a cidfmap
> modified by me, works perfectly well.
> > I can supply you a PDF file
> > with the Chinese font available from Adobe Acorbat Reader if you are
> > interested.
> Thank you but I can make that myself. However please do provide the entry for
> SimSun from the cidfmap file.

The entry for SimSun in the cidfmap is:

/SimSun << /FileType /TrueType /SubfontID 0 /CSI [(GB1) 2] /Path
(C:/WINDOWS/fonts/simsun.ttc) >> ;

Regards,
Jinsong

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list