~ubuntu-branches/ubuntu/raring/cups-filters/raring-proposed

« back to all changes in this revision

Viewing changes to mime/cupsfilters.convs

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-07-22 18:57:32 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20120722185732-26kkte5p1lth3rt5
Tags: 1.0.20-0bzr1
* New upstream release
   - pdftops: Added another workaround for Kyocera printers: Some
     models get very slow on images which request interpolation,
     so now we remove the image interpolation requests by additional
     PostScript code only inserted for Kyocera printers (LP: #1026974).
   - Made the Poppler-based filters pdftopdf and pdftoopvp build with
     both Poppler 0.18.x and 0.20.x (Upstream bug #1055).
   - Fixes according to Coverity scan results (Upstream bug #1054).
   - Switched build system to autotools. This especially fixes several
     build problems in Gentoo. Also build-tested with CUPS 1.6.0b1.
   - Fixes for compatibility with clang/gcc-4.7.
   - textonly: Filter did not work as a pipe with copies=1 (Upstream bug
     #1032).
   - texttopdf: Avoid trimming the results of FcFontSort(), as this may
     miss some reasonable candidates under certain circumstances. BTW,
     fix passing a non-pointer as a pointer to "result" (Closes: #670055).
   - Corrected documentation. The option for the maximum image rendering
     resolution in pdftops is "pdftops-max-image-resolution", not
     "pdftops-max-image-resolution-default".
* debian/patches/fcfontsort-no-trim.patch: Removed, fixed upstream.
* debian/rules: Updated options for ./configure and make for the new autotools
  build system.
* debian/watch: Switched to bz2 upstream packages.
* debian/rules, debian/copyright, debian/cups-filters.docs: Updated for
  renamed documentation files.
* debian/control, debian/libfontembed1.install,
  debian/libfontembed-dev.install: Added new binary packages for libfontembed.
* debian/copyright: Updated for recent file additions, and rearrangement of
  directories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# "$Id: $"
 
3
#
 
4
#   MIME conversions file for OpenPrinting CUPS Filters.
 
5
#
 
6
#   Copyright 2007-2011 by Apple Inc.
 
7
#   Copyright 1997-2007 by Easy Software Products.
 
8
#
 
9
#   These coded instructions, statements, and computer programs are the
 
10
#   property of Apple Inc. and are protected by Federal copyright
 
11
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
 
12
#   which should have been included with this file.  If this file is
 
13
#   file is missing or damaged, see the license at "http://www.cups.org/".
 
14
#
 
15
 
 
16
########################################################################
 
17
#
 
18
# Format of Lines:
 
19
#
 
20
#   source/type destination/type cost filter
 
21
#
 
22
# General Notes:
 
23
#
 
24
#   The "cost" field is used to find the least costly filters to run
 
25
#   when converting a job file to a printable format.
 
26
#
 
27
#   All filters *must* accept the standard command-line arguments
 
28
#   (job-id, user, title, copies, options, [filename or stdin]) to
 
29
#   work with CUPS.
 
30
#
 
31
 
 
32
########################################################################
 
33
#
 
34
# PDF filters
 
35
#
 
36
 
 
37
# CUPS file conversion rules for PostScript input when we are working with
 
38
# the PDF printing workflow. General PostScript input should be converted to
 
39
# PDF, so that pdftopdf is doing the page management on PDF data and the
 
40
# renderer/driver part renders PDF. An exception is made for PostScript
 
41
# coming from the Adobe Reader. As this PostScript cannot be converted to PDF
 
42
# if it comes from an encrypted PDF file, we simply override pstopdf and the
 
43
# PDF workflow.
 
44
 
 
45
application/postscript          application/pdf                 22      pstopdf
 
46
application/vnd.adobe-reader-postscript application/vnd.cups-postscript 66      pstops
 
47
 
 
48
application/pdf         application/vnd.cups-pdf                22      pdftopdf
 
49
application/x-cshell    application/pdf                         0       texttopdf
 
50
application/x-csource   application/pdf                         0       texttopdf
 
51
application/x-perl      application/pdf                         0       texttopdf
 
52
application/x-shell     application/pdf                         0       texttopdf
 
53
text/plain              application/pdf                         0       texttopdf
 
54
text/html               application/pdf                         0       texttopdf
 
55
image/gif               application/vnd.cups-pdf                33      imagetopdf
 
56
image/png               application/vnd.cups-pdf                33      imagetopdf
 
57
image/jpeg              application/vnd.cups-pdf                33      imagetopdf
 
58
image/tiff              application/vnd.cups-pdf                33      imagetopdf
 
59
image/x-bitmap          application/vnd.cups-pdf                33      imagetopdf
 
60
image/x-photocd         application/vnd.cups-pdf                33      imagetopdf
 
61
image/x-portable-anymap application/vnd.cups-pdf                33      imagetopdf
 
62
image/x-portable-bitmap application/vnd.cups-pdf                33      imagetopdf
 
63
image/x-portable-graymap application/vnd.cups-pdf               33      imagetopdf
 
64
image/x-portable-pixmap application/vnd.cups-pdf                33      imagetopdf
 
65
image/x-sgi-rgb         application/vnd.cups-pdf                33      imagetopdf
 
66
image/x-xbitmap         application/vnd.cups-pdf                33      imagetopdf
 
67
image/x-xpixmap         application/vnd.cups-pdf                33      imagetopdf
 
68
image/x-xwindowdump     application/vnd.cups-pdf                33      imagetopdf
 
69
image/x-sun-raster      application/vnd.cups-pdf                33      imagetopdf
 
70
application/vnd.cups-pdf-banner application/pdf                 33      bannertopdf
 
71
 
 
72
########################################################################
 
73
#
 
74
# PostScript filters
 
75
#
 
76
 
 
77
#application/pdf                application/vnd.cups-postscript 66      pdftops
 
78
application/vnd.cups-pdf        application/vnd.cups-postscript 22      pdftops
 
79
#application/postscript         application/vnd.cups-postscript 66      pstops
 
80
 
 
81
########################################################################
 
82
#
 
83
# Raster filters...
 
84
#
 
85
 
 
86
application/vnd.cups-pdf        application/vnd.cups-raster     100     pdftoraster
 
87
image/gif                       application/vnd.cups-raster     100     imagetoraster
 
88
image/png                       application/vnd.cups-raster     100     imagetoraster
 
89
image/jpeg                      application/vnd.cups-raster     100     imagetoraster
 
90
image/tiff                      application/vnd.cups-raster     100     imagetoraster
 
91
image/x-bitmap                  application/vnd.cups-raster     100     imagetoraster
 
92
image/x-photocd                 application/vnd.cups-raster     100     imagetoraster
 
93
image/x-portable-anymap         application/vnd.cups-raster     100     imagetoraster
 
94
image/x-portable-bitmap         application/vnd.cups-raster     100     imagetoraster
 
95
image/x-portable-graymap        application/vnd.cups-raster     100     imagetoraster
 
96
image/x-portable-pixmap         application/vnd.cups-raster     100     imagetoraster
 
97
image/x-sgi-rgb                 application/vnd.cups-raster     100     imagetoraster
 
98
image/x-xbitmap                 application/vnd.cups-raster     100     imagetoraster
 
99
image/x-xpixmap                 application/vnd.cups-raster     100     imagetoraster
 
100
image/x-sun-raster              application/vnd.cups-raster     100     imagetoraster
 
101
 
 
102
########################################################################
 
103
#
 
104
# Text filters (only for text-only printers)...
 
105
#
 
106
 
 
107
application/x-cshell            text/plain                      100     -
 
108
application/x-csource           text/plain                      100     -
 
109
application/x-perl              text/plain                      100     -
 
110
application/x-shell             text/plain                      100     -
 
111
text/html                       text/plain                      100     -
 
112
text/css                        text/plain                      100     -
 
113
 
 
114
#
 
115
# End of "$Id: $".
 
116
#