Académique Documents
Professionnel Documents
Culture Documents
%
% 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.
/.distillersettings mark
/default mark
/AutoRotatePages /PageByPage
/CannotEmbedFontPolicy /Warning
/ColorACSImageDict .defaultImageDict
/ColorConversionStrategy /LeaveColorUnchanged
% /ColorImageDownsampleType
% /ColorImageResolution
% /CompatibilityLevel
/CreateJobTicket false
/DoThumbnails false
/DownsampleColorImages false % override
/DownsampleGrayImages false % override
/DownsampleMonoImages false % override
/EmbedAllFonts true
/GrayACSImageDict .defaultImageDict
% /GrayImageDownsampleType
% /GrayImageResolution
% /MonoImageDownsampleType
% /MonoImageResolution
/NeverEmbed .standardfonts
/Optimize false % override
/PreserveEPSInfo true
/PreserveOPIComments true
/PreserveOverprintSettings true
/UCRandBGInfo /Preserve
.dicttomark readonly
/.screenACSImageDict mark
/QFactor 0.76 /Blend 1 /ColorTransform 1
/HSamples .a2112 /VSamples .a2112
.dicttomark readonly def
/screen mark
/AutoRotatePages /PageByPage
% /CalGrayProfile (None)
/CannotEmbedFontPolicy /Warning
/ColorACSImageDict .screenACSImageDict
/ColorConversionStrategy /sRGB
/ColorImageDownsampleType /Average
/ColorImageResolution 72
/CompatibilityLevel 1.2
/CreateJobTicket false
/DoThumbnails false
/EmbedAllFonts true
/GrayACSImageDict .screenACSImageDict
/GrayImageDownsampleType /Average
/GrayImageResolution 72
/MonoImageDownsampleType /Average
/MonoImageResolution 300
/NeverEmbed .standardfonts
/PreserveEPSInfo false
/PreserveOPIComments false
/PreserveOverprintSettings false
/UCRandBGInfo /Remove
.dicttomark readonly
/ebook mark
/AutoRotatePages /All
% /CalGrayProfile (None)
/CannotEmbedFontPolicy /Warning
/ColorACSImageDict .screenACSImageDict
/ColorConversionStrategy /sRGB
/ColorImageDownsampleType /Bicubic
/ColorImageResolution 150
/CompatibilityLevel 1.3
/CreateJobTicket false
/DoThumbnails false
/EmbedAllFonts true
/GrayACSImageDict .screenACSImageDict
/GrayImageDownsampleType /Bicubic
/GrayImageResolution 150
/MonoImageDownsampleType /Bicubic
/MonoImageResolution 300
/NeverEmbed .standardfonts
/PreserveEPSInfo false
/PreserveOPIComments false
/PreserveOverprintSettings false
/UCRandBGInfo /Remove
.dicttomark readonly
/.printerACSImageDict mark
/QFactor 0.4 /Blend 1 /ColorTransform 1
/HSamples .a1111 /VSamples .a1111
.dicttomark readonly def
/printer mark
/AutoRotatePages /None
% /CalGrayProfile (None)
/CannotEmbedFontPolicy /Warning
/ColorACSImageDict .printerACSImageDict
/ColorConversionStrategy /UseDeviceIndependentColor
/ColorImageDownsampleType /Bicubic
/ColorImageResolution 300
/CompatibilityLevel 1.3
/CreateJobTicket true
/DoThumbnails false
/EmbedAllFonts true
/GrayACSImageDict .printerACSImageDict
/GrayImageDownsampleType /Bicubic
/GrayImageResolution 300
/MonoImageDownsampleType /Bicubic
/MonoImageResolution 1200
/NeverEmbed []
/PreserveEPSInfo true
/PreserveOPIComments true
/PreserveOverprintSettings true
/UCRandBGInfo /Preserve
.dicttomark readonly
/.prepressACSImageDict mark
/QFactor 0.15 /Blend 1 /ColorTransform 1
/HSamples .a1111 /VSamples .a1111
.dicttomark readonly def
/prepress mark
/AutoRotatePages /None
/CannotEmbedFontPolicy /Error
/ColorACSImageDict .prepressACSImageDict
/ColorConversionStrategy /LeaveColorUnchanged
/ColorImageDownsampleType /Bicubic
/ColorImageResolution 300
/CompatibilityLevel 1.3
/CreateJobTicket true
/DoThumbnails true
/EmbedAllFonts true
/GrayACSImageDict .prepressACSImageDict
/GrayImageDownsampleType /Bicubic
/GrayImageResolution 300
/MonoImageDownsampleType /Bicubic
/MonoImageResolution 1200
/NeverEmbed []
/PreserveEPSInfo true
/PreserveOPIComments true
/PreserveOverprintSettings true
/UCRandBGInfo /Preserve
.dicttomark readonly
% <dict> .hook_DSC_Creator -
/.pdf_hook_DSC_Creator
{
% If the Creator is PScript5.dll, disable the 32 /FontType resource for
% handling GlyphNames2Unicode. Since /FontType category can't redefine,
% we can do only with redefining the operator 'resourcestatus'.
currentdevice .devicename /pdfwrite eq {
/Creator .knownget {
(PScript5.dll) search {
pop pop
systemdict /resourcestatus dup
{ dup /FontType eq 2 index 32 eq and {
pop pop false
} {
resourcestatus
} ifelse
} bind .makeoperator .forceput
} if
pop
} if
} {
pop
} ifelse
}
bind def
% Use the DSC processing hook to pass DSC comments to the driver.
% We use a pseudo-parameter named DSC whose value is an array:
% /key1 (value1) ... /type
/.pdfdsc_dict 2 dict def
/.pdfdsc { % <file> <DSC string> <dsc dict> [<prev proc>] .pdfdsc -
0 get dup null ne { 4 copy exch pop exec pop } { pop } ifelse 3 -1 roll pop
% Stack: <dsc string> <dsc dict>
20 .localvmdict 1 index { 3 copy put pop pop } forall
3 -1 roll .parse_dsc_comments % <dsc dict> <dict> <type>
1 index //.pdf_hook_DSC_Creator exec
dup /NOP ne 2 index length 1 gt or { % Skip unparsed comments
PDFWRDEBUG { (**** DSC comment: ) print dup == 1 index === flush } if
exch mark 4 1 roll {
% mark <key1> <value1> ... <dsc dict> <type> <key> <value>
3 index 2 index known { % Skip the DSC_struct entry
pop pop
} {
.pdfcvs 4 -2 roll
} ifelse
} forall exch pop counttomark .localvmarray astore
mark /DSC 3 -1 roll .pdfputparams
dup type /booleantype ne {
/DSC .pdfparamerror
} {
cleartomark
} ifelse
} {
pop pop pop
} ifelse
} bind def
currentdict /.pdf_hook_DSC_Creator undef
/.initialize_dsc_parser where {
pop
3000 % priority
{
currentglobal true setglobal
2 dict dup .initialize_dsc_parser readonly
currentuserparams /ProcessDSCComment get
1 array astore % in case the value is executable
//.pdfdsc /exec load 4 array astore cvx readonly
<< /ProcessDSCComment 3 -1 roll >> setuserparams
setglobal
} bind .schedule_init
} if
1000 % priority
{
% Note, this may not work if the initial device is not pdfwrite
% and may require the use of -dProvideUnicode on the command line.
currentdevice .devicename /pdfwrite eq
systemdict /ProvideUnicode .knownget not { false } if or {
currentglobal true setglobal
systemdict /.setupUnicodeDecoder known {
/Unicode /Decoding resourcestatus {
pop pop
/Unicode /Decoding findresource
.setupUnicodeDecoder
} {
QUIET not {
(WARNING: /Unicode /Decoding resource is not accessible but it is useful
for generating ToUnicode CMap.) =
} if
} ifelse
} if
setglobal
} if
} bind .schedule_init
1010 % priority
{
% Set a predefined configuration in the distiller device (pdfwrite)
/PDFSETTINGS where { pop /PDFSETTINGS load } { /default } ifelse
.distillersettings exch get
% Don't override parameters defined on the command line.
dup length .distillercommon length add dict begin
.distillercommon 2 {
{
systemdict 2 index known { pop pop } { def } ifelse
} forall
} repeat
currentdict end .setdistillerparams
.distillerdevice //null false mark .putdeviceparams
dup type /booleantype eq not { cleartomark pop } if pop pop
} bind .schedule_init
2000 % priority
{ % Note, this may not work if the initial device is not pdfwrite
currentdevice .devicename /pdfwrite eq {
% Inform the device with initial graphic state. See gdev_pdf_fill_path.
newpath fill
} if
} bind .schedule_init