freebsd-ports/print/ghostscript-gpl/files/patch-lib::cidfmap
Hiroki Sato 6ee0081670 - Add a patch to fix a bug which prevents rendering multibyte
TrueType fonts from working.

- A file cidfmap now includes entries for Ryumin-Light and
  GothicBBB-Medium.  They points japanese/kochi-ttfonts by default
  (but this port does not depend on it).

Approved by:	linimon (mentor)
2004-07-25 14:40:42 +00:00

41 lines
1.2 KiB
Text

--- lib/cidfmap.orig Fri Feb 7 09:31:11 2003
+++ lib/cidfmap Sun Jun 13 23:58:08 2004
@@ -26,3 +26,38 @@
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
% /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
%
+/Ryumin-Light <<
+/FileType /TrueType
+/Path (kochi-mincho-subst.ttf)
+/SubfontID 0
+/CSI [(Japan1) 3]
+>> ;
+
+/GothicBBB-Medium <<
+/FileType /TrueType
+/Path (kochi-gothic-subst.ttf)
+/SubfontID 0
+/CSI [(Japan1) 3]
+>> ;
+
+/HeiseiMin-W3 /Ryumin-Light ;
+%/HeiseiMin-W3 /WadaMin-Regular ;
+/HeiseiKakuGo-W5 /GothicBBB-Medium ;
+%/HeiseiKakuGo-W5 /WadaGo-Bold ;
+/FutoMinA101-Bold /Ryumin-Light ;
+%/FutoMinA101-Bold /WadaMin-Regular ;
+/FutoGoB101-Bold /GothicBBB-Medium ;
+%/FutoGoB101-Bold /WadaGo-Bold ;
+/Jun101-Light /Ryumin-Light ;
+%/Jun101-Light /WadaMin-Regular ;
+/MidashiGo-MB31 /GothicBBB-Medium ;
+%/MidashiGo-MB31 /WadaGo-Bold ;
+
+%/Munhwa-Regular /Munhwa-Regular ;
+%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
+%/Munhwa-Bold /Munhwa-Bold ;
+%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
+
+/HYGoThic-Medium /MunhwaGothic-Regular ;
+/HYSMyeongJo-Medium /Munhwa-Regular ;
+/HYRGoThic-Medium /MunhwaGothic-Bold ;