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