/usr/share/ghostscript/8.70/lib
NameSizeModeActions
acctest.ps43240644editdlrm
addxchar.ps98480644editdlrm
align.ps23130644editdlrm
bdftops.ps234030644editdlrm
bj8.rpd6390644editdlrm
bj8gc12f.upp15280644editdlrm
bj8hg12f.upp15270644editdlrm
bj8oh06n.upp15130644editdlrm
bj8pa06n.upp15210644editdlrm
bj8pp12f.upp15380644editdlrm
bj8ts06n.upp15260644editdlrm
bjc610a0.upp15230644editdlrm
bjc610a1.upp15120644editdlrm
bjc610a2.upp15130644editdlrm
bjc610a3.upp15180644editdlrm
bjc610a4.upp15260644editdlrm
bjc610a5.upp15130644editdlrm
bjc610a6.upp15130644editdlrm
bjc610a7.upp15160644editdlrm
bjc610a8.upp15220644editdlrm
bjc610b1.upp15120644editdlrm
bjc610b2.upp15130644editdlrm
bjc610b3.upp15180644editdlrm
bjc610b4.upp15260644editdlrm
bjc610b6.upp15130644editdlrm
bjc610b7.upp15170644editdlrm
bjc610b8.upp15220644editdlrm
bjc6000a1.upp16600644editdlrm
bjc6000b1.upp16600644editdlrm
caption.ps17210644editdlrm
cbjc600.ppd110400644editdlrm
cbjc800.ppd113830644editdlrm
cdj550.upp16860644editdlrm
cdj690.upp19950644editdlrm
cdj690ec.upp20560644editdlrm
cid2code.ps44750644editdlrm
decrypt.ps3500644editdlrm
dmp_init.ps72460644editdlrm
dmp_site.ps4590644editdlrm
dnj750c.upp28040644editdlrm
dnj750m.upp19710644editdlrm
docie.ps73730644editdlrm
dumphint.ps200440644editdlrm
escp_24.src3500644editdlrm
font2c.ps195910644editdlrm
font2pcl.ps175680644editdlrm
ghostpdf.ppd256430644editdlrm
gslp.ps196430644editdlrm
gsnup.ps27250644editdlrm
gs_ce_e.ps23640644editdlrm
gs_cmdl.ps48440644editdlrm
gs_fform.ps31620644editdlrm
gs_il2_e.ps27770644editdlrm
gs_kanji.ps39420644editdlrm
gs_ksb_e.ps32910644editdlrm
gs_l.xbm19450644editdlrm
gs_l.xpm27510644editdlrm
gs_lgo_e.ps28860644editdlrm
gs_lgx_e.ps19120644editdlrm
gs_l_m.xbm19550644editdlrm
gs_m.xbm9450644editdlrm
gs_m.xpm14370644editdlrm
gs_m_m.xbm9550644editdlrm
gs_pfile.ps43490644editdlrm
gs_rdlin.ps8620644editdlrm
gs_s.xbm5940644editdlrm
gs_s.xpm9570644editdlrm
gs_s_m.xbm6040644editdlrm
gs_t.xbm3450644editdlrm
gs_t.xpm6050644editdlrm
gs_t_m.xbm3550644editdlrm
gs_wl1_e.ps25300644editdlrm
gs_wl2_e.ps25280644editdlrm
gs_wl5_e.ps25460644editdlrm
ht_ccsto.ps2281940644editdlrm
image-qa.ps733230644editdlrm
impath.ps55380644editdlrm
jispaper.ps9300644editdlrm
landscap.ps15250644editdlrm
level1.ps1100644editdlrm
lines.ps38680644editdlrm
markhint.ps34730644editdlrm
markpath.ps18900644editdlrm
mkcidfm.ps73050644editdlrm
necp2x.upp10410644editdlrm
necp2x6.upp10650644editdlrm
packfile.ps103580644editdlrm
pcharstr.ps35840644editdlrm
pdf2dsc.ps83770644editdlrm
PDFA_def.ps11700644editdlrm
pdfopt.ps365160644editdlrm
pdfwrite.ps116760644editdlrm
PDFX_def.ps18680644editdlrm
pf2afm.ps153510644editdlrm
pfbtopfa.ps11410644editdlrm
PM760p.upp11600644editdlrm
PM760pl.upp11240644editdlrm
PM820p.upp11420644editdlrm
PM820pl.upp11170644editdlrm
ppath.ps19740644editdlrm
pphs3910644editdlrm
pphs.ps69220644editdlrm
prfont.ps64870644editdlrm
printafm.ps37750644editdlrm
ps2ai.ps224850644editdlrm
ps2ascii.ps446180644editdlrm
ps2epsi.ps81870644editdlrm
quit.ps50644editdlrm
ras1.upp2110644editdlrm
ras3.upp2100644editdlrm
ras4.upp2160644editdlrm
ras8m.upp2050644editdlrm
ras24.upp2150644editdlrm
ras32.upp1920644editdlrm
rollconv.ps117650644editdlrm
s400a1.upp14540644editdlrm
s400b1.upp16030644editdlrm
sharp.upp19360644editdlrm
showchar.ps29320644editdlrm
showpage.ps90644editdlrm
sipixa6.upp5290644editdlrm
st640ih.upp22770644editdlrm
st640ihg.upp15040644editdlrm
st640p.upp19100644editdlrm
st640pg.upp11370644editdlrm
st640pl.upp18740644editdlrm
st640plg.upp11010644editdlrm
stc.upp19190644editdlrm
stc2.upp19000644editdlrm
stc2s_h.upp22680644editdlrm
stc2_h.upp18750644editdlrm
stc200_h.upp18440644editdlrm
stc300.upp21320644editdlrm
stc300bl.upp13370644editdlrm
stc300bm.upp14260644editdlrm
stc500p.upp18990644editdlrm
stc500ph.upp18990644editdlrm
stc600ih.upp22770644editdlrm
stc600p.upp11470644editdlrm
stc600pl.upp11110644editdlrm
stc640p.upp10910644editdlrm
Stc670p.upp11590644editdlrm
Stc670pl.upp11240644editdlrm
Stc680p.upp11400644editdlrm
Stc680pl.upp11150644editdlrm
stc740ih.upp21230644editdlrm
Stc740p.upp10390644editdlrm
Stc740pl.upp11150644editdlrm
Stc760p.upp11410644editdlrm
Stc760pl.upp11150644editdlrm
Stc777p.upp11400644editdlrm
Stc777pl.upp11150644editdlrm
stc800ih.upp21540644editdlrm
stc800p.upp11110644editdlrm
stc800pl.upp10930644editdlrm
stc1520h.upp21500644editdlrm
stcany.upp6690644editdlrm
stcany_h.upp6770644editdlrm
stcinfo.ps257330644editdlrm
stcolor.ps52210644editdlrm
stc_h.upp19090644editdlrm
stc_l.upp7300644editdlrm
stocht.ps26460644editdlrm
Stp720p.upp11580644editdlrm
Stp720pl.upp11150644editdlrm
Stp870p.upp11400644editdlrm
Stp870pl.upp11150644editdlrm
traceimg.ps15280644editdlrm
traceop.ps27340644editdlrm
type1enc.ps25360644editdlrm
type1ops.ps75760644editdlrm
uninfo.ps61360644editdlrm
unprot.ps19040644editdlrm
viewcmyk.ps21130644editdlrm
viewgif.ps45730644editdlrm
viewjpeg.ps49490644editdlrm
viewmiff.ps37780644editdlrm
viewpbm.ps53070644editdlrm
viewpcx.ps43450644editdlrm
viewps2a.ps12820644editdlrm
wftopfa.ps89230644editdlrm
winmaps.ps37430644editdlrm
wrfont.ps181680644editdlrm
zeroline.ps24630644editdlrm
Edit: /usr/share/ghostscript/8.70/lib/mkcidfm.ps (7305B)
% Copyright (C) 2004 Artifex Software, Inc. All rights reserved. % % This software is provided AS-IS with no warranty, either express or % implied. % % This software is distributed under license and may not be copied, % modified or distributed except as expressly authorized under the terms % of the license contained in the file LICENSE in this distribution. % % For more information about licensing, please refer to % http://www.ghostscript.com/licensing/. For information on % commercial licensing, go to http://www.artifex.com/licensing/ or % contact Artifex Software, Inc., 101 Lucas Valley Road #110, % San Rafael, CA 94903, U.S.A., +1(415)492-9861. % $Id: mkcidfm.ps 8022 2007-06-05 22:23:38Z giles $ % Generate a cidfmap file for substituting CID fonts with TrueType % fonts, based on fonts found in the directory FONTDIR. % % The directory FONTDIR is searched for fonts whose filename % matches a Path in the cidsubs dictionary. % Any matches are written out as a CID font substitution. % % For each fontname and alias in the fontaliases dictionary, % write out each alias that matches a substituted font. % Where multiple aliases are possible, use the first match. % % Note that the substitutions and aliases in this file were created % by someone who doesn't understand Chinese, Japanese or Korean. % The initial list contains only font files found in Windows XP. % Please submit corrections and additions. % % Font filenames must match case. % All font filenames are currently lower case. % % Usage: gswin32c -q -dBATCH -sFONTDIR=c:/windows/fonts % -sCIDFMAP=c:/gs/cidfmap mkcidfm.ps systemdict /FONTDIR known not { /FONTDIR (c:/windows/fonts) def } if systemdict /CIDFMAP known { CIDFMAP } { (%stdout) } ifelse /cidfmap exch (w) file def % Directory separator as used by filenameforall /dirsep (/) def % This dictionary contains a list of font substitutions. % The first matching substitution in the array will be used. /fontaliases << % Traditional Chinese /MSung-Light [ /MingLiU ] /MSung-Medium [ /MingLiU ] /MHei-Medium [ /MingLiU ] /MKai-Medium [ /Arial-Unicode-MS /MingLiU ] % Simplified Chinese /STSong-Light [ /SimSun ] /STFangsong-Light [ /SimSun ] /STHeiti-Regular [ /SimHei ] /STKaiti-Regular [ /SimHei ] % Japanese /Ryumin-Light [ /MS-Mincho ] /Ryumin-Medium [ /MS-Mincho ] /GothicBBB-Medium [ /MS-Gothic ] /HeiseiMin-W3 [ /MS-Mincho ] /HeiseiKakuGo-W5 [ /MS-Gothic ] % Korean /HYSMyeongJo-Medium [ /Batang ] /HYRGoThic-Medium [ /Gulim ] /HYGoThic-Medium [ /Dotum ] >> def % This dictionary contains a list of CID substitutions /cidsubs << % Simplified Chinese /SimHei << /FileType /TrueType /Path (simhei.ttf) /SubfontID 0 /CSI [(GB1) 2] >> /SimSun << /FileType /TrueType /Path (simsun.ttc) /SubfontID 0 /CSI [(GB1) 2] >> /NSimSun << /FileType /TrueType /Path (simsun.ttc) /SubfontID 1 /CSI [(GB1) 2] >> % Traditional Chinese /MingLiU << /FileType /TrueType /Path (mingliu.ttc) /SubfontID 0 /CSI [(CNS1) 2] >> /PMingLiU << /FileType /TrueType /Path (mingliu.ttc) /SubfontID 1 /CSI [(CNS1) 2] >> /Arial-Unicode-MS << /FileType /TrueType /Path (arialuni.ttc) /SubfontID 0 /CSI [(CNS1) 2] >> % Japanese /MS-Gothic << /FileType /TrueType /Path (msgothic.ttc) /SubfontID 0 /CSI [(Japan1) 3] >> /MS-PGothic << /FileType /TrueType /Path (msgothic.ttc) /SubfontID 1 /CSI [(Japan1) 3] >> /MS-UI-Gothic << /FileType /TrueType /Path (msgothic.ttc) /SubfontID 2 /CSI [(Japan1) 3] >> /MS-Mincho << /FileType /TrueType /Path (msmincho.ttc) /SubfontID 0 /CSI [(Japan1) 3] >> /MS-PMincho << /FileType /TrueType /Path (msmincho.ttc) /SubfontID 1 /CSI [(Japan1) 3] >> % Korean /Batang << /FileType /TrueType /Path (batang.ttc) /SubfontID 0 /CSI [(Korea1) 3] >> /BatangChe << /FileType /TrueType /Path (batang.ttc) /SubfontID 1 /CSI [(Korea1) 3] >> /Gungsuh << /FileType /TrueType /Path (batang.ttc) /SubfontID 2 /CSI [(Korea1) 3] >> /GungsuhChe << /FileType /TrueType /Path (batang.ttc) /SubfontID 3 /CSI [(Korea1) 3] >> /Gulim << /FileType /TrueType /Path (gulim.ttc) /SubfontID 0 /CSI [(Korea1) 3] >> /GulimChe << /FileType /TrueType /Path (gulim.ttc) /SubfontID 1 /CSI [(Korea1) 3] >> /Dotum << /FileType /TrueType /Path (gulim.ttc) /SubfontID 2 /CSI [(Korea1) 3] >> /DotumChe << /FileType /TrueType /Path (gulim.ttc) /SubfontID 3 /CSI [(Korea1) 3] >> >> def % A dictionary for storing the names and paths of found fonts /foundfonts 50 dict def % Get the basename of a path % For example, (c:/windows/fonts/msmincho.ps) --> (msmincho.ps) /basename { % path -- subpath { dirsep search {pop pop} {exit} ifelse } loop } def % Check if a font basename matches one of the possible cid substitutions. % If it does, add the font and full path to the foundfonts dictionary /checkfont { dup basename cidsubs { /Path get 2 index eq % Match case only { foundfonts exch 3 index dup length string copy put } { pop } ifelse } forall pop pop } def % Add all matching fonts to foundfonts dictionary /findfonts { % path -- dup length 2 add string dup 3 1 roll copy pop dup dup length 2 sub dirsep 0 get put dup dup length 1 sub (*) 0 get put /checkfont load 256 string filenameforall } def % Write out a cid substition, using the full font path % name is the font name, e.g. /MS-Mincho % path is the full path to the font file, e.g. (c:\windows\fonts\msmincho.ps) % subs is the dictionary for CID font substition, from cidsubs /emitsubs { % name path subs -- 3 -1 roll cidfmap exch write==only % name cidfmap ( << ) writestring % path subs { 1 index /Path eq {pop 1 index} if % use full path, not basename exch cidfmap exch write==only cidfmap ( ) writestring cidfmap exch write==only cidfmap ( ) writestring } forall cidfmap (>> ;\n) writestring pop } def % Write out all known cid substitutions. /writesubs { % --- cidfmap (% Substitutions\n) writestring foundfonts { 1 index cidsubs exch known { 1 index cidsubs exch get % name path subs emitsubs } { pop pop } ifelse } forall } def % Write out aliases for which the cid substituted font exists. /writealiases { % -- cidfmap (\n% Aliases\n) writestring fontaliases { % name aliasarray { % name alias foundfonts 1 index known { 1 index cidfmap exch write==only cidfmap ( ) writestring cidfmap exch write==only cidfmap ( ;\n) writestring exit % after first match } { pop % didn't find this name } ifelse } forall % name pop } forall } def % Write out a new cidfmap file to stdout /writecidfmap { % path -- cidfmap (%!\n% cidfmap generated automatically by mkcidfm.ps from fonts found in\n) writestring cidfmap (% ) writestring dup cidfmap exch writestring cidfmap (\n\n) writestring findfonts writesubs writealiases } def FONTDIR writecidfmap