summaryrefslogtreecommitdiff
path: root/Master/texmf/dvipdfm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-04-21 00:43:12 +0000
committerKarl Berry <karl@freefriends.org>2008-04-21 00:43:12 +0000
commit522864734c14c14e4271f25fc2930a0a98285f71 (patch)
treeaed654dbf1ae6e72828140d796cf6d3556c439f9 /Master/texmf/dvipdfm
parentc45aea54ea6e47ebd46f0a0025acfd0b9b2b9311 (diff)
dvipdfmx-20071115
git-svn-id: svn://tug.org/texlive/trunk@7557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/dvipdfm')
-rw-r--r--Master/texmf/dvipdfm/cid-x.map149
-rw-r--r--Master/texmf/dvipdfm/dvipdfmx.cfg87
2 files changed, 207 insertions, 29 deletions
diff --git a/Master/texmf/dvipdfm/cid-x.map b/Master/texmf/dvipdfm/cid-x.map
new file mode 100644
index 00000000000..d2969113d7f
--- /dev/null
+++ b/Master/texmf/dvipdfm/cid-x.map
@@ -0,0 +1,149 @@
+%% This file 'cid-x.map' is read by dvipdfmx for default
+%% dvipdfmx.cfg setting. Please append fontmap entries here.
+%%
+%% FONTMAP: CID-keyed font mapping file for dvipdfmx
+%% =================================================
+%%
+%% Last modified: April 4, 2004
+%%
+%% FORMAT
+%% ------
+%%
+%% TFMNAME[@SFDNAME@] ENCNAME|CMapNAME [:INDEX:][!]FONTNAME[/CSI][,VARIANT] [OPTIONS]
+%%
+%%
+%% DESCRIPTION
+%% -----------
+%%
+%% 1) TFMNAME[@SFDNAME@]
+%%
+%% TFMNAME is a name of TeX fonts in usual if no SFDNAME is attached.
+%% Otherwise, TFMNAME is the basename of TeX fonts, for example,
+%% cyberb@Unicode@ expands to cyberb00 -- cyberbff, where Unicode.sfd
+%% contains subfont definitions with name from 00 to ff.
+%% Moreover, both TFMNAME and SFDNAME do not contain file extensions.
+%%
+%% 2) ENCNAME|CMapNAME
+%%
+%% ENCNAME is the name of an 8-bit encoding file, e.g., 8r.enc.
+%% CMapNAME is the name of a CMap file which is used as a 16-bit
+%% encoding file. In particular, if UCS2 (2-byte Unicode) is used
+%% as a 16-bit encoding, it suffices to set CMapNAME to unicode
+%% even if no corresponding CMap file exists.
+%%
+%% 3) [:INDEX:][!]FONTNAME[/CSI][,VARIANT]
+%%
+%% Font name is specified in the field FONTNAME with or without
+%% extension. The field INDEX is used for TrueType collections (.ttc)
+%% to specify the font index number. The character `!' enables the
+%% no-embedding option. The /CSI option is required for TrueType fonts
+%% when Identity CMap is specified in the ENCNAME. The stylistic variants
+%% (Bold, Italic, BoldItalic) are specified in the filed VARIANT.
+%% See examples below.
+%%
+%% 4) [OPTIONS]
+%%
+%% All options available in the original dvipdfm are also valid here.
+%% The remap option [-r] is simply ignored.
+
+%%
+%% Omega Examples
+%%
+
+%% Chinese
+%% Arphic TrueType fonts as Adobe-{CNS1,GB1} CID-keyed font.
+%ombkai UniCNS-UCS2-H bkai00mp
+%ombsmi UniCNS-UCS2-H bsmi00lp
+%omgkai UniGB-UCS2-H gkai00mp
+%omgbsn UniGB-UCS2-H gbsn00lp
+
+%% Japanese
+%% Adobe-Japan1
+omrml UniJIS-UCS2-H Ryumin-Light
+omgbm UniJIS-UCS2-H GothicBBB-Medium
+
+%% Korean
+%omgtm UniKS-UCS2-H HYGoThic-Medium
+%ombtr UniKS-UCS2-H batang
+
+%%
+%% ASCII pTeX Examples
+%%
+
+%% Ryumin and GothicBBB found in PostScript printers:
+rml H Ryumin-Light
+gbm H GothicBBB-Medium
+rmlv V Ryumin-Light
+gbmv V GothicBBB-Medium
+
+%% Synthetic font used for futo* family.
+%% jun101 not available.
+%ryumin-l H Ryumin-Light
+%gtbbb-m H GothicBBB-Medium
+%futomin-b H Ryumin-Light,Bold
+%futogo-b H GothicBBB-Medium,Bold
+%ryumin-l-v V Ryumin-Light
+%gtbbb-m-v V GothicBBB-Medium
+%futomin-b-v V Ryumin-Light,Bold
+%futogo-b-v V GothicBBB-Medium,Bold
+
+%% Morisawa OpenType Basic 7 Family Pack
+%%
+%ryumin-l H A-OTF-RyuminPro-Light
+%ryumin-l-v V A-OTF-RyuminPro-Light
+%gtbbb-m H A-OTF-GothicBBBPro-Medium
+%gtbbb-m-v V A-OTF-GothicBBBPro-Medium
+%futomin-b H A-OTF-FutoMinA101Pro-Bold
+%futomin-b-v V A-OTF-FutoMinA101Pro-Bold
+%futogo-b H A-OTF-FutoGoB101Pro-Bold
+%futogo-b-v V A-OTF-FutoGoB101Pro-Bold
+%jun101-l H A-OTF-Jun101Pro-Light
+%jun101-l-v V A-OTF-Jun101Pro-Light
+
+%% MS Mincho/Gothic
+%msmin H msmincho
+%msgot H msgothic
+
+%% MS-Mincho with proportional latin and kana:
+%msminp H :1:msmincho
+
+%% Hojo-Kanji (JIS X 0212-1990): Adobe-Japan2
+%hmin Hojo-H msmincho
+%hminv Hojo-V msmincho
+
+%%
+%% CJK-LaTeX/HLaTeX Examples
+%%
+
+%% Arphic Public Licence fonts:
+%% AR PL KaitiM, AR PL Mingti2L, AR PL SungtiL
+
+%bsmi@Big5@ ETen-B5-H bsmi00lp
+%bkai@Big5@ ETen-B5-H bkai00mp
+%gbsn@EUC@ GB-EUC-H gbsn00lp
+%gkai@EUC@ GB-EUC-H gkai00mp
+%bsmir@Big5@ ETen-B5-V bsmi00lp
+%bkair@Big5@ ETen-B5-V bkai00mp
+%gbsnr@EUC@ GB-EUC-V gbsn00lp
+%gkair@EUC@ GB-EUC-V gkai00mp
+
+%% Korean MS-Windows fonts with stylistic variants
+%jbtm@UKS@ UniKS-UCS2-H !batang
+%jbtmo@UKS@ UniKS-UCS2-H !batang,Italic
+%jbtb@UKS@ UniKS-UCS2-H !batang,Bold
+%jbtbo@UKS@ UniKS-UCS2-H !batang,BoldItalic
+
+%% Baekmuk fonts (used with HLaTeX package)
+%bbtm@KS-HLaTeX@ KSCms-UHC-H batang
+%bbtmo@UKS-HLaTeX@ UniKS-UCS2-H batang -s .167
+
+%% Heisei family of Acrobat Asian Font Packs:
+%% Not embedded.
+%mincho@UJIS@ UniJIS-UCS2-H HeiseiMin-W3-Acro
+%gothic@UJIS@ UniJIS-UCS2-H HeiseiKakuGo-W5-Acro
+
+%% Bitstream Cyberbit
+%% Available at:
+%% http://ftp.netscape.com/pub/communicator/extras/fonts/windows/ReadMe.htm
+
+%cyberb@Unicode@ unicode cyberbit
diff --git a/Master/texmf/dvipdfm/dvipdfmx.cfg b/Master/texmf/dvipdfm/dvipdfmx.cfg
index 440dc505f13..6a438e3b598 100644
--- a/Master/texmf/dvipdfm/dvipdfmx.cfg
+++ b/Master/texmf/dvipdfm/dvipdfmx.cfg
@@ -1,4 +1,10 @@
%%
+%% ** 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.
@@ -8,7 +14,7 @@
%% 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
@@ -22,31 +28,38 @@ V 4
%C 0x0000
-
%%
%% PDF Document Settings
%%
%% Papersize Option:
+%%
%% p papersize-spec
%%
%% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter',
%% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'.
%%
-p a4
+p a4
-%% Add margin specified by 'g' option to annotation created via various
-%% \specials. Many TeX macro pages set the annotation bounding box equal
-%% to the TeX box that encloses the material. That's not always what you
-%% want.
+%% Annotation Box Margin:
%%
-%% The initial state of bookmark (outline) item is to be 'open' if depth
-%% of item from root node (depth 0) is less than or equal to the integer
-%% specified with 'O' option.
-
-g 1
-O 0
+%% g length
+%%
+%% Add margin to annotation rectangle created via various \specials. Many
+%% 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.
+%%
+%% Bookmark Open Level:
+%%
+%% O integer
+%%
+%% Mark bookmark (outline) item as initial state 'open' if the depth
+%% 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
@@ -55,7 +68,7 @@ O 0
%%
%% Key bits for PDF encryption (40 - 128)
-K 40
+K 40
%% Permission flag for PDF encryption: Revision will be 3 if the key size
%% is greater than 40 bits.
@@ -86,8 +99,7 @@ K 40
%% (and bit 3 is set), printing is limited to a low-level representation
%% of the appearance, possibly of degraded quality.
-P 0x003C
-
+P 0x003C
%%
%% Image Handler
@@ -118,32 +130,51 @@ P 0x003C
%% 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)
-%%
+%%
%% If you have figures even larger than A0, and their llx=lly=0, you can
%% use -dEPSCrop instead of -sPAPERSIZE=a0
%%
%% 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"
+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"
+%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"
%% Frank Siegert's PStill:
-%D "/usr/local/bin/pstill -c -o %o %i"
+%D "/usr/local/bin/pstill -c -o %o %i"
%% Adobe Acrobat Distiller:
-%D "/usr/local/bin/distill -quiet -pairs %i %o"
+%D "/usr/local/bin/distill -quiet -pairs %i %o"
%% Batik + Fop (SVG-to-PDF):
-%% If you want both PS and SVG, of course you need to write script
-%% or program that selectively invokes converters.
-%D "java -classpath classpaths -jar /path/to/batik-rasterizer.jar -m application/pdf -d %o %i"
+%% If you want both PS and SVG, you need to write a script or program
+%% that selectively invokes converters.
+%D "java -classpath classpaths -jar /path/to/batik-rasterizer.jar -m application/pdf -d %o %i"
%% There are no way to directly know suggested size of (raster) images.
%% You may want to use %b here, since you can try reading the ebb file
%% to see what is natural (physical) size of images.
-%D "ras2pdf -r 300x300 -b %b.bb -o %o %i"
+%D "ras2pdf -r 300x300 -b %b.bb -o %o %i"
+
+%% ImageMagick:
+%% Easiest way to support various file formats.
+%D "convert %i epdf:%o"
+
+%% Other Options
+%%
+%% DPI for PK font creation
+
+%r 600
+
+%% Set number of fractional digit kept for various numbers in PDF page
+%% content output. By setting this to 2 (default), dvipdfmx rounds
+%% real numbers at 2nd fractional (decimal) digit; e.g., "3.14159" is
+%% written as "3.14". Increasing this to more than 2 isn't meaningful
+%% for old Acrobat due to implementation limit of Acrobat.
+%% Length 0.01 in unscaled coordinate system amount to width of 1 pixel
+%% in 7200ppi display.
+%d 5
%%
%% Font Map Files
@@ -157,13 +188,11 @@ f cm-dvipdfm-fix.map
%% teTeX 2.x using updmap
-f dvipdfm.map
+f dvipdfm.map
%% MiKTeX 2.2 and 2.3
%f psfonts.map
-
%% Put additonal fontmap files here
-f cid-x.map
-
+f cid-x.map