]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters: Updated all licence headers to Apache 2.0
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 23 Oct 2022 23:23:24 +0000 (01:23 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 23 Oct 2022 23:23:24 +0000 (01:23 +0200)
Now the license headers contains infor what the file contains,
copyright info and the license info.

The license is now the same as in CUPS:

    Licensed under Apache License v2.0.  See the file "LICENSE" for more
    information.

Added the header where it was missing. Also used a unique format for all
headers.

97 files changed:
cupsfilters/bannertopdf.c
cupsfilters/bitmap.c
cupsfilters/bitmap.h
cupsfilters/catalog.c
cupsfilters/catalog.h
cupsfilters/check.c
cupsfilters/cmyk.c
cupsfilters/colord.c
cupsfilters/colord.h
cupsfilters/colormanager.c
cupsfilters/colormanager.h
cupsfilters/dither.c
cupsfilters/driver.h
cupsfilters/filter.c
cupsfilters/filter.h
cupsfilters/fontembed-private.h
cupsfilters/fontembed/README
cupsfilters/fontembed/aglfn13.c
cupsfilters/fontembed/dynstring-private.h
cupsfilters/fontembed/dynstring.c
cupsfilters/fontembed/embed-pdf-private.h
cupsfilters/fontembed/embed-pdf.c
cupsfilters/fontembed/embed-sfnt-private.h
cupsfilters/fontembed/embed-sfnt.c
cupsfilters/fontembed/embed.c
cupsfilters/fontembed/fontfile.c
cupsfilters/fontembed/frequent-private.h
cupsfilters/fontembed/frequent.c
cupsfilters/fontembed/macroman-private.h
cupsfilters/fontembed/sfnt-private.h
cupsfilters/fontembed/sfnt-subset.c
cupsfilters/fontembed/sfnt.c
cupsfilters/fontembed/test-analyze.c
cupsfilters/fontembed/test-pdf.c
cupsfilters/fontembed/test-ps.c
cupsfilters/ghostscript.c
cupsfilters/ieee1284.c
cupsfilters/ieee1284.h
cupsfilters/image-colorspace.c
cupsfilters/image-jpeg.c
cupsfilters/image-png.c
cupsfilters/image-private.h
cupsfilters/image-tiff.c
cupsfilters/image-zoom.c
cupsfilters/image.c
cupsfilters/image.h
cupsfilters/imagetopdf.c
cupsfilters/imagetoraster.c
cupsfilters/ipp.c
cupsfilters/ipp.h
cupsfilters/log.h
cupsfilters/lut.c
cupsfilters/mupdftopwg.c
cupsfilters/pack.c
cupsfilters/pclmtoraster.cxx
cupsfilters/pdf.cxx
cupsfilters/pdf.h
cupsfilters/pdftopdf/intervalset-private.h
cupsfilters/pdftopdf/intervalset.cxx
cupsfilters/pdftopdf/nup-private.h
cupsfilters/pdftopdf/nup.cxx
cupsfilters/pdftopdf/pdftopdf-private.h
cupsfilters/pdftopdf/pdftopdf-processor-private.h
cupsfilters/pdftopdf/pdftopdf-processor.cxx
cupsfilters/pdftopdf/pdftopdf.cxx
cupsfilters/pdftopdf/pptypes-private.h
cupsfilters/pdftopdf/pptypes.cxx
cupsfilters/pdftopdf/qpdf-cm-private.h
cupsfilters/pdftopdf/qpdf-cm.cxx
cupsfilters/pdftopdf/qpdf-pdftopdf-private.h
cupsfilters/pdftopdf/qpdf-pdftopdf-processor-private.h
cupsfilters/pdftopdf/qpdf-pdftopdf-processor.cxx
cupsfilters/pdftopdf/qpdf-pdftopdf.cxx
cupsfilters/pdftopdf/qpdf-tools-private.h
cupsfilters/pdftopdf/qpdf-tools.cxx
cupsfilters/pdftopdf/qpdf-xobject-private.h
cupsfilters/pdftopdf/qpdf-xobject.cxx
cupsfilters/pdftoraster.cxx
cupsfilters/pdfutils.c
cupsfilters/pdfutils.h
cupsfilters/pwgtopdf.cxx
cupsfilters/pwgtoraster.c
cupsfilters/raster.c
cupsfilters/raster.h
cupsfilters/rastertopwg.c
cupsfilters/rgb.c
cupsfilters/srgb.c
cupsfilters/test1284.c
cupsfilters/testcmyk.c
cupsfilters/testdither.c
cupsfilters/testimage.c
cupsfilters/testpdf1.c
cupsfilters/testpdf2.c
cupsfilters/testrgb.c
cupsfilters/texttopdf.c
cupsfilters/texttotext.c
cupsfilters/universal.c

index d9c8065cf65a386a24ab53e767a09be4dd5ed5db..5a73af40e215084a98cf12474904dd68600a898c 100644 (file)
@@ -3,17 +3,8 @@
 // Copyright 2013 ALT Linux, Andrew V. Stepanov <stanv@altlinux.com>
 // Copyright 2018 Sahil Arora <sahilarora.535@gmail.com>
 //
-// This program is free software: you can redistribute it and/or modify it
-// under the terms of the GNU General Public License version 3, as published
-// by the Free Software Foundation.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranties of
-// MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
-// PURPOSE.  See the GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with this program.  If not, see <http://www.gnu.org/licenses/>.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #include <config.h>
index 5bd109d3a777e260d5d9b730e3029de07c49c2b5..9c9d5ac7bea7ab322efd7eb899c938eca170fcd8 100644 (file)
@@ -1,28 +1,9 @@
 //
 // Copyright (c) 2020, Vikrant Malik
 //
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-// MIT Open Source License  -  http://www.opensource.org/
-//
-
 
 #include "image.h"
 #include <stdio.h>
index 83f62b58356c17469b5e6260dd5f7d9b23a6b7e7..85c0789ddf7c06dd820e90775c4187fb0d5e63eb 100644 (file)
@@ -1,26 +1,8 @@
 //
 // Copyright (c) 2020, Vikrant Malik
 //
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-// MIT Open Source License  -  http://www.opensource.org/
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPS_FILTERS_BITMAP_H_
index ef2a2950aca7784b7aaeeb3d3e952800af70f553..0af0daf253bbb75a2bc21757cd920ae754cf0213 100644 (file)
@@ -1,20 +1,8 @@
 //
-//  This file is part of cups-filters.
+// IPP attribute/option string catalog manager for libcupsfilters.
 //
-//  This file is free software; you can redistribute it and/or modify it
-//  under the terms of the GNU Lesser General Public License as
-//  published by the Free Software Foundation; either version 2.1 of the
-//  License, or (at your option) any later version.
-//
-//  This file is distributed in the hope that it will be useful, but WITHOUT
-//  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-//  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
-//  Public License for more details.
-//
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with avahi; if not, write to the Free Software
-//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
-//  USA.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index 56b5383b50d9274bd42e36744473559fe00e3d0d..5c3f0ddf9b2624e0f07867f7e5e13d72bab12343 100644 (file)
@@ -1,20 +1,8 @@
 //
-//  This file is part of cups-filters.
-//
-//  This file is free software; you can redistribute it and/or modify it
-//  under the terms of the GNU Lesser General Public License as
-//  published by the Free Software Foundation; either version 2.1 of the
-//  License, or (at your option) any later version.
-//
-//  This file is distributed in the hope that it will be useful, but WITHOUT
-//  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-//  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
-//  Public License for more details.
-//
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with avahi; if not, write to the Free Software
-//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
-//  USA.
+// IPP attribute/option string catalog manager for libcupsfilters.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index 2f0b041ffc1746c2ff3c60f6b1b4aa655a81c842..72322462fb4e71547180a2d086bc1521bbaabeb3 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Byte checking routines for cups-filters.
+// Byte checking routines for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index b8a6e368669856124bf6896761213b0311327360..f9da7ecd38d1a01bc6a35e8258dd5919380725bb 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   CMYK color separation code for cups-filters.
+// CMYK color separation code for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 3e00ff1d74856edc52480aca1d31ee473d77efb0..cca1ac57d143efcb453cbcb1073e754b7852427f 100644 (file)
@@ -1,31 +1,12 @@
 //
+// Common routines to access the colord CMS framework for libcupsfilter.
+//
 // Copyright (c) 2011, Tim Waugh
 // Copyright (c) 2011-2013, Richard Hughes
-
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
 //
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
-// MIT Open Source License  -  http://www.opensource.org/
-//
-
-
-// Common routines for accessing the colord CMS framework
 
 #include <cups/raster.h>
 #include <stdio.h>
index d33b9aafc70968f4d2592f811ff46ad4e474f551..5b5bc0301146d24af2d969d9dd66f338b56d8969 100644 (file)
@@ -1,26 +1,10 @@
 //
-// Copyright (c) 2011-2013, Richard Hughes
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
+// Common routines to access the colord CMS framework for libcupsfilter.
 //
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+// Copyright (c) 2011-2013, Richard Hughes
 //
-// MIT Open Source License  -  http://www.opensource.org/
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 
@@ -31,7 +15,6 @@
 extern "C" {
 #  endif // __cplusplus
 
-// Common routines for accessing the colord CMS framework
 
 #include <cups/raster.h>
 #include <cupsfilters/filter.h>
index bce18f63fedfc676368e889e00deac7e4562f6f9..f25788c68c0d3f0f8a241277716d991951c50a60 100644 (file)
@@ -1,27 +1,11 @@
 //
+// "Color Manager" - Color management interface for libcupsfilters.
+//
 // Copyright (c) 2011-2013, Richard Hughes
 // Copyright (c) 2014, Joseph Simon
 //
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-// MIT Open Source License  -  http://www.opensource.org/
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 
index ab7f720c4a362b667c4decd28ea0623ea3e4028d..2d0e9b5e071d21c715a5fe45f3e080f2b55eaab8 100644 (file)
@@ -1,26 +1,10 @@
 //
-// Copyright (c) 2014, Joseph Simon
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
+// "Color Manager" - Color management interface for libcupsfilters.
 //
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+// Copyright (c) 2014, Joseph Simon
 //
-// MIT Open Source License  -  http://www.opensource.org/
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 
@@ -28,9 +12,6 @@
 #  define _CUPS_FILTERS_COLORMANAGER_H_
 
 
-// "Color Manager" -- Color management interface for cups-filters
-
-
 #  ifdef __cplusplus
 extern "C" {
 #  endif // __cplusplus
index 4e36bbdf0c56b9dc89f2c99e731adcaa5d83c8c0..018fe21bb19a429edf6632c1a19b585a28416ecc 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Dithering routines for CUPS.
+// Dithering routines for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 0bad180613216a4dc0f850e36cc19a4d6eba2d02..40e5d2716fcfb55f1aa88fee6cb2289f27fbf200 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Printer driver utilities header file for CUPS.
+// Printer driver utilities header file for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 
index 80b1634d06b72d072ef8d87d108bd1026b45db01..477bec72a9c82a1050161979de3c0f366a18046e 100644 (file)
@@ -1,7 +1,7 @@
 //
-// Filter functions support for cups-filters.
+// Filter functions support for libcupsfilters.
 //
-// Copyright © 2020 by Till Kamppeter.
+// Copyright © 2020-2022 by Till Kamppeter.
 //
 // Licensed under Apache License v2.0.  See the file "LICENSE" for more
 // information.
index e0d4607cd129819dadd3b558bb16829725eca570..6476dc393a0744325036b5487cb5eded3d44a29c 100644 (file)
@@ -1,10 +1,10 @@
 //
-//   Filter functions header file for cups-filters.
+// Filter functions header file for libcupsfilters.
 //
-//   Copyright 2020 by Till Kamppeter.
+// Copyright © 2020-2022 by Till Kamppeter.
 //
-//   Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPS_FILTERS_FILTER_H_
index 741ef872188f248a79d98b9d1cc4035bee88ef5b..f47f2e6138e25848cedd3a06e1c4a737113971c4 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPSFILTERS_FONTEMBED_H_
 #define _CUPSFILTERS_FONTEMBED_H_
 
index a0e30932b9fbbbf4e26efccf788e1bcfe8435ecf..d5c53658ce0ca748d0ccf7f5d5567ddfbbe65050 100644 (file)
@@ -29,25 +29,9 @@ Usage
    <cupsfilters/fontembed-private.h>
 
 
-License (MIT)
--------------
+License
+-------
 Copyright (c) 2008,2012 by Tobias Hoffmann.
 
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Licensed under Apache License v2.0.  See the file "LICENSE" for more
+information.
index 28965a7629f39d8ba5aebef8695ed4017b397350..4165734d8d706ed9b424878b1da9a61ad6e12b1f 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <stdlib.h>
 
 const char *aglfn13(unsigned short uni);
index 0548eb610744e74ab486ce0ed842a08daee5f7c3..e0ed3ad58e83661060636b3c2e611143c3da28fe 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _FONTEMBED_DYNSTRING_H_
 #define _FONTEMBED_DYNSTRING_H_
 
index a77693f2782d3100090f3d3b27219a584d54e1e8..007ddcd6d05381cfc0118c238090fbbd5280d9ae 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "dynstring-private.h"
 #include <cupsfilters/debug-internal.h>
 #include <errno.h>
index b276ea1de1d94273de00ea3a7f7743f483904701..87c71ee147ca3be8b03512f2f881ef12937fc91a 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _FONTEMBED_EMBED_PDF_INT_H_
 #define _FONTEMBED_EMBED_PDF_INT_H_
 
index 26f9b9798be2c88ccf0fe2890b07d3107bb3d517..59aea10720240855bc66672b319f8c505614cbe6 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "embed-pdf-private.h"
index a392c59111a361ca9c5685ce1f7c264fd934a012..3fb90c7d822c4eb7ebe408efd52b7aa4f01ac073 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _FONTEMBED_EMBED_SFNT_INT_H_
 #define _FONTEMBED_EMBED_SFNT_INT_H_
 
index ff6a17a8c8bce10270012ef0898783116e975660..c3c66a3e05189cbdafda87a154de5054745d35ac 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "embed-pdf-private.h"
index 316985956154db0446126fb975b65102ec78e27d..3082945f9fcee461930e185a458580e1d397d621 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include "embed-sfnt-private.h"
 #include <cupsfilters/debug-internal.h>
index 60cb89d6c5880ddb69e7ba9800ba7a0da38bdc21..1ce29e541001a1c8263dcd343263a6ab11e55b01 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include <string.h>
index 2d71d74496580a686437aa3406f88d1a707f3144..533df68bd36e4593885b19bf5cc31baf802fa8f8 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _FONTEMBED_FREQUENT_H_
 #define _FONTEMBED_FREQUENT_H_
 
index d4404c38fbf604d671fdc6fcd49de2819a9984a2..7491760043671bf37107c461657b43480872108d 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "frequent-private.h"
 #include <cupsfilters/debug-internal.h>
 #include <stdlib.h>
index 8460d40b4d2762b2b1272a9657cfceaeb598c2ff..be2b19e89a4b21c62c10faadbf58012f666bd252 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 // data header only. for inclusion in only one file
 #ifndef _FONTEMBED_MACROMAN_PRIVATE_H_
 #define _FONTEMBED_MACROMAN_PRIVATE_H_
index a8f00787618c64666f7a0fddf8e86cd4bc218450..4bb24e5e73d923466cc2e0a7ce72f7c2454c2678 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _FONTEMBED_SFNT_INT_H_
 #define _FONTEMBED_SFNT_INT_H_
 
index fe717a58f419835bd46d63942574b40bbfc8360e..f1803ed94075f2f1857239046b012507b20bf938 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "sfnt-private.h"
index cad00d74bf375912c3949685e75e647c9aa85ae3..88331587c6d1a9cc8749098ae1b69be59291accb 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "sfnt-private.h"
index a88571510095603cddfc3e7c6f8b016fe70ac839..a3d138f4c4af65baffc520261f0faa70882f47c0 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "embed-sfnt-private.h"
index 1484a0c1db0290e84c1bf69faa3751f06a3c6b2d..cf047fb3dc588203d6590c02c015d8b3d0119bde 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "config.h"
index eedf2884c87f458b9fe5ed0276de26e0f85fd3d6..2900019e484a56a457d2a9e4ded52c03d4528e58 100644 (file)
@@ -1,3 +1,10 @@
+//
+// Copyright © 2008,2012 by Tobias Hoffmann.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <cupsfilters/fontembed-private.h>
 #include <cupsfilters/debug-internal.h>
 #include "config.h"
index 6e7a153aa5e68bfd0cffa03d448338a55c19bd24..5bc7251296c1b715c82647d3bbfe0d0df523757c 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Ghostscript filter function for cups-filters.
+// Ghostscript filter function for libcupsfilters.
 //
 // Used for PostScript -> PDF, PDF -> Raster, PDF -> PCL-XL
 //
index dae22e999f01b6c9c7f7092088985a8200e58029..d5ad84f3ac1905845f0597b9e808e082296f8a3d 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   IEEE-1284 Device ID support functions for OpenPrinting CUPS Filters.
+// IEEE-1284 Device ID support functions for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1997-2007 by Easy Software Products, all rights reserved.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1997-2007 by Easy Software Products, all rights reserved.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
@@ -18,7 +16,7 @@
 //   cfIEEE1284GetValues()             - Get 1284 device ID keys and values.
 //   cfIEEE1284NormalizeMakeModel()    - Normalize a product/make-and-model
 //                                       string.
-
+//
 
 //
 // Include necessary headers.
index 295e43839b6444670962eb0ad5ef3ed91bcffe97..94db460cbcf99dcd8c15cba3931ba5e7d63dcd9f 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   IEEE1284 Device ID support definitions for OpenPrinting CUPS Filters.
+// IEEE1284 Device ID support definitions for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1997-2007 by Easy Software Products, all rights reserved.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1997-2007 by Easy Software Products, all rights reserved.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPSFILTERS_IEEE1284_H_
index 5496f7e3bd3f02904a6ad199cefebb88dcc791a1..89687d150e81b9e646b38f7f7e52eb60d6b80cee 100644 (file)
@@ -1,16 +1,14 @@
 //
-//   Colorspace conversions for libcupsfilters.
+// Colorspace conversions for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products.
 //
-//   The color saturation/hue matrix stuff is provided thanks to Mr. Paul
-//   Haeberli at "http://www.sgi.com/grafica/matrix/index.html".
+// The color saturation/hue matrix stuff is provided thanks to Mr. Paul
+// Haeberli at "http://www.sgi.com/grafica/matrix/index.html".
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index fb5ad39456bd4ad757895df3dd3ab89c772cbd83..561d51d681d6ff3cfaaa77742f65bf6a6c1e302e 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   JPEG image routines for CUPS.
+// JPEG image routines for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2007 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2007 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index b0e510b48adb0d54f98a404473b44e89b619ec33..60bd6a863000222ecb0d2c52f532e03652d90393 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   PNG image routines for CUPS.
+// PNG image routines for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2007 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2007 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 767f2da5fd56ac30179d4a6612e48b1bd95d194f..d26deb43b4050ea284e595271629a88f779815ae 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Private image library definitions for libcupsfilters.
+// Private image library definitions for libcupsfilters.
 //
-//   Copyright 2007-2010 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products.
+// Copyright 2007-2010 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 
index 09ef87b3430255ee9b49784233bab85e50396d92..d92cce25fecf1a3003b986b5884e68214915eee9 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   TIFF file routines for CUPS.
+// TIFF file routines for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2007 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2007 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index b761f17a56d044a0956fa7cf9bb024337ab843ec..ca1b6823b4d03be0d3421799dcedc07c41144977 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Image zoom routines for libcupsfilters.
+// Image zoom routines for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index ad1cad24c2ba99afa3c2952c8cbfd927993b847d..76d1d8ca8fad6935bead365e3a87b7042a69741a 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Base image support for libcupsfilters.
+// Base image support for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 6d03b3dbeadda7a46badcc93e09fa7ef194e93f2..cb558a7821525d5b4eef96c7c9d1f6dbf304ff4c 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Image library definitions for libcupsilters.
+// Image library definitions for libcupsilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 
index 417236409764bf839dd0999a53cac4b1d1f50867..4c6af0d23029297b6f5c39299a5c2fc91b847a96 100644 (file)
@@ -8,10 +8,8 @@
 //
 //   Copyright 1993-2006 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Easy Software Products and are protected by Federal
-//   copyright law.  Distribution and use rights are outlined in the file
-//   "COPYING" which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index a77522183fc08f1ea927c4f32b69b366554ab316..7c4e5be82429c086b48726fb90db89eb87e58764 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Image file to raster filter function for libcupsfilters.
+// Image file to raster filter function for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2007 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2007 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 741e599cc0387938263c90a1d03c23f858806528..8f9b650cee0b0d6e971928e18693b3b32f22e358 100644 (file)
@@ -1,20 +1,8 @@
 //
-//  IPP-related functions for libcupsfilters.
+// IPP-related functions for libcupsfilters.
 //
-//  This file is free software; you can redistribute it and/or modify it
-//  under the terms of the GNU Lesser General Public License as
-//  published by the Free Software Foundation; either version 2.1 of the
-//  License, or (at your option) any later version.
-//
-//  This file is distributed in the hope that it will be useful, but WITHOUT
-//  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-//  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
-//  Public License for more details.
-//
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with avahi; if not, write to the Free Software
-//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
-//  USA.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index a5f0abd19c10d569f02eaa644c8e7fb0f8c5062d..fd143dd68aa78a6d3f30f5ad398df96d670f9521 100644 (file)
@@ -1,20 +1,8 @@
 //
-//  IPP-related functions for libcupsfilters.
+// IPP-related functions for libcupsfilters.
 //
-//  This file is free software; you can redistribute it and/or modify it
-//  under the terms of the GNU Lesser General Public License as
-//  published by the Free Software Foundation; either version 2.1 of the
-//  License, or (at your option) any later version.
-//
-//  This file is distributed in the hope that it will be useful, but WITHOUT
-//  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-//  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
-//  Public License for more details.
-//
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with avahi; if not, write to the Free Software
-//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
-//  USA.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPS_FILTERS_IPP_H_
index a32860e2fa659fc11be34db6e7c0e6ffaa3e4f74..5e050a582963c4ed711d23149e5948c6c74c7833 100644 (file)
@@ -1,10 +1,10 @@
 //
-//   Log functions header file for cups-filters.
+// Log functions header file for libcupsfilters.
 //
-//   Copyright 2020 by Till Kamppeter.
+// Copyright 2020-2022 by Till Kamppeter.
 //
-//   Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPS_FILTERS_LOG_H_
index 20a4f9405694d2f2abedbc5884c5d02944c3b273..11cb56f337af1f49b4c5ee3cd94c7b272f7cdb45 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Lookup table routines for libcupsfilters.
+// Lookup table routines for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 10369d386f925ee9e0f2f3e2261748e5fc9bd759..d7dd59e4c3825509e31d4bec37ad40f4ce00acb3 100644 (file)
@@ -1,33 +1,15 @@
 //
+// mutool-based PDF to PWG Raster filter function for libcupsfilters.
+//
 // Copyright (c) 2016, Pranjal Bhor
 // Copyright (c) 2008-2016, Till Kamppeter
 // Copyright (c) 2011, Tim Waugh
 // Copyright (c) 2011-2013, Richard Hughes
 //
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
-// MIT Open Source License  -  http://www.opensource.org/
-//
-
 
-// PS/PDF to PWG Raster filter based on mutool
 
 #include <config.h>
 #include <cups/cups.h>
index 3cd7c21dc014f4e6bd58d8f761ab79f2eccf7ccd..1278da13fdb55cb3c14a67b6eff9e9211ccdc6da 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Bit packing routines for libcupsfilters.
+// Bit packing routines for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 763b94996eb39999b4660561b2305c1ce249c895..fc8fe88dad1bf061ce68464cb7e8bab9a965ae08 100644 (file)
@@ -1,20 +1,10 @@
 //
-// This program is free software: you can redistribute it and/or modify
-//  it under the terms of the GNU General Public License as published by
-//  the Free Software Foundation, either version 3 of the License, or
-//  (at your option) any later version.
+// PCLm/Raster-only PDF to Raster filter function for libcupsfilters.
 //
-//  This program is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-//  GNU General Public License for more details.
+// Copyright © 2020 by Vikrant Malik
 //
-//  You should have received a copy of the GNU General Public License
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-//
-// @brief pclmtoraster filter function
-// @file pclmtoraster.cxx
-// @author Vikrant Malik <vikrantmalik051@gmail.com> (c) 2020
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index dbd0ee2c84650453adc2e1a50d683108561b1cc7..aad48816ab22d869f40033d09993329131e55440 100644 (file)
@@ -3,17 +3,8 @@
 // Copyright 2013 ALT Linux, Andrew V. Stepanov <stanv@altlinux.com>
 // Copyright 2018 Sahil Arora <sahilarora.535@gmail.com>
 //
-// This program is free software: you can redistribute it and/or modify it
-// under the terms of the GNU General Public License version 3, as published
-// by the Free Software Foundation.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranties of
-// MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
-// PURPOSE.  See the GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with this program.  If not, see <http://www.gnu.org/licenses/>.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #include <config.h>
index 93ebfe3deb542b53a7e9af1f538f9837330a5698..14f19820088c19ca21a4c16cbc0e156f812be39e 100644 (file)
@@ -2,17 +2,8 @@
 // Copyright 2012 Canonical Ltd.
 // Copyright 2018 Sahil Arora <sahilarora.535@gmail.com>
 //
-// This program is free software: you can redistribute it and/or modify it
-// under the terms of the GNU General Public License version 3, as published
-// by the Free Software Foundation.
-//
-// This program is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranties of
-// MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
-// PURPOSE.  See the GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with this program.  If not, see <http://www.gnu.org/licenses/>.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPS_FILTERS_PDF_H_
index 25dda286768bb567cb396f95d1dd4d7fb9bc3646..0fc48ca6573a048392e35bf511584ca8d8af8fe4 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_INTERVALSET_H_
 #define _CUPS_FILTERS_PDFTOPDF_INTERVALSET_H_
 
index 8dc924ac9126d20d432f255ee5649112a0c2f9c0..38b1b77978e9a395c9810454b105274cbdb804d5 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "intervalset-private.h"
 #include <stdio.h>
 #include "cupsfilters/debug-internal.h"
index b38347346944beb20a3b7a7f0c484420a48f3d1d..53f688b2f7a3bd7753dc60b7e56fd0845ee1156c 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_NUP_H_
 #define _CUPS_FILTERS_PDFTOPDF_NUP_H_
 
index 21fcac291e609a10fb8320f64152e77208405c1d..2e1dc341d130330eb7f8dc9945148ad3ca3ef061 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "nup-private.h"
 #include <stdio.h>
 #include "cupsfilters/debug-internal.h"
index 43d27877a07ecdbb44c3cc6bf0038678b2fa9724..4e1d8fc5f6ea7d4a74fcad19516b762991ad9b59 100644 (file)
@@ -1,6 +1,9 @@
 //
 // Copyright 2020 by Jai Luthra.
 //
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
 
 #ifndef _CUPS_FILTERS_PDFTOPDF_PDFTOPDF_H
 #define _CUPS_FILTERS_PDFTOPDF_PDFTOPDF_H
index cfc1f8ec0758b0ce867c73899afd91518185db4d..92ed198e52d9e06f01fc9166f6c78d864463abf7 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_PDFTOPDF_PROCESSOR_H
 #define _CUPS_FILTERS_PDFTOPDF_PDFTOPDF_PROCESSOR_H
 
index 0afe1a615c7cb8a737d0a54da831b4e033dfa142..e422f507f5833a41caf1174b98f7e919f00eda2f 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "pdftopdf-processor-private.h"
 #include "qpdf-pdftopdf-processor-private.h"
 #include <stdio.h>
index c00d6ff29393aa2872cbd938888c54e4a23f701b..b0d6e1e7b4956df94e1782dd283da3528aa0a36b 100644 (file)
@@ -1,7 +1,11 @@
+//
 // Copyright (c) 2012 Tobias Hoffmann
 //
 // Copyright (c) 2006-2011, BBR Inc.  All rights reserved.
-// MIT Licensed.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
 
 #include <config.h>
 #include <stdio.h>
index 144c875d6198416976e4e029c2d09bede66736a5..0cacf8e0b1f040aa894a0f825c091fe647e79efe 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_PPTYPES_H_
 #define _CUPS_FILTERS_PDFTOPDF_PPTYPES_H_
 
index 0d42a3b519e2db336a0ea67048d49bc36f3262ef..f8158b481fa3fbc222be5acefc7469bc6f7a0580 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "pptypes-private.h"
 #include <utility>
 #include <stdio.h>
index 1c3e0dca499459509dcab7ae696d51de32586dce..4f22e468855edfca1e5f2ca873c2d891b0388b31 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_QPDF_CM_H_
 #define _CUPS_FILTERS_PDFTOPDF_QPDF_CM_H_
 
index 48bcdfdcfd63686f5f8e34e63766c0a29f05647b..400a9faf74b100762f31484d78c34e67c2ba8eac 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "qpdf-cm-private.h"
 #include <stdio.h>
 #include "cupsfilters/debug-internal.h"
index 55660473683cda4bc820c20bef5a412036ea8f47..1146a8feaf3dc4bedda5e3aea80dbdbc06f31417 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_QPDF_PDFTOPDF_H
 #define _CUPS_FILTERS_PDFTOPDF_QPDF_PDFTOPDF_H
 
index c3071154da705bef1e1b9cbe41822a614d208ebf..c8041205b7bb1e74f2e2725b496cd2be160d0765 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_QPDF_PDFTOPDF_PROCESSOR_H
 #define _CUPS_FILTERS_PDFTOPDF_QPDF_PDFTOPDF_PROCESSOR_H
 
index eee704f8e6e2ff371636ebbf88c0f4502b50f609..ba7753d5a6daf31d335574cc25f1564f5093cc24 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include <stdio.h>
 #include <stdarg.h>
 #include "cupsfilters/debug-internal.h"
index ed4a598aeb2c3704c7da91597844369d85011cde..2152d2d105a768f76b20ac05be5ef618c1fffd0c 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "qpdf-pdftopdf-private.h"
 #include "qpdf-tools-private.h"
 #include "cupsfilters/debug-internal.h"
index 7b4cae11d37c91aca011c326399422fe87e47c9b..577f2c4f335f419484b01329840dcb76950e66ef 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_QPDF_TOOLS_H_
 #define _CUPS_FILTERS_PDFTOPDF_QPDF_TOOLS_H_
 
index c00a43c07b634c50c9f031ceb50bc6a339a7c07f..d247dd1dd7ed69f22aa0ba7b387d48f24632b543 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "qpdf-tools-private.h"
 
 QPDFObjectHandle
index 8294f0a3d0a8f4935ba263d11c54c09d20dd7fd2..f318b1e21840029a760cf2b87eacbad4d3a96452 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #ifndef _CUPS_FILTERS_PDFTOPDF_QPDF_XOBJECT_H_
 #define _CUPS_FILTERS_PDFTOPDF_QPDF_XOBJECT_H_
 
index 7c40f343f06b53d32b8d9382b47016c87696a042..31610e9daba978bf8423616a4be2028f23270efb 100644 (file)
@@ -1,3 +1,8 @@
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "qpdf-xobject-private.h"
 //#include <qpdf/Types.h>
 #include <qpdf/QPDF.hh>
index b697e719094894eec8202b9fd3405f358fe8421f..96c03ec23364b08d9b1355633753dec5632cba53 100644 (file)
@@ -1,32 +1,13 @@
 //
+// PDF to Raster filter function for libcupsfilters.
+//
 // Copyright (c) 2008-2011 BBR Inc.  All rights reserved.
 // Copyright (c) 2012-2019 by Till Kamppeter
 // Copyright (c) 2019 by Tanmay Anand.
 // Modified 2021 by Pratyush Ranjan.
 //
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-//
-// pdftoraster.cxx
-// pdf to raster filter function
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #include "colormanager.h"
index 8154bf3d02f9f3d7f680d706826968a52bac7470..d5304c2afa8d6a9a38f8f854b8a302543ef952b8 100644 (file)
@@ -1,10 +1,10 @@
 //
-//   PDF file output routines.
+// PDF file output routines for libcupsfilters.
 //
-//   Copyright 2008 by Tobias Hoffmann.
+// Copyright 2008 by Tobias Hoffmann.
 //
-//   This file is licensed as noted in "COPYING" 
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #include <stdio.h>
index 40eca4ed1d3c76f3cb39ec14980882794e3a8f9d..96258d8e5f02d0c3d267ff124d95d2f79cdaf821 100644 (file)
@@ -1,10 +1,10 @@
 //
-//   PDF file output routines.
+// PDF file output routines for libcupsfilters.
 //
-//   Copyright 2008 by Tobias Hoffmann.
+// Copyright 2008 by Tobias Hoffmann.
 //
-//   This file is licensed as noted in "COPYING" 
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #ifndef _CUPS_FILTERS_PDFUTILS_H_
index 244bfb63e34b69e98b6f04f6393cc6c731e410b6..e0d5564d5620e55a771cf07ba5e97e5c205c7107 100644 (file)
@@ -1,25 +1,16 @@
 //
-// This program is free software: you can redistribute it and/or modify
-//  it under the terms of the GNU General Public License as published by
-//  the Free Software Foundation, either version 3 of the License, or
-//  (at your option) any later version.
+// PWG/Apple Raster to PDF filter function for libcupsfilters.
 //
-//  This program is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-//  GNU General Public License for more details.
+// Copyright 2010 by Neil 'Superna' Armstrong <superna9999@gmail.com>
+// Copyright 2012 by Tobias Hoffmann
+// Copyright 2014-2022 by Till Kamppeter
+// Copyright 2017 by Sahil Arora
 //
-//  You should have received a copy of the GNU General Public License
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-//
-// @brief Convert PWG Raster to a PDF/PCLm file
-// @file pwgtopdf.cxx
-// @author Neil 'Superna' Armstrong <superna9999@gmail.com> (C) 2010
-// @author Tobias Hoffmann <smilingthax@gmail.com> (c) 2012
-// @author Till Kamppeter <till.kamppeter@gmail.com> (c) 2014
-// @author Sahil Arora <sahilarora.535@gmail.com> (c) 2017
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
+
 #include "filter.h"
 #include <config.h>
 #include <sys/types.h>
index 6f66b4fe85ea7e94e250ea9341706624c5bada24..1ea9fbd88e8a3f231c5a9aa757573cfccefa3d20 100644 (file)
@@ -1,32 +1,13 @@
 //
+// PWG/Apple Raster to CUPS/PWG/Apple Raster filter function for libcupsfilters.
+//
 // Copyright (c) 2008-2011 BBR Inc.  All rights reserved.
-// Copyright (c) 2012-2021 by Till Kamppeter
+// Copyright (c) 2012-2022 by Till Kamppeter
 // Copyright (c) 2019 by Tanmay Anand.
 // Modified 2021 by Pratyush Ranjan.
 //
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be included
-// in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-//
-// pwgtoraster.c
-// PWG/Apple Raster to CUPS/PWG/Apple Raster filter function
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 #include "colormanager.h"
index 8e5fed4c0545b01e427bc2321575391e60ffba89..62961129ed8ec4feaeb2f49239a3eb914096ea29 100644 (file)
@@ -1,10 +1,12 @@
 //
-//   Functions to handle CUPS/PWG Raster headers for libcupsfilters.
+// Functions to handle CUPS/PWG Raster headers for libcupsfilters.
 //
-//   Copyright 2013-2022 by Till Kamppeter.
+// Copyright 2013-2022 by Till Kamppeter.
 //
-//   Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+// Contents:
 //
 //   cfRasterColorSpaceString() - Return strings for CUPS color spaces
 //   cfRasterPrepareHeader()    - Prepare a Raster header for a job
index 80b4eb4ee23541c32b6099b31433cc2861a8a616..9c987258dac9f44ef3281106ad01bb379988e574 100644 (file)
@@ -1,11 +1,11 @@
 //
-//   Functions to handle CUPS/PWG Raster headers for libcupsfilters.
+// Functions to handle CUPS/PWG Raster headers for libcupsfilters.
 //
-//   Copyright 2013 by Till Kamppeter.
+// Copyright 2013-2022 by Till Kamppeter.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
-//   Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
-
 
 #ifndef _CUPS_FILTERS_RASTER_H_
 #  define _CUPS_FILTERS_RASTER_H_
index cddc9498bc56359b469efec811c8102f80d9aecc..298a1322808af3838cbc51b672e8a63ac1152ce5 100644 (file)
@@ -1,11 +1,11 @@
 //
-// CUPS raster to PWG raster format filter for libcupsfilters.
+// CUPS Raster to PWG/Apple Raster format filter for libcupsfilters.
 //
 // Copyright © 2011, 2014-2017 Apple Inc.
 //
 // Licensed under Apache License v2.0.  See the file "LICENSE" for more
 // information.
-
+//
 
 //
 // Include necessary headers...
index 5bca9395be6cc44085e4717d93d69a84477c7f50..5a2b88cbfbd23715a400bd101e22f17c43babad1 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   RGB color separation code for libcupsfilters.
+// RGB color separation code for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index a497591a0b9ebdee2b51d0de4b4074e75e23c1cd..21e99ec2fe0689e953bfde7fbfff182b9c5d5bb6 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   sRGB lookup tables for libcupsfilters.
+// sRGB lookup tables for libcupsfilters.
 //
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index 4bf2c9ba098a511e0ed98f1171741044dd6a236c..26969a0962f7f1762693c05ca3324b278d129864 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   IEEE-1284 support functions test program for OpenPrinting CUPS Filters.
+// IEEE-1284 support functions test program for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1997-2006 by Easy Software Products, all rights reserved.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1997-2006 by Easy Software Products, all rights reserved.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 4d7f270d139cd1d121ad4efeb7e27920c811c570..5ab5d8f562e57062c07adba02d05d322034d0aee 100644 (file)
@@ -1,24 +1,22 @@
 //
-//   Test the CMYK color separation code for libcupsfilters.
+// Test for the CMYK color separation code for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products, All Rights Reserved.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products, All Rights Reserved.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
 //   test_gray() - Test grayscale separations...
 //   test_rgb()  - Test color separations...
 //   main()      - Do color separation tests.
-
+//
 
 //
 // Include necessary headers.
-
+//
 
 #include <config.h>
 #include <string.h>
index 140bc0ad48c0ff093cfea3d68d87559ba886b7a4..5a1cc14d0cedbaeeedd04a84427d40f7aaeec037 100644 (file)
@@ -1,7 +1,7 @@
 //
-//   Dither test program for libcupsfilters.
+// Dither test program for libcupsfilters.
 //
-//   Try the following:
+// Try the following:
 //
 //       testdither 0 255 > filename.ppm
 //       testdither 0 127 255 > filename.ppm
 //       testdither 0 210 383 > filename.ppm
 //       testdither 0 82 255 > filename.ppm
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2005 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2005 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 8a378e632d00e26157163e42de23ebe0b60a352b..0afbdb4224ee92df31bd2ac687a078b60884abcc 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Image library test program for libcupsfilters.
+// Image library test program for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 6e78685f9f194dad40a8b6dcd0eda3dc4e738e73..75737726884dd2765ff2fa4f20192bd433e54734 100644 (file)
@@ -1,3 +1,10 @@
+//
+// PDF file output test program 1 for libcupsfilters.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "pdfutils.h"
 #include "debug-internal.h"
 #include <string.h>
@@ -7,7 +14,7 @@ main()
 {
   cf_pdf_out_t *pdf;
 
-  pdf=cfPDFOutNew();
+  pdf = cfPDFOutNew();
   DEBUG_assert(pdf);
 
   cfPDFOutBeginPDF(pdf);
index 02ea5d3fe9f77154246773a4d4c8c37f63cdf38e..a67cdb4b459bc051d42956c8718b854adc310289 100644 (file)
@@ -1,3 +1,10 @@
+//
+// PDF file output test program 2 (fontembed) for libcupsfilters.
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "pdfutils.h"
 #include "config.h"
 #include "debug-internal.h"
index 43a64d0b7f554fa04d4b9e987d6db6af718e5079..613f272bd6d2935cd99c5aacf98245fe4e75dbaa 100644 (file)
@@ -1,13 +1,11 @@
 //
-//   Test the new RGB color separation code for libcupsfilters.
+// Test for the new RGB color separation code for libcupsfilters.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1993-2006 by Easy Software Products, All Rights Reserved.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1993-2006 by Easy Software Products, All Rights Reserved.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 // Contents:
 //
index 859ebd75c105744d9301eb840e760b8e47466163..ac0cae2425338301e77936bad44da0fd1db196b2 100644 (file)
@@ -1,14 +1,12 @@
 //
-//   Text to PDF filter function for libcupsfilters.
+// Text to PDF filter function for libcupsfilters.
 //
-//   Copyright 2008,2012 by Tobias Hoffmann.
-//   Copyright 2007 by Apple Inc.
-//   Copyright 1993-2007 by Easy Software Products.
+// Copyright 2008,2012 by Tobias Hoffmann.
+// Copyright 2007 by Apple Inc.
+// Copyright 1993-2007 by Easy Software Products.
 //
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index a8a640c87af917c109edf0d15fa86a10ccb3c8e2..feea20f19cc8f6f2d33ccc6c5db65e89cc65702d 100644 (file)
@@ -1,16 +1,16 @@
 //
-//   texttotext
+// Text to Text (for text-only printers) filter function for libcupsfilters.
 //
-//   Filter to print text files on text-only printers. The filter has
-//   several configuration options so that it should work with most
-//   printer models.
+// Filter function to print text files on text-only printers. The
+// filter has several configuration options so that it should work
+// with most printer models.
 //
-//   Copyright 2007-2011 by Apple Inc.
-//   Copyright 1997-2006 by Easy Software Products.
-//   Copyright 2011-2016 by Till Kamppeter
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 1997-2006 by Easy Software Products.
+// Copyright 2011-2016 by Till Kamppeter
 //
-//   Distribution and use rights are outlined in the file "COPYING"
-//   which should have been included with this file.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
index ef8ef62754898ab8d90b65420f18d9766d1f2ca4..f1566ce547e10f92d2592114859a581df681a2c8 100644 (file)
@@ -1,3 +1,16 @@
+//
+// Universal filter function for libcupsfilters.
+//
+// Converts from any input format into any output format, calling an
+// auto-selected chain of filter functions.
+//
+// Copyright 2021 by Pranshu Kharkwal
+// Copyright 2021-2022 by Till Kamppeter
+//
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
+//
+
 #include "config.h"
 #include "filter.h"
 #include <sys/types.h>