diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/etc-dk4app | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/etc-dk4app')
-rw-r--r-- | support/dktools/etc-dk4app/dk4gra.conf | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/support/dktools/etc-dk4app/dk4gra.conf b/support/dktools/etc-dk4app/dk4gra.conf new file mode 100644 index 0000000000..b6fda78e59 --- /dev/null +++ b/support/dktools/etc-dk4app/dk4gra.conf @@ -0,0 +1,211 @@ +# Copyright (C) 2020, Dirk Krause. All rights reserved. +# SPDX-License-Identifier: BSD-3-Clause + +# DO NOT MODIFY THIS FILE! +# +# To customize settings, create a copy of this file in the /etc/dk4app-site or +# C:\Program Files\Krause\etc\dk4app-site directory or the in ${HOME}/.dk4app +# directory and edit the copy. Create the directories if necessary. +# +# This file is under package managements control and may be replaced with +# new versions during package updates. +# Files in the directories mentioned above are untouched during package +# updates. +# +# Your copy only needs to contain the sections and settings you want to +# overwrite. +# +# Cumulative processing is used for processing dk4gra.conf files: +# - Settings in files processed later overwrite settings in files +# processed earlier. +# - Settings later in a file overwrite settings made earlier in the file. + + + +# General setup +# ============= +# This section applies to all drivers and purposes. + +[*] + +# Color usage +# ----------- +# Boolean, "on"/"yes"/"true" or "off"/"no"/"false". +# Allow colored output. +# +color = on + +# Alpha channel use +# ----------------- +# What to do with alpha channel data if the output type does not support +# an alpha channel: +# - mix +# Use alpha channel to mix foreground and background. +# - foreground +# Juse use the foreground data. +# +use alpha channel = mix + +# Default image background +# ------------------------ +# Set of the integer numbers in the range 0...255 to indicate +# the red, green, and blue components of the default image background. +# The default image background is used for images containing +# transparency/opacity information if the image file does not contain +# information about the background color. +# +image background = 255 255 255 + +# Force use of default image background +# ------------------------------------- +# Boolean, controls whether or not the default image background is used +# even if the image file contains background color information. +# +force image background = no + +# Image interpolation +# ------------------- +# Boolean, allow or deny to set the interpolation flag for bitmap images. +# The interpolation flag allows PDF/PS rendering software to create an +# optimized representation of the image. +# +image interpolation = yes + +# Directly use DCT encoded data from JPEG files +# --------------------------------------------- +# Boolean, allow or deny the direct use of DCT encoded data from JPEG files. +# Using the DCT encoded data directly avoids the process of image decoding +# and encoding to flate/LZW/run-length, so it saves both processing time +# and output size. +# +use dct encoded data = yes + +# Allow image interpolation for DCT encoded data +# ---------------------------------------------- +# Boolean, allow or deny to set the image interpolation flag when directly +# using DCT encoded data from a JPEG file. +# +dct image interpolation = no + +# Analyze bits per component +# -------------------------- +# Boolean, allow or deny to analyze and reduce the number of bits per +# component. The number of bits per component is only reduced if there +# is no quality loss in the reduction. +# +analyze bits per component = yes + +# Analyze color usage +# ------------------- +# Boolean, allow or deny to analyze color usage in an image. +# If all pixels have R=G=B or C=M=Y we can reduce the image to a grayscaled +# image. +# +analyze colors = yes + +# Analyze alpha channel usage +# --------------------------- +# Boolean, allow or deny to analyze alpha channel usage in an image. +# If all pixels are set to full opacity, we can ignore the alpha channel +# in further processing. +# +analyze alpha = yes + +# Ignore resolution chunk +# ----------------------- +# Boolean, allow or deny to ignore resolution information in a +# bitmap image file. +# +ignore resolution = no + +# X-spline quality +# ---------------- +# Unsigned integer, number of Bezier segments to draw for each +# X-spline segment. +# +x-spline sub segments = 8 + +# Tolerance for iterative segment length calculation +# -------------------------------------------------- +# Floating point (double) value. Iteration is stopped when the difference +# between current pass result and previous pass result is below the specified +# limit. +x-spline length precision = 1.0e-3 + +# Tolerance for parameter calculation +# ----------------------------------- +# Floating point (double) value. Iteration is stopped when the difference +# between the current pass result and the target value is below the specified +# limit. +x-spline parameter precision = 4.0e-3 + + + +# Settings for PS +# =============== +# The settings in this section are only applied if the output language +# is "ps" or "eps". + +[ps] + +# PS language level +# ----------------- +# The PS language level is either 2 or 3. +# +level = 3 + +# LZW compression +# --------------- +# Boolean, allow or deny the use of LZW compression when producing +# PS level 2 output. +# +lzw = no + + + +# Settings for purpose document +# ============================= +# The settings in this section are only applied if the output purpose +# is "document". + +[document] + +# Paper size +# ---------- +# String, one of the paper formats configured in the dk3paper.conf and/or +# dk4paper.conf files. +# +paper size = a4 + +# Duplex printing (use front side and back side of paper) +# ------------------------------------------------------- +# Boolean, allow or deny duplex printing. +# Duplex printing means using both front side and back side of paper. +# Duplex printing without tumble means producing a book. +# +duplex = yes + +# Tumble when duplex printing +# --------------------------- +# Boolean, allow or deny tumble when duplex printing. +# Duplex printing without tumble means producing a book. +# Duplex printing with tumble means producing something like a calendar. +# +tumble = no + + + +# Settings for language ps and purpose document +# ============================================= +# The settings in this section are only applied if the output language +# is "ps" and the output purpose is "document". + +[ps.document] + +# Document structuring comments +# ----------------------------- +# Boolean, controls whether or not to write document structuring comments +# to output. +# +dsc = yes + |