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