Imported Upstream version 2.14.2
[platform/upstream/fontconfig.git] / COPYING
1 fontconfig/COPYING
2
3 Copyright © 2000,2001,2002,2003,2004,2006,2007 Keith Packard
4 Copyright © 2005 Patrick Lam
5 Copyright © 2007 Dwayne Bailey and Translate.org.za
6 Copyright © 2009 Roozbeh Pournader
7 Copyright © 2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020 Red Hat, Inc.
8 Copyright © 2008 Danilo Šegan
9 Copyright © 2012 Google, Inc.
10
11
12 Permission to use, copy, modify, distribute, and sell this software and its
13 documentation for any purpose is hereby granted without fee, provided that
14 the above copyright notice appear in all copies and that both that
15 copyright notice and this permission notice appear in supporting
16 documentation, and that the name of the author(s) not be used in
17 advertising or publicity pertaining to distribution of the software without
18 specific, written prior permission.  The authors make no
19 representations about the suitability of this software for any purpose.  It
20 is provided "as is" without express or implied warranty.
21
22 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
23 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
24 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
25 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
26 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
27 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
28 PERFORMANCE OF THIS SOFTWARE.
29
30
31 --------------------------------------------------------------------------------
32 fontconfig/fc-case/CaseFolding.txt
33
34 © 2019 Unicode®, Inc.
35 Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
36 For terms of use, see http://www.unicode.org/terms_of_use.html
37
38
39 --------------------------------------------------------------------------------
40 fontconfig/src/fcatomic.h
41
42 /*
43  * Mutex operations.  Originally copied from HarfBuzz.
44  *
45  * Copyright © 2007  Chris Wilson
46  * Copyright © 2009,2010  Red Hat, Inc.
47  * Copyright © 2011,2012,2013  Google, Inc.
48  *
49  * Permission is hereby granted, without written agreement and without
50  * license or royalty fees, to use, copy, modify, and distribute this
51  * software and its documentation for any purpose, provided that the
52  * above copyright notice and the following two paragraphs appear in
53  * all copies of this software.
54  *
55  * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
56  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
57  * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
58  * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
59  * DAMAGE.
60  *
61  * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
62  * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
63  * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
64  * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
65  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
66  *
67  * Contributor(s):
68  *      Chris Wilson <chris@chris-wilson.co.uk>
69  * Red Hat Author(s): Behdad Esfahbod
70  * Google Author(s): Behdad Esfahbod
71  */
72
73
74 --------------------------------------------------------------------------------
75 fontconfig/src/fcfoundry.h
76
77 /*
78   Copyright © 2002-2003 by Juliusz Chroboczek
79
80   Permission is hereby granted, free of charge, to any person obtaining a copy
81   of this software and associated documentation files (the "Software"), to deal
82   in the Software without restriction, including without limitation the rights
83   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
84   copies of the Software, and to permit persons to whom the Software is
85   furnished to do so, subject to the following conditions:
86
87   The above copyright notice and this permission notice shall be included in
88   all copies or substantial portions of the Software.
89
90   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
91   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
92   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
93   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
94   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
95   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
96   THE SOFTWARE.
97 */
98
99
100 --------------------------------------------------------------------------------
101 fontconfig/src/fcmd5.h
102
103 /*
104  * This code implements the MD5 message-digest algorithm.
105  * The algorithm is due to Ron Rivest.  This code was
106  * written by Colin Plumb in 1993, no copyright is claimed.
107  * This code is in the public domain; do with it what you wish.
108  *
109  * Equivalent code is available from RSA Data Security, Inc.
110  * This code has been tested against that, and is equivalent,
111  * except that you don't need to include two pages of legalese
112  * with every copy.
113  *
114  * To compute the message digest of a chunk of bytes, declare an
115  * MD5Context structure, pass it to MD5Init, call MD5Update as
116  * needed on buffers full of bytes, and then call MD5Final, which
117  * will fill a supplied 16-byte array with the digest.
118  */
119
120
121 --------------------------------------------------------------------------------
122 fontconfig/src/fcmutex.h
123
124 /*
125  * Atomic int and pointer operations.  Originally copied from HarfBuzz.
126  *
127  * Copyright © 2007  Chris Wilson
128  * Copyright © 2009,2010  Red Hat, Inc.
129  * Copyright © 2011,2012,2013  Google, Inc.
130  *
131  * Permission is hereby granted, without written agreement and without
132  * license or royalty fees, to use, copy, modify, and distribute this
133  * software and its documentation for any purpose, provided that the
134  * above copyright notice and the following two paragraphs appear in
135  * all copies of this software.
136  *
137  * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
138  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
139  * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
140  * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
141  * DAMAGE.
142  *
143  * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
144  * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
145  * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
146  * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
147  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
148  *
149  * Contributor(s):
150  *      Chris Wilson <chris@chris-wilson.co.uk>
151  * Red Hat Author(s): Behdad Esfahbod
152  * Google Author(s): Behdad Esfahbod
153  */
154
155
156 --------------------------------------------------------------------------------
157 fontconfig/src/ftglue.[ch]
158
159 /* ftglue.c: Glue code for compiling the OpenType code from
160  *           FreeType 1 using only the public API of FreeType 2
161  *
162  * By David Turner, The FreeType Project (www.freetype.org)
163  *
164  * This code is explicitely put in the public domain
165  *
166  * ==========================================================================
167  *
168  * the OpenType parser codes was originally written as an extension to
169  * FreeType 1.x. As such, its source code was embedded within the library,
170  * and used many internal FreeType functions to deal with memory and
171  * stream i/o.
172  *
173  * When it was 'salvaged' for Pango and Qt, the code was "ported" to FreeType 2,
174  * which basically means that some macro tricks were performed in order to
175  * directly access FT2 _internal_ functions.
176  *
177  * these functions were never part of FT2 public API, and _did_ change between
178  * various releases. This created chaos for many users: when they upgraded the
179  * FreeType library on their system, they couldn't run Gnome anymore since
180  * Pango refused to link.
181  *
182  * Very fortunately, it's possible to completely avoid this problem because
183  * the FT_StreamRec and FT_MemoryRec structure types, which describe how
184  * memory and stream implementations interface with the rest of the font
185  * library, have always been part of the public API, and never changed.
186  *
187  * What we do thus is re-implement, within the OpenType parser, the few
188  * functions that depend on them. This only adds one or two kilobytes of
189  * code, and ensures that the parser can work with _any_ version
190  * of FreeType installed on your system. How sweet... !
191  *
192  * Note that we assume that Pango doesn't use any other internal functions
193  * from FreeType. It used to in old versions, but this should no longer
194  * be the case. (crossing my fingers).
195  *
196  *  - David Turner
197  *  - The FreeType Project  (www.freetype.org)
198  *
199  * PS: This "glue" code is explicitely put in the public domain
200  */