freebsd-ports/print/ghostscript8-base/files/patch-Resource-Init-cidfmap
Hiroki Sato 27470e1676 - Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base

   Installs Ghostscript binary, libgs, and related files.
   These ports do not depend on X11 libraries (i.e. x11* devices
   are not available).  USES=ghostscript will set dependency on
   one of them depending on GHOSTSCRIPT_DEFAULT.

   The default device is set to "display" or "bbox".

 * print/ghostscript{7,8,9,9-agpl}-x11

   Installs a shared library which provides X11 support to
   the installed Ghostscript binaries.  x11* devices will be
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
2015-08-22 17:48:35 +00:00

67 lines
2.3 KiB
Text

--- Resource/Init/cidfmap.orig 2008-08-08 13:22:38.000000000 +0900
+++ Resource/Init/cidfmap 2009-12-20 03:03:17.000000000 +0900
@@ -26,3 +26,64 @@
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
% /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
%
+/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
+/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
+
+/Ryumin-Medium /Ryumin-Light ;
+/Ryumin-Regular /Ryumin-Light ;
+/RyuminPro-Light /Ryumin-Light ;
+
+/GothicBBBPro-Medium /GothicBBB-Medium ;
+
+/KozGoPro-Bold /GothicBBB-Medium ;
+/KozGoPro-Heavy /GothicBBB-Medium ;
+/KozGoPro-Medium /GothicBBB-Medium ;
+/KozGoPro-Regular /GothicBBB-Medium ;
+
+/KozMinPro-Bold /Ryumin-Light ;
+/KozMinPro-Light /Ryumin-Light ;
+/KozMinPro-Medium /Ryumin-Light ;
+/KozMinPro-Regular /Ryumin-Light ;
+
+/HiraKakuPro-W3 /GothicBBB-Medium ;
+/HiraKakuPro-W6 /GothicBBB-Medium ;
+/HiraKakuStd-W8 /GothicBBB-Medium ;
+
+/HiraMaruPro-W4 /GothicBBB-Medium ;
+
+/HiraMinPro-W3 /Ryumin-Light ;
+
+/HeiseiMin-W3 /Ryumin-Light ;
+/HeiseiKakuGo-W5 /GothicBBB-Medium ;
+
+/FutoMinA101-Bold /Ryumin-Light ;
+/FutoMinA101Pro-Bold /Ryumin-Light ;
+/FutoGoB101-Bold /GothicBBB-Medium ;
+/FutoGoB101Pro-Bold /GothicBBB-Medium ;
+
+/Jun101-Light /Ryumin-Light ;
+/Jun101Pro-Light /Ryumin-Light ;
+
+/MidashiGo-MB31 /GothicBBB-Medium ;
+/MidashiGoPro-MB31 /GothicBBB-Medium ;
+
+/MidashiMinPro-MA31 /Ryumin-Light ;
+
+/MS-Mincho /Ryumin-Light ;
+/MS-PMincho /Ryumin-Light ;
+/MS-Gothic /GothicBBB-Medium ;
+/MS-PGothic /GothicBBB-Medium ;
+
+%/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 ;
+
+/STHeiti-Regular << /FileType /TrueType /Path (STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
+/STSong-Light << /FileType /TrueType /Path (STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
+/MSung-Light << /FileType /TrueType /Path (MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
+/MHei-Medium << /FileType /TrueType /Path (MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;