diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-23 00:26:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-23 00:26:55 +0000 |
commit | e0377be1ec90f7987965cc9b3ef463a2d7567818 (patch) | |
tree | 3e6bb7410df1f9df3ee10112c2d34dbe1c986106 | |
parent | b21bdce6c58c224889030af836f34d96ff1a2131 (diff) |
update dvipdfmx.cfg, (re)move other map files per ChoF
git-svn-id: svn://tug.org/texlive/trunk@14822 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf/dvipdfmx/dvipdfmx.cfg | 88 | ||||
-rw-r--r-- | Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-H | 66 | ||||
-rw-r--r-- | Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-V | 75 | ||||
-rw-r--r-- | Master/texmf/fonts/map/dvipdfmx/cid-x.map (renamed from Master/texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map) | 0 |
4 files changed, 34 insertions, 195 deletions
diff --git a/Master/texmf/dvipdfmx/dvipdfmx.cfg b/Master/texmf/dvipdfmx/dvipdfmx.cfg index b8adb6c6f11..242f5d0263b 100644 --- a/Master/texmf/dvipdfmx/dvipdfmx.cfg +++ b/Master/texmf/dvipdfmx/dvipdfmx.cfg @@ -1,10 +1,3 @@ -%% -%% ** PLEASE CHECK FILE ACCESS PERMISSION OF THIS FILE ** -%% -%% With 'D' option dvipdfmx may invoke shell command via system() -%% function call. -%% -%% %% PDF Version Setting %% %% PDF (minor) version stamp to use in output file. @@ -14,9 +7,8 @@ %% model requires version 1.4. So if you want soft-masking support for %% PNG image with alpha channels, you should set version to 4 or higher. -V 4 +% V 4 -%% %% Dvipdfmx Compatibility Flags %% %% 0x0002 Use semi-transparent filling for tpic shading command, @@ -25,10 +17,11 @@ V 4 %% This is only for backward compatibility. Don't use that. %% 0x0008 Do not replace duplicate fontmap entries. %% Dvipdfm's (not 'x') behaviour. +%% 0x0010 Do not optimize PDF destinations. +%% (Optimization is still experimental.) -%C 0x0000 +C 0x0010 -%% %% PDF Document Settings %% %% Papersize Option: @@ -37,7 +30,6 @@ V 4 %% %% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter', %% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'. -%% p a4 @@ -49,7 +41,9 @@ p a4 %% TeX macro packages set the annotation bounding box equal to the TeX box %% that encloses the material. That's not always what you want. %% Annotations created by pdf:bannot/pdf:eannot is also affected. -%% + +%g 0 + %% Bookmark Open Level: %% %% O integer @@ -58,10 +52,8 @@ p a4 %% of that item (from root node) is less than or equal to the integer %% specified with this option. -g 1 O 0 -%% %% PDF Security (Encryption) Setting %% %% Those options won't take effects unless you use flag 'S'. @@ -101,9 +93,11 @@ K 40 P 0x003C -%% %% Image Handler %% +%% With 'D' option dvipdfmx may invoke shell command via system() +%% function call. +%% %% Command-line template for a-to-b conversion: %% %% Supported target format ('b') is currently PDF. @@ -115,40 +109,32 @@ P 0x003C %% success or failure) %% %b The "base" name of the input file, e.g., "foo" instead of %% "foo.eps". +%% %v The PDF version to be converted to, e.g. "1.4" for PDF 1.4. %% %% Replaced with single '%'. -%% *Examples* for GhostScript (PS-to-PDF) +%% GhostScript (PS-to-PDF and PDF-to-PDF): %% -%% The following example decode all DCT (i.e., JPEG) encoded images -%% and then recompress images with Flate (zlib, same as PNG) encode -%% filter. If you are using recent version of gs, then please remove -%% -dAutoFilterXXXImages and -dXXXImageFilter. -%% /FlateEncode is introduced to avoid quality loss of "EPS JPEG" -%% images. +%% ps2pdf is a front-end to gs. For a complete list of options, see +%% http://ghostscript.com/doc/current/Ps2pdf.htm +%% +%% By default, gs encodes all images contained in a PS file using +%% the lossy DCT (i.e., JPEG) filter. This often leads to inferior +%% result (see the discussion at http://electron.mit.edu/~gsteele/pdf/). +%% The "-dAutoFilterXXXImages" and "-dXXXImageFilter" options used +%% below force all images to be encoded with the lossless Flate (zlib, +%% same as PNG) filter. Note that if the PS file already contains DCT +%% encoded images (which is possible in PS level 2), then these images +%% will also be re-encoded using Flate. To turn the conversion off, +%% simply remove the options mentioned above. %% %% Also note that PAPERSIZE=a0 is specified below. This convert PS %% files (including EPS) to A0 papersize PDF. This is necessary to %% prevent gs from clipping PS figure at some papersize. (A0 above -%% simply means large size paper) +%% simply means large size paper.) If you have figures even larger +%% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of +%% "-sPAPERSIZE=a0" %% -%% If you have figures even larger than A0, and their llx=lly=0, you can -%% use -dEPSCrop instead of -sPAPERSIZE=a0 - -%% Ghostscript (TeX Live -- both Unix and Windows) -%% keep this the same in dvipdfm and dvipdfmx. -%% can't use zcat because the pipe breaks on Windows; better to have -%% one config file. -D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" - -%% Ghostscript (Unix/Linux): -%D "gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" - -%% Ghostscript (Win32): -%D "gswin32c -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" - -%% Ghostscript (TeX Live -- both Unix and Windows) -%% keep this -D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" +D "ps2pdf -dCompatibilityLevel=%v -sPAPERSIZE=a0 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode %i %o" %% Frank Siegert's PStill: %D "/usr/local/bin/pstill -c -o %o %i" @@ -186,23 +172,17 @@ D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityL %d 5 -%% %% Font Map Files %% +%% teTeX 2.x and TeXLive using updmap (pdfTeX format) +f pdftex.map -% For correct searching / text extraction of ligatures, etc., of cm -% fonts, which are given without an encoding in the map files. However, -% if the latin modern fonts are desired/used instead of bluesky, this -% won't be needed and should be removed. -f cm-dvipdfm-fix.map - -%% teTeX 2.x using updmap - -f dvipdfm.map +%% teTeX 2.x and TeXLive using updmap (DVIPDFM format) +%f dvipdfm.map +%% teTeX 2.x and TeXLive using updmap (DVIPS format) %% MiKTeX 2.2 and 2.3 - %f psfonts.map -%% Put additonal fontmap files here +%% Put additonal fontmap files here (usually for Type0 fonts) f cid-x.map diff --git a/Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-H b/Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-H deleted file mode 100644 index 91a234656e2..00000000000 --- a/Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-H +++ /dev/null @@ -1,66 +0,0 @@ -%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%DocumentNeededResources: CMap (UniKS-UCS2-H)
-%%IncludeResource: ProcSet (CIDInit)
-%%IncludeResource: CMap (UniKS-UCS2-H)
-%%BeginResource: CMap (UniKSCms-UCS2-H)
-%%Title: (UniKSCms-UCS2-H Adobe Korea1 1)
-%%Version: 1.0
-%%Copyright:
-%% Copyright (C) 2002 by Jin-Hwan Cho <chofchof@ktug.or.kr>
-%%
-%% This program is free software; you can redistribute it and/or modify
-%% it under the terms of the GNU General Public License as published by
-%% the Free Software Foundation; either version 2 of the License, or
-%% (at your option) any later version.
-%%
-%% This program is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-%% GNU General Public License for more details.
-%%
-%% You should have received a copy of the GNU General Public License
-%% along with this program; if not, write to the Free Software
-%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-%%EndComments
-
-/CIDInit /ProcSet findresource begin
-
-12 dict begin
-
-begincmap
-
-/UniKS-UCS2-H usecmap
-
-/CIDSystemInfo 3 dict dup begin
- /Registry (Adobe) def
- /Ordering (Korea1) def
- /Supplement 1 def
-end def
-
-/CMapName /UniKSCms-UCS2-H def
-/CMapVersion 1.0 def
-/CMapType 1 def
-
-/WMode 0 def
-
-9 begincidrange
-<00ad> <00ad> 109
-<00b7> <00b7> 104
-<02d0> <02d0> 210
-<2015> <2015> 110
-<2225> <2225> 111
-<223c> <223c> 113
-<226a> <226b> 176
-<2299> <2299> 227
-<ff5e> <ff5e> 200
-endcidrange
-
-endcmap
-
-CMapName currentdict /CMap defineresource pop
-
-end
-end
-%%EndResource
-%%EOF
diff --git a/Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-V b/Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-V deleted file mode 100644 index 9e5e61e5f95..00000000000 --- a/Master/texmf/fonts/cmap/dvipdfmx/UniKSCms-UCS2-V +++ /dev/null @@ -1,75 +0,0 @@ -%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%DocumentNeededResources: CMap (UniKSCms-UCS2-H)
-%%IncludeResource: ProcSet (CIDInit)
-%%IncludeResource: CMap (UniKSCms-UCS2-H)
-%%BeginResource: CMap (UniKSCms-UCS2-V)
-%%Title: (UniKSCms-UCS2-V Adobe Korea1 1)
-%%Version: 1.0
-%%Copyright:
-%% Copyright (C) 2002 by Jin-Hwan Cho <chofchof@ktug.or.kr>
-%%
-%% This program is free software; you can redistribute it and/or modify
-%% it under the terms of the GNU General Public License as published by
-%% the Free Software Foundation; either version 2 of the License, or
-%% (at your option) any later version.
-%%
-%% This program is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-%% GNU General Public License for more details.
-%%
-%% You should have received a copy of the GNU General Public License
-%% along with this program; if not, write to the Free Software
-%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-%%EndComments
-
-/CIDInit /ProcSet findresource begin
-
-12 dict begin
-
-begincmap
-
-/UniKSCms-UCS2-H usecmap
-
-/CIDSystemInfo 3 dict dup begin
- /Registry (Adobe) def
- /Ordering (Korea1) def
- /Supplement 1 def
-end def
-
-/CMapName /UniKSCms-UCS2-V def
-/CMapVersion 1.0 def
-/CMapType 1 def
-
-/WMode 1 def
-
-18 begincidrange
-<2013> <2014> 8059
-<2016> <2016> 8061
-<2025> <2025> 8058
-<3001> <3002> 8056
-<3008> <3011> 8065
-<3013> <3013> 8075
-<3014> <3015> 8063
-<ff01> <ff01> 8076
-<ff08> <ff09> 8077
-<ff0c> <ff0c> 8079
-<ff0e> <ff0e> 8080
-<ff1a> <ff1f> 8081
-<ff3b> <ff3b> 8087
-<ff3d> <ff3d> 8088
-<ff3f> <ff3f> 8089
-<ff5b> <ff5d> 8090
-<ff5e> <ff5e> 8062
-<ffe3> <ffe3> 8093
-endcidrange
-
-endcmap
-
-CMapName currentdict /CMap defineresource pop
-
-end
-end
-%%EndResource
-%%EOF
diff --git a/Master/texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map b/Master/texmf/fonts/map/dvipdfmx/cid-x.map index d2969113d7f..d2969113d7f 100644 --- a/Master/texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map +++ b/Master/texmf/fonts/map/dvipdfmx/cid-x.map |