[gs-bugs] [Bug 690009] New "cairo" output device pulls X dependency into main executable/library

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Jul 27 12:03:19 UTC 2010


--- Comment #12 from Hin-Tak Leung <hintak at ghostscript.com> 2010-07-27 12:03:17 UTC ---
Ralph's r8270 includes another file gdevemap for 'Provide a mapping between
StandardEncoding and ISOLatin1Encoding' .

It is list as part of macos.dev (for mac builds), and mswindll2_ for windows
It is a small file which consists of two arrays: 
const byte gs_map_std_to_iso[256], and byte gs_map_iso_to_std[256]. 

Only 3 files uses those - gdevmacxf.c, gdevmsxf.c , gdevxxf.c . They all need
gs_map_std_to_iso[], but only gdevxxf needs gs_map_iso_to_std[] . Since
gdevemap is small enough and has not been changed for the last 10 years and
unlikely to change ever, to avoid changing windows/mac classic builds, it is
probably appropriate for gdevxxf to have its own copy of those arrays and
decouple the x11 device from depending on gdevemap .

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