components/ghostscript/patches/4732635,5033581.patch
changeset 7819 b1bca76ec901
parent 345 61b29cf8b717
--- a/components/ghostscript/patches/4732635,5033581.patch	Thu Mar 30 13:00:52 2017 -0700
+++ b/components/ghostscript/patches/4732635,5033581.patch	Thu Mar 30 20:50:08 2017 -0700
@@ -1,10 +1,13 @@
---- ghostscript-9.00/Resource/Init/cidfmap.orig	Wed Jun  2 01:37:07 2010
-+++ ghostscript-9.00/Resource/Init/cidfmap	Fri Oct 15 02:20:40 2010
-@@ -31,3 +31,133 @@
+Solaris-specific; not suitable for upstream
+
+--- ghostscript-9.20/Resource/Init/cidfmap	2016-09-26 03:41:28.000000000 -0700
++++ ghostscript-9.20/Resource/Init/cidfmap	2016-10-06 03:42:23.251624930 -0700
+@@ -30,6 +30,139 @@
+ %   /ShinGo-Bold   /HeiseiKakuGo-W5 ;
  %   /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
+ %   /Ryumin-Medium << /FileType /TrueType /Path (windir) getenv not {(c:/windows)}if (/Fonts/BATANG.TTC)concatstrings /SubfontID 3 /CSI [(Japan1) 2] >> ;
++
  %
- 
-+%
 +% Mapping for Asian Language Fonts delivered with Openwin.
 +%
 +
@@ -134,3 +137,8 @@
 +	/CSI [(Korea1) 1] >> ;
 +/Adobe-Korea1		/Myeongjo	;
 +/HYSMyeongJo-Medium	/Myeongjo	;
++
++
++%
+ %   NOTE: getenv returns a boolean to indicate success of or failure, as well as the value on success. In the example, it uses this
+ %         to include a default value should getenv fail.