summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2020-09-29 14:20:07 +0900
committerAkira TAGOH <akira@tagoh.org>2020-09-29 15:37:14 +0900
commitdc1443ac830ac2ab9087bf54e1840771253210c9 (patch)
treebe48e0f3fddf31a071124fb9287ce2f97c2aaa1a
parentdbef9d10de19288e56f58b7c1aa880d447e6ae85 (diff)
downloadfontconfig-dc1443ac830ac2ab9087bf54e1840771253210c9.tar.gz
Split up a code again coming from different copyright notice
to show up easier in COPYING. it was originally merged from separate file by 2e2121f9 though.
-rw-r--r--src/Makefile.am2
-rw-r--r--src/fcfoundry.h48
-rw-r--r--src/fcfreetype.c50
3 files changed, 50 insertions, 50 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index eddb87c..df3cf17 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -86,7 +86,7 @@ LDADD = $(LIBINTL)
EXTRA_DIST += makealias
-noinst_HEADERS=fcint.h fcftint.h fcdeprecate.h fcmd5.h fcstdint.h
+noinst_HEADERS=fcint.h fcftint.h fcdeprecate.h fcfoundry.h fcmd5.h fcstdint.h
ALIAS_FILES = fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h
diff --git a/src/fcfoundry.h b/src/fcfoundry.h
new file mode 100644
index 0000000..bc103bb
--- /dev/null
+++ b/src/fcfoundry.h
@@ -0,0 +1,48 @@
+/*
+ Copyright © 2002-2003 by Juliusz Chroboczek
+
+ 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.
+*/
+
+/* Order is significant. For example, some B&H fonts are hinted by
+ URW++, and both strings appear in the notice. */
+
+static const char *FcNoticeFoundries[][2] =
+ {
+ {"Adobe", "adobe"},
+ {"Bigelow", "b&h"},
+ {"Bitstream", "bitstream"},
+ {"Gnat", "culmus"},
+ {"Iorsh", "culmus"},
+ {"HanYang System", "hanyang"},
+ {"Font21", "hwan"},
+ {"IBM", "ibm"},
+ {"International Typeface Corporation", "itc"},
+ {"Linotype", "linotype"},
+ {"LINOTYPE-HELL", "linotype"},
+ {"Microsoft", "microsoft"},
+ {"Monotype", "monotype"},
+ {"Omega", "omega"},
+ {"Tiro Typeworks", "tiro"},
+ {"URW", "urw"},
+ {"XFree86", "xfree86"},
+ {"Xorg", "xorg"},
+};
+
+#define NUM_NOTICE_FOUNDRIES (int) (sizeof (FcNoticeFoundries) / sizeof (FcNoticeFoundries[0]))
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index b9bb09f..a7809cb 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -22,28 +22,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/*
- Copyright © 2002-2003 by Juliusz Chroboczek
-
- 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.
-*/
-
#include "fcint.h"
#include "fcftint.h"
#include <stdlib.h>
@@ -65,6 +43,7 @@
#endif
#include FT_MULTIPLE_MASTERS_H
+#include "fcfoundry.h"
#include "ftglue.h"
/*
@@ -927,33 +906,6 @@ FcSfntNameLanguage (FT_SfntName *sname)
return 0;
}
-/* Order is significant. For example, some B&H fonts are hinted by
- URW++, and both strings appear in the notice. */
-
-static const char *FcNoticeFoundries[][2] =
- {
- {"Adobe", "adobe"},
- {"Bigelow", "b&h"},
- {"Bitstream", "bitstream"},
- {"Gnat", "culmus"},
- {"Iorsh", "culmus"},
- {"HanYang System", "hanyang"},
- {"Font21", "hwan"},
- {"IBM", "ibm"},
- {"International Typeface Corporation", "itc"},
- {"Linotype", "linotype"},
- {"LINOTYPE-HELL", "linotype"},
- {"Microsoft", "microsoft"},
- {"Monotype", "monotype"},
- {"Omega", "omega"},
- {"Tiro Typeworks", "tiro"},
- {"URW", "urw"},
- {"XFree86", "xfree86"},
- {"Xorg", "xorg"},
-};
-
-#define NUM_NOTICE_FOUNDRIES (int) (sizeof (FcNoticeFoundries) / sizeof (FcNoticeFoundries[0]))
-
static const FcChar8 *
FcNoticeFoundry(const FT_String *notice)
{