diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 13:03:18 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 13:03:18 -0400 |
commit | 304bab2aced9cae51d2e4c09f3d9e06c66ff175d (patch) | |
tree | 8397f81b893feb1cf624eee49c4fb01297aa08ad /vendor/SDL2_ttf | |
parent | ba350484072c78e5e1a765370c22dbd76474aa39 (diff) | |
download | ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.gz ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.bz2 ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.zip |
we can build a window app!
build type must be set to Release or it's horribly slow, and fullscreen does not work
Diffstat (limited to 'vendor/SDL2_ttf')
-rw-r--r-- | vendor/SDL2_ttf/CHANGES.txt | 79 | ||||
-rw-r--r-- | vendor/SDL2_ttf/COPYING.txt | 20 | ||||
-rw-r--r-- | vendor/SDL2_ttf/README.txt | 25 | ||||
-rw-r--r-- | vendor/SDL2_ttf/include/SDL_ttf.h | 387 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x64/LICENSE.freetype.txt | 173 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x64/LICENSE.harfbuzz.txt | 38 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x64/LICENSE.zlib.txt | 31 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x64/SDL2_ttf.dll | bin | 0 -> 1534464 bytes | |||
-rw-r--r-- | vendor/SDL2_ttf/lib/x64/SDL2_ttf.lib | bin | 0 -> 18406 bytes | |||
-rw-r--r-- | vendor/SDL2_ttf/lib/x86/LICENSE.freetype.txt | 173 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x86/LICENSE.harfbuzz.txt | 38 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x86/LICENSE.zlib.txt | 31 | ||||
-rw-r--r-- | vendor/SDL2_ttf/lib/x86/SDL2_ttf.dll | bin | 0 -> 1467904 bytes | |||
-rw-r--r-- | vendor/SDL2_ttf/lib/x86/SDL2_ttf.lib | bin | 0 -> 18792 bytes |
14 files changed, 995 insertions, 0 deletions
diff --git a/vendor/SDL2_ttf/CHANGES.txt b/vendor/SDL2_ttf/CHANGES.txt new file mode 100644 index 0000000..f422237 --- /dev/null +++ b/vendor/SDL2_ttf/CHANGES.txt | |||
@@ -0,0 +1,79 @@ | |||
1 | 2.0.18: | ||
2 | Ozkan Sezer - Wed Jan 5 14:15:46 PST 2022 | ||
3 | * Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion() | ||
4 | Sylvain - Jan 16, 2021 | ||
5 | * Added support for Signed Distance Field rendering with TTF_SetFontSDF() and TTF_GetFontSDF() | ||
6 | David Ludwig - Dec 28, 2019 | ||
7 | * Added optional DPI-scaling of fonts, with the following new functions: | ||
8 | TTF_OpenFontDPI() | ||
9 | TTF_OpenFontIndexDPI() | ||
10 | TTF_OpenFontDPIRW() | ||
11 | TTF_OpenFontIndexDPIRW() | ||
12 | TTF_SetFontSizeDPI() | ||
13 | Weard Anaether - Dec 2, 2019 | ||
14 | * Added 32-bit character support with: | ||
15 | TTF_RenderGlyph32_Solid() | ||
16 | TTF_RenderGlyph32_Shaded() | ||
17 | TTF_RenderGlyph32_Blended() | ||
18 | TTF_GetFontKerningSizeGlyphs32() | ||
19 | Arthur Danskin - Sep 3, 2019 | ||
20 | * Added 32-bit character support with TTF_GlyphIsProvided32() and TTF_GlyphMetrics32() | ||
21 | Sylvain - Apr 5, 2019 | ||
22 | * Added functions to set direction and script when using Harfbuzz: | ||
23 | TTF_SetDirection() | ||
24 | TTF_SetScript() | ||
25 | Sylvain - Mar 25, 2019 | ||
26 | * Added extended API for text measurement: | ||
27 | TTF_MeasureText() | ||
28 | TTF_MeasureUTF8() | ||
29 | TTF_MeasureUNICODE() | ||
30 | Sylvain - Jan 31, 2019 | ||
31 | * Added TTF_SetFontSize() to set font size dynamically | ||
32 | * Added 'Shaded' and 'Solid' text wrapped functions: | ||
33 | TTF_RenderText_Solid_Wrapped() | ||
34 | TTF_RenderUTF8_Solid_Wrapped() | ||
35 | TTF_RenderUNICODE_Solid_Wrapped() | ||
36 | TTF_RenderText_Shaded_Wrapped() | ||
37 | TTF_RenderUTF8_Shaded_Wrapped() | ||
38 | TTF_RenderUNICODE_Shaded_Wrapped() | ||
39 | * Added TTF_HINTING_LIGHT_SUBPIXEL for better results at small text sizes at a performance cost | ||
40 | |||
41 | 2.0.15: | ||
42 | Sam Lantinga - Fri Oct 26 13:26:54 PDT 2018 | ||
43 | * Updated to FreeType version 2.9.1 | ||
44 | Sam Lantinga - Sun Sep 10 00:18:45 PDT 2017 | ||
45 | * Text rendering functions now use the alpha component of the text colors | ||
46 | Sam Lantinga - Sat Sep 9 22:21:55 PDT 2017 | ||
47 | * Added support for characters greater than 0xFFFF (e.g. emoji) in the UTF-8 APIs | ||
48 | |||
49 | 2.0.14: | ||
50 | Ryan Gordon - Fri Jan 29 12:53:29 PST 2016 | ||
51 | * Deprecated TTF_GetFontKerningSize() which takes font glyph indices and added TTF_GetFontKerningSizeGlyphs() which takes characters | ||
52 | |||
53 | 2.0.13: | ||
54 | Sylvain - Sat Jun 28 11:42:42 2014 | ||
55 | * Fixed bug rendering text starting with a glyph with negative starting offset | ||
56 | beuc - Sun Jun 15 18:27:28 2014 | ||
57 | * Fixed regression loading non-scalable fonts | ||
58 | Sam Lantinga - Sun Jun 15 18:21:04 PDT 2014 | ||
59 | * TTF_GetFontKerningSize() gets kerning between two characters, not two glyph indices | ||
60 | David Ludwig - Sun Apr 13 22:28:26 2014 | ||
61 | * Added support for building for Windows RT and Windows Phone | ||
62 | |||
63 | 2.0.12: | ||
64 | Sam Lantinga - Sat Jun 1 19:11:26 PDT 2013 | ||
65 | * Updated for SDL 2.0 release | ||
66 | |||
67 | 2.0.11: | ||
68 | Sam Lantinga - Sat Dec 31 10:49:42 EST 2011 | ||
69 | * SDL_ttf is now under the zlib license | ||
70 | Peter Kosyh - Mon Feb 28 14:57:03 PST 2011 | ||
71 | * Improved font glyph caching for non-latin languages | ||
72 | Erik Snoek - Wed Jan 12 09:10:15 PST 2011 | ||
73 | * Added API to get kerning info: TTF_GetFontKerningSize() | ||
74 | Sam Lantinga - Mon Jan 10 10:58:34 2011 -0800 | ||
75 | * Added Android.mk to build on the Android platform | ||
76 | |||
77 | 2.0.10: | ||
78 | Adam Strzelecki - Wed Oct 21 21:02:37 PDT 2009 | ||
79 | * Find the Unicode or symbol character map if it's available in the font | ||
diff --git a/vendor/SDL2_ttf/COPYING.txt b/vendor/SDL2_ttf/COPYING.txt new file mode 100644 index 0000000..62e0a77 --- /dev/null +++ b/vendor/SDL2_ttf/COPYING.txt | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | SDL_ttf: A companion library to SDL for working with TrueType (tm) fonts | ||
3 | Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org> | ||
4 | |||
5 | This software is provided 'as-is', without any express or implied | ||
6 | warranty. In no event will the authors be held liable for any damages | ||
7 | arising from the use of this software. | ||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, | ||
10 | including commercial applications, and to alter it and redistribute it | ||
11 | freely, subject to the following restrictions: | ||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not | ||
14 | claim that you wrote the original software. If you use this software | ||
15 | in a product, an acknowledgment in the product documentation would be | ||
16 | appreciated but is not required. | ||
17 | 2. Altered source versions must be plainly marked as such, and must not be | ||
18 | misrepresented as being the original software. | ||
19 | 3. This notice may not be removed or altered from any source distribution. | ||
20 | */ | ||
diff --git a/vendor/SDL2_ttf/README.txt b/vendor/SDL2_ttf/README.txt new file mode 100644 index 0000000..b75b3d7 --- /dev/null +++ b/vendor/SDL2_ttf/README.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | |||
2 | This library is a wrapper around the excellent FreeType 2.0 library, | ||
3 | available at: | ||
4 | http://www.freetype.org/ | ||
5 | |||
6 | This library allows you to use TrueType fonts to render text in SDL | ||
7 | applications. | ||
8 | |||
9 | To make the library, first install the FreeType library, then type | ||
10 | './configure' then 'make' to build the SDL truetype library and the | ||
11 | showfont and glfont example applications. | ||
12 | |||
13 | Be careful when including fonts with your application, as many of them | ||
14 | are copyrighted. The Microsoft fonts, for example, are not freely | ||
15 | redistributable and even the free "web" fonts they provide are only | ||
16 | redistributable in their special executable installer form (May 1998). | ||
17 | There are plenty of freeware and shareware fonts available on the Internet | ||
18 | though, and may suit your purposes. | ||
19 | |||
20 | This library is under the zlib license, see the file "COPYING.txt" for details. | ||
21 | |||
22 | Portions of this software are copyright © 2013 The FreeType Project (www.freetype.org). All rights reserved. | ||
23 | |||
24 | Enjoy! | ||
25 | -Sam Lantinga <slouken@libsdl.org> (6/20/2001) | ||
diff --git a/vendor/SDL2_ttf/include/SDL_ttf.h b/vendor/SDL2_ttf/include/SDL_ttf.h new file mode 100644 index 0000000..dd346ff --- /dev/null +++ b/vendor/SDL2_ttf/include/SDL_ttf.h | |||
@@ -0,0 +1,387 @@ | |||
1 | /* | ||
2 | SDL_ttf: A companion library to SDL for working with TrueType (tm) fonts | ||
3 | Copyright (C) 2001-2022 Sam Lantinga <slouken@libsdl.org> | ||
4 | |||
5 | This software is provided 'as-is', without any express or implied | ||
6 | warranty. In no event will the authors be held liable for any damages | ||
7 | arising from the use of this software. | ||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, | ||
10 | including commercial applications, and to alter it and redistribute it | ||
11 | freely, subject to the following restrictions: | ||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not | ||
14 | claim that you wrote the original software. If you use this software | ||
15 | in a product, an acknowledgment in the product documentation would be | ||
16 | appreciated but is not required. | ||
17 | 2. Altered source versions must be plainly marked as such, and must not be | ||
18 | misrepresented as being the original software. | ||
19 | 3. This notice may not be removed or altered from any source distribution. | ||
20 | */ | ||
21 | |||
22 | /* This library is a wrapper around the excellent FreeType 2.0 library, | ||
23 | available at: | ||
24 | http://www.freetype.org/ | ||
25 | */ | ||
26 | |||
27 | /* Note: In many places, SDL_ttf will say "glyph" when it means "code point." | ||
28 | Unicode is hard, we learn as we go, and we apologize for adding to the | ||
29 | confusion. */ | ||
30 | |||
31 | #ifndef SDL_TTF_H_ | ||
32 | #define SDL_TTF_H_ | ||
33 | |||
34 | #include "SDL.h" | ||
35 | #include "begin_code.h" | ||
36 | |||
37 | /* Set up for C function definitions, even when using C++ */ | ||
38 | #ifdef __cplusplus | ||
39 | extern "C" { | ||
40 | #endif | ||
41 | |||
42 | /* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL | ||
43 | */ | ||
44 | #define SDL_TTF_MAJOR_VERSION 2 | ||
45 | #define SDL_TTF_MINOR_VERSION 0 | ||
46 | #define SDL_TTF_PATCHLEVEL 18 | ||
47 | |||
48 | /* This macro can be used to fill a version structure with the compile-time | ||
49 | * version of the SDL_ttf library. | ||
50 | */ | ||
51 | #define SDL_TTF_VERSION(X) \ | ||
52 | { \ | ||
53 | (X)->major = SDL_TTF_MAJOR_VERSION; \ | ||
54 | (X)->minor = SDL_TTF_MINOR_VERSION; \ | ||
55 | (X)->patch = SDL_TTF_PATCHLEVEL; \ | ||
56 | } | ||
57 | |||
58 | /* Backwards compatibility */ | ||
59 | #define TTF_MAJOR_VERSION SDL_TTF_MAJOR_VERSION | ||
60 | #define TTF_MINOR_VERSION SDL_TTF_MINOR_VERSION | ||
61 | #define TTF_PATCHLEVEL SDL_TTF_PATCHLEVEL | ||
62 | #define TTF_VERSION(X) SDL_TTF_VERSION(X) | ||
63 | |||
64 | /** | ||
65 | * This is the version number macro for the current SDL_ttf version. | ||
66 | */ | ||
67 | #define SDL_TTF_COMPILEDVERSION \ | ||
68 | SDL_VERSIONNUM(SDL_TTF_MAJOR_VERSION, SDL_TTF_MINOR_VERSION, SDL_TTF_PATCHLEVEL) | ||
69 | |||
70 | /** | ||
71 | * This macro will evaluate to true if compiled with SDL_ttf at least X.Y.Z. | ||
72 | */ | ||
73 | #define SDL_TTF_VERSION_ATLEAST(X, Y, Z) \ | ||
74 | (SDL_TTF_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)) | ||
75 | |||
76 | /* Make sure this is defined (only available in newer SDL versions) */ | ||
77 | #ifndef SDL_DEPRECATED | ||
78 | #define SDL_DEPRECATED | ||
79 | #endif | ||
80 | |||
81 | /* This function gets the version of the dynamically linked SDL_ttf library. | ||
82 | it should NOT be used to fill a version structure, instead you should | ||
83 | use the SDL_TTF_VERSION() macro. | ||
84 | */ | ||
85 | extern DECLSPEC const SDL_version * SDLCALL TTF_Linked_Version(void); | ||
86 | |||
87 | /* This function stores the version of the FreeType2 library in use. | ||
88 | TTF_Init() should be called before calling this function. | ||
89 | */ | ||
90 | extern DECLSPEC void SDLCALL TTF_GetFreeTypeVersion(int *major, int *minor, int *patch); | ||
91 | |||
92 | /* This function stores the version of the HarfBuzz library in use, | ||
93 | or 0 if HarfBuzz is not available. | ||
94 | */ | ||
95 | extern DECLSPEC void SDLCALL TTF_GetHarfBuzzVersion(int *major, int *minor, int *patch); | ||
96 | |||
97 | /* ZERO WIDTH NO-BREAKSPACE (Unicode byte order mark) */ | ||
98 | #define UNICODE_BOM_NATIVE 0xFEFF | ||
99 | #define UNICODE_BOM_SWAPPED 0xFFFE | ||
100 | |||
101 | /* This function tells the library whether UNICODE text is generally | ||
102 | byteswapped. A UNICODE BOM character in a string will override | ||
103 | this setting for the remainder of that string. | ||
104 | */ | ||
105 | extern DECLSPEC void SDLCALL TTF_ByteSwappedUNICODE(SDL_bool swapped); | ||
106 | |||
107 | /* The internal structure containing font information */ | ||
108 | typedef struct _TTF_Font TTF_Font; | ||
109 | |||
110 | /* Initialize the TTF engine - returns 0 if successful, -1 on error */ | ||
111 | extern DECLSPEC int SDLCALL TTF_Init(void); | ||
112 | |||
113 | /* Open a font file and create a font of the specified point size. | ||
114 | * Some .fon fonts will have several sizes embedded in the file, so the | ||
115 | * point size becomes the index of choosing which size. If the value | ||
116 | * is too high, the last indexed size will be the default. */ | ||
117 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFont(const char *file, int ptsize); | ||
118 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIndex(const char *file, int ptsize, long index); | ||
119 | /* Open a font file from a SDL_RWops: 'src' must be kept alive for the lifetime of the TTF_Font. | ||
120 | * 'freesrc' can be set so that TTF_CloseFont closes the RWops */ | ||
121 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontRW(SDL_RWops *src, int freesrc, int ptsize); | ||
122 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIndexRW(SDL_RWops *src, int freesrc, int ptsize, long index); | ||
123 | |||
124 | /* Opens a font using the given horizontal and vertical target resolutions (in DPI). | ||
125 | * DPI scaling only applies to scalable fonts (e.g. TrueType). */ | ||
126 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontDPI(const char *file, int ptsize, unsigned int hdpi, unsigned int vdpi); | ||
127 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIndexDPI(const char *file, int ptsize, long index, unsigned int hdpi, unsigned int vdpi); | ||
128 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontDPIRW(SDL_RWops *src, int freesrc, int ptsize, unsigned int hdpi, unsigned int vdpi); | ||
129 | extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIndexDPIRW(SDL_RWops *src, int freesrc, int ptsize, long index, unsigned int hdpi, unsigned int vdpi); | ||
130 | |||
131 | /* Set font size dynamically */ | ||
132 | extern DECLSPEC int SDLCALL TTF_SetFontSize(TTF_Font *font, int ptsize); | ||
133 | extern DECLSPEC int SDLCALL TTF_SetFontSizeDPI(TTF_Font *font, int ptsize, unsigned int hdpi, unsigned int vdpi); | ||
134 | |||
135 | /* Set and retrieve the font style */ | ||
136 | #define TTF_STYLE_NORMAL 0x00 | ||
137 | #define TTF_STYLE_BOLD 0x01 | ||
138 | #define TTF_STYLE_ITALIC 0x02 | ||
139 | #define TTF_STYLE_UNDERLINE 0x04 | ||
140 | #define TTF_STYLE_STRIKETHROUGH 0x08 | ||
141 | extern DECLSPEC int SDLCALL TTF_GetFontStyle(const TTF_Font *font); | ||
142 | extern DECLSPEC void SDLCALL TTF_SetFontStyle(TTF_Font *font, int style); | ||
143 | extern DECLSPEC int SDLCALL TTF_GetFontOutline(const TTF_Font *font); | ||
144 | extern DECLSPEC void SDLCALL TTF_SetFontOutline(TTF_Font *font, int outline); | ||
145 | |||
146 | /* Set and retrieve FreeType hinter settings */ | ||
147 | #define TTF_HINTING_NORMAL 0 | ||
148 | #define TTF_HINTING_LIGHT 1 | ||
149 | #define TTF_HINTING_MONO 2 | ||
150 | #define TTF_HINTING_NONE 3 | ||
151 | #define TTF_HINTING_LIGHT_SUBPIXEL 4 | ||
152 | extern DECLSPEC int SDLCALL TTF_GetFontHinting(const TTF_Font *font); | ||
153 | extern DECLSPEC void SDLCALL TTF_SetFontHinting(TTF_Font *font, int hinting); | ||
154 | |||
155 | /* Get the total height of the font - usually equal to point size */ | ||
156 | extern DECLSPEC int SDLCALL TTF_FontHeight(const TTF_Font *font); | ||
157 | |||
158 | /* Get the offset from the baseline to the top of the font | ||
159 | This is a positive value, relative to the baseline. | ||
160 | */ | ||
161 | extern DECLSPEC int SDLCALL TTF_FontAscent(const TTF_Font *font); | ||
162 | |||
163 | /* Get the offset from the baseline to the bottom of the font | ||
164 | This is a negative value, relative to the baseline. | ||
165 | */ | ||
166 | extern DECLSPEC int SDLCALL TTF_FontDescent(const TTF_Font *font); | ||
167 | |||
168 | /* Get the recommended spacing between lines of text for this font */ | ||
169 | extern DECLSPEC int SDLCALL TTF_FontLineSkip(const TTF_Font *font); | ||
170 | |||
171 | /* Get/Set whether or not kerning is allowed for this font */ | ||
172 | extern DECLSPEC int SDLCALL TTF_GetFontKerning(const TTF_Font *font); | ||
173 | extern DECLSPEC void SDLCALL TTF_SetFontKerning(TTF_Font *font, int allowed); | ||
174 | |||
175 | /* Get the number of faces of the font */ | ||
176 | extern DECLSPEC long SDLCALL TTF_FontFaces(const TTF_Font *font); | ||
177 | |||
178 | /* Get the font face attributes, if any */ | ||
179 | extern DECLSPEC int SDLCALL TTF_FontFaceIsFixedWidth(const TTF_Font *font); | ||
180 | extern DECLSPEC char * SDLCALL TTF_FontFaceFamilyName(const TTF_Font *font); | ||
181 | extern DECLSPEC char * SDLCALL TTF_FontFaceStyleName(const TTF_Font *font); | ||
182 | |||
183 | /* Check wether a glyph is provided by the font or not */ | ||
184 | extern DECLSPEC int SDLCALL TTF_GlyphIsProvided(TTF_Font *font, Uint16 ch); | ||
185 | extern DECLSPEC int SDLCALL TTF_GlyphIsProvided32(TTF_Font *font, Uint32 ch); | ||
186 | |||
187 | /* Get the metrics (dimensions) of a glyph | ||
188 | To understand what these metrics mean, here is a useful link: | ||
189 | http://freetype.sourceforge.net/freetype2/docs/tutorial/step2.html | ||
190 | */ | ||
191 | extern DECLSPEC int SDLCALL TTF_GlyphMetrics(TTF_Font *font, Uint16 ch, | ||
192 | int *minx, int *maxx, | ||
193 | int *miny, int *maxy, int *advance); | ||
194 | extern DECLSPEC int SDLCALL TTF_GlyphMetrics32(TTF_Font *font, Uint32 ch, | ||
195 | int *minx, int *maxx, | ||
196 | int *miny, int *maxy, int *advance); | ||
197 | |||
198 | /* Get the dimensions of a rendered string of text */ | ||
199 | extern DECLSPEC int SDLCALL TTF_SizeText(TTF_Font *font, const char *text, int *w, int *h); | ||
200 | extern DECLSPEC int SDLCALL TTF_SizeUTF8(TTF_Font *font, const char *text, int *w, int *h); | ||
201 | extern DECLSPEC int SDLCALL TTF_SizeUNICODE(TTF_Font *font, const Uint16 *text, int *w, int *h); | ||
202 | |||
203 | /* Get the measurement string of text without rendering | ||
204 | e.g. the number of characters that can be rendered before reaching 'measure_width' | ||
205 | |||
206 | in: | ||
207 | measure_width - in pixels to measure this text | ||
208 | out: | ||
209 | count - number of characters that can be rendered | ||
210 | extent - latest calculated width | ||
211 | */ | ||
212 | extern DECLSPEC int SDLCALL TTF_MeasureText(TTF_Font *font, const char *text, int measure_width, int *extent, int *count); | ||
213 | extern DECLSPEC int SDLCALL TTF_MeasureUTF8(TTF_Font *font, const char *text, int measure_width, int *extent, int *count); | ||
214 | extern DECLSPEC int SDLCALL TTF_MeasureUNICODE(TTF_Font *font, const Uint16 *text, int measure_width, int *extent, int *count); | ||
215 | |||
216 | /* Create an 8-bit palettized surface and render the given text at | ||
217 | fast quality with the given font and color. The 0 pixel is the | ||
218 | colorkey, giving a transparent background, and the 1 pixel is set | ||
219 | to the text color. | ||
220 | This function returns the new surface, or NULL if there was an error. | ||
221 | */ | ||
222 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Solid(TTF_Font *font, | ||
223 | const char *text, SDL_Color fg); | ||
224 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Solid(TTF_Font *font, | ||
225 | const char *text, SDL_Color fg); | ||
226 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Solid(TTF_Font *font, | ||
227 | const Uint16 *text, SDL_Color fg); | ||
228 | |||
229 | /* Create an 8-bit palettized surface and render the given text at | ||
230 | fast quality with the given font and color. The 0 pixel is the | ||
231 | colorkey, giving a transparent background, and the 1 pixel is set | ||
232 | to the text color. | ||
233 | Text is wrapped to multiple lines on line endings and on word boundaries | ||
234 | if it extends beyond wrapLength in pixels. | ||
235 | If wrapLength is 0, only wrap on new lines. | ||
236 | This function returns the new surface, or NULL if there was an error. | ||
237 | */ | ||
238 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Solid_Wrapped(TTF_Font *font, | ||
239 | const char *text, SDL_Color fg, Uint32 wrapLength); | ||
240 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Solid_Wrapped(TTF_Font *font, | ||
241 | const char *text, SDL_Color fg, Uint32 wrapLength); | ||
242 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Solid_Wrapped(TTF_Font *font, | ||
243 | const Uint16 *text, SDL_Color fg, Uint32 wrapLength); | ||
244 | |||
245 | /* Create an 8-bit palettized surface and render the given glyph at | ||
246 | fast quality with the given font and color. The 0 pixel is the | ||
247 | colorkey, giving a transparent background, and the 1 pixel is set | ||
248 | to the text color. The glyph is rendered without any padding or | ||
249 | centering in the X direction, and aligned normally in the Y direction. | ||
250 | This function returns the new surface, or NULL if there was an error. | ||
251 | */ | ||
252 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Solid(TTF_Font *font, | ||
253 | Uint16 ch, SDL_Color fg); | ||
254 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Solid(TTF_Font *font, | ||
255 | Uint32 ch, SDL_Color fg); | ||
256 | |||
257 | /* Create an 8-bit palettized surface and render the given text at | ||
258 | high quality with the given font and colors. The 0 pixel is background, | ||
259 | while other pixels have varying degrees of the foreground color. | ||
260 | This function returns the new surface, or NULL if there was an error. | ||
261 | */ | ||
262 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Shaded(TTF_Font *font, | ||
263 | const char *text, SDL_Color fg, SDL_Color bg); | ||
264 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Shaded(TTF_Font *font, | ||
265 | const char *text, SDL_Color fg, SDL_Color bg); | ||
266 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Shaded(TTF_Font *font, | ||
267 | const Uint16 *text, SDL_Color fg, SDL_Color bg); | ||
268 | |||
269 | /* Create an 8-bit palettized surface and render the given text at | ||
270 | high quality with the given font and colors. The 0 pixel is background, | ||
271 | while other pixels have varying degrees of the foreground color. | ||
272 | Text is wrapped to multiple lines on line endings and on word boundaries | ||
273 | if it extends beyond wrapLength in pixels. | ||
274 | If wrapLength is 0, only wrap on new lines. | ||
275 | This function returns the new surface, or NULL if there was an error. | ||
276 | */ | ||
277 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Shaded_Wrapped(TTF_Font *font, | ||
278 | const char *text, SDL_Color fg, SDL_Color bg, Uint32 wrapLength); | ||
279 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Shaded_Wrapped(TTF_Font *font, | ||
280 | const char *text, SDL_Color fg, SDL_Color bg, Uint32 wrapLength); | ||
281 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Shaded_Wrapped(TTF_Font *font, | ||
282 | const Uint16 *text, SDL_Color fg, SDL_Color bg, Uint32 wrapLength); | ||
283 | |||
284 | /* Create an 8-bit palettized surface and render the given glyph at | ||
285 | high quality with the given font and colors. The 0 pixel is background, | ||
286 | while other pixels have varying degrees of the foreground color. | ||
287 | The glyph is rendered without any padding or centering in the X | ||
288 | direction, and aligned normally in the Y direction. | ||
289 | This function returns the new surface, or NULL if there was an error. | ||
290 | */ | ||
291 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Shaded(TTF_Font *font, | ||
292 | Uint16 ch, SDL_Color fg, SDL_Color bg); | ||
293 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Shaded(TTF_Font *font, | ||
294 | Uint32 ch, SDL_Color fg, SDL_Color bg); | ||
295 | |||
296 | /* Create a 32-bit ARGB surface and render the given text at high quality, | ||
297 | using alpha blending to dither the font with the given color. | ||
298 | This function returns the new surface, or NULL if there was an error. | ||
299 | */ | ||
300 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Blended(TTF_Font *font, | ||
301 | const char *text, SDL_Color fg); | ||
302 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Blended(TTF_Font *font, | ||
303 | const char *text, SDL_Color fg); | ||
304 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Blended(TTF_Font *font, | ||
305 | const Uint16 *text, SDL_Color fg); | ||
306 | |||
307 | |||
308 | /* Create a 32-bit ARGB surface and render the given text at high quality, | ||
309 | using alpha blending to dither the font with the given color. | ||
310 | Text is wrapped to multiple lines on line endings and on word boundaries | ||
311 | if it extends beyond wrapLength in pixels. | ||
312 | If wrapLength is 0, only wrap on new lines. | ||
313 | This function returns the new surface, or NULL if there was an error. | ||
314 | */ | ||
315 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Blended_Wrapped(TTF_Font *font, | ||
316 | const char *text, SDL_Color fg, Uint32 wrapLength); | ||
317 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Blended_Wrapped(TTF_Font *font, | ||
318 | const char *text, SDL_Color fg, Uint32 wrapLength); | ||
319 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Blended_Wrapped(TTF_Font *font, | ||
320 | const Uint16 *text, SDL_Color fg, Uint32 wrapLength); | ||
321 | |||
322 | /* Create a 32-bit ARGB surface and render the given glyph at high quality, | ||
323 | using alpha blending to dither the font with the given color. | ||
324 | The glyph is rendered without any padding or centering in the X | ||
325 | direction, and aligned normally in the Y direction. | ||
326 | This function returns the new surface, or NULL if there was an error. | ||
327 | */ | ||
328 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Blended(TTF_Font *font, | ||
329 | Uint16 ch, SDL_Color fg); | ||
330 | extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Blended(TTF_Font *font, | ||
331 | Uint32 ch, SDL_Color fg); | ||
332 | |||
333 | /* For compatibility with previous versions, here are the old functions */ | ||
334 | #define TTF_RenderText(font, text, fg, bg) \ | ||
335 | TTF_RenderText_Shaded(font, text, fg, bg) | ||
336 | #define TTF_RenderUTF8(font, text, fg, bg) \ | ||
337 | TTF_RenderUTF8_Shaded(font, text, fg, bg) | ||
338 | #define TTF_RenderUNICODE(font, text, fg, bg) \ | ||
339 | TTF_RenderUNICODE_Shaded(font, text, fg, bg) | ||
340 | |||
341 | /* Set Direction and Script to be used for text shaping. | ||
342 | - direction is of type hb_direction_t | ||
343 | - script is of type hb_script_t | ||
344 | |||
345 | This functions returns always 0, or -1 if SDL_ttf is not compiled with HarfBuzz | ||
346 | */ | ||
347 | extern DECLSPEC int SDLCALL TTF_SetDirection(int direction); /* hb_direction_t */ | ||
348 | extern DECLSPEC int SDLCALL TTF_SetScript(int script); /* hb_script_t */ | ||
349 | |||
350 | /* Close an opened font file */ | ||
351 | extern DECLSPEC void SDLCALL TTF_CloseFont(TTF_Font *font); | ||
352 | |||
353 | /* De-initialize the TTF engine */ | ||
354 | extern DECLSPEC void SDLCALL TTF_Quit(void); | ||
355 | |||
356 | /* Check if the TTF engine is initialized */ | ||
357 | extern DECLSPEC int SDLCALL TTF_WasInit(void); | ||
358 | |||
359 | /* Get the kerning size of two glyphs indices */ | ||
360 | /* DEPRECATED: this function requires FreeType font indexes, not glyphs, | ||
361 | by accident, which we don't expose through this API, so it could give | ||
362 | wildly incorrect results, especially with non-ASCII values. | ||
363 | Going forward, please use TTF_GetFontKerningSizeGlyphs() instead, which | ||
364 | does what you probably expected this function to do. */ | ||
365 | extern DECLSPEC int TTF_GetFontKerningSize(TTF_Font *font, int prev_index, int index) SDL_DEPRECATED; | ||
366 | |||
367 | /* Get the kerning size of two glyphs */ | ||
368 | extern DECLSPEC int TTF_GetFontKerningSizeGlyphs(TTF_Font *font, Uint16 previous_ch, Uint16 ch); | ||
369 | extern DECLSPEC int TTF_GetFontKerningSizeGlyphs32(TTF_Font *font, Uint32 previous_ch, Uint32 ch); | ||
370 | |||
371 | /* Enable Signed Distance Field rendering (with the Blended APIs) */ | ||
372 | extern DECLSPEC int TTF_SetFontSDF(TTF_Font *font, SDL_bool on_off); | ||
373 | extern DECLSPEC SDL_bool TTF_GetFontSDF(const TTF_Font *font); | ||
374 | |||
375 | /* We'll use SDL for reporting errors */ | ||
376 | #define TTF_SetError SDL_SetError | ||
377 | #define TTF_GetError SDL_GetError | ||
378 | |||
379 | /* Ends C function definitions when using C++ */ | ||
380 | #ifdef __cplusplus | ||
381 | } | ||
382 | #endif | ||
383 | #include "close_code.h" | ||
384 | |||
385 | #endif /* SDL_TTF_H_ */ | ||
386 | |||
387 | /* vi: set ts=4 sw=4 expandtab: */ | ||
diff --git a/vendor/SDL2_ttf/lib/x64/LICENSE.freetype.txt b/vendor/SDL2_ttf/lib/x64/LICENSE.freetype.txt new file mode 100644 index 0000000..674b4ff --- /dev/null +++ b/vendor/SDL2_ttf/lib/x64/LICENSE.freetype.txt | |||
@@ -0,0 +1,173 @@ | |||
1 | The source code to this library used with SDL_ttf can be found here: | ||
2 | https://github.com/libsdl-org/SDL_ttf/tree/main/external | ||
3 | --- | ||
4 | |||
5 | The FreeType Project LICENSE | ||
6 | ---------------------------- | ||
7 | |||
8 | 2006-Jan-27 | ||
9 | |||
10 | Copyright 1996-2002, 2006 by | ||
11 | David Turner, Robert Wilhelm, and Werner Lemberg | ||
12 | |||
13 | |||
14 | |||
15 | Introduction | ||
16 | ============ | ||
17 | |||
18 | The FreeType Project is distributed in several archive packages; | ||
19 | some of them may contain, in addition to the FreeType font engine, | ||
20 | various tools and contributions which rely on, or relate to, the | ||
21 | FreeType Project. | ||
22 | |||
23 | This license applies to all files found in such packages, and | ||
24 | which do not fall under their own explicit license. The license | ||
25 | affects thus the FreeType font engine, the test programs, | ||
26 | documentation and makefiles, at the very least. | ||
27 | |||
28 | This license was inspired by the BSD, Artistic, and IJG | ||
29 | (Independent JPEG Group) licenses, which all encourage inclusion | ||
30 | and use of free software in commercial and freeware products | ||
31 | alike. As a consequence, its main points are that: | ||
32 | |||
33 | o We don't promise that this software works. However, we will be | ||
34 | interested in any kind of bug reports. (`as is' distribution) | ||
35 | |||
36 | o You can use this software for whatever you want, in parts or | ||
37 | full form, without having to pay us. (`royalty-free' usage) | ||
38 | |||
39 | o You may not pretend that you wrote this software. If you use | ||
40 | it, or only parts of it, in a program, you must acknowledge | ||
41 | somewhere in your documentation that you have used the | ||
42 | FreeType code. (`credits') | ||
43 | |||
44 | We specifically permit and encourage the inclusion of this | ||
45 | software, with or without modifications, in commercial products. | ||
46 | We disclaim all warranties covering The FreeType Project and | ||
47 | assume no liability related to The FreeType Project. | ||
48 | |||
49 | |||
50 | Finally, many people asked us for a preferred form for a | ||
51 | credit/disclaimer to use in compliance with this license. We thus | ||
52 | encourage you to use the following text: | ||
53 | |||
54 | """ | ||
55 | Portions of this software are copyright © <year> The FreeType | ||
56 | Project (www.freetype.org). All rights reserved. | ||
57 | """ | ||
58 | |||
59 | Please replace <year> with the value from the FreeType version you | ||
60 | actually use. | ||
61 | |||
62 | |||
63 | Legal Terms | ||
64 | =========== | ||
65 | |||
66 | 0. Definitions | ||
67 | -------------- | ||
68 | |||
69 | Throughout this license, the terms `package', `FreeType Project', | ||
70 | and `FreeType archive' refer to the set of files originally | ||
71 | distributed by the authors (David Turner, Robert Wilhelm, and | ||
72 | Werner Lemberg) as the `FreeType Project', be they named as alpha, | ||
73 | beta or final release. | ||
74 | |||
75 | `You' refers to the licensee, or person using the project, where | ||
76 | `using' is a generic term including compiling the project's source | ||
77 | code as well as linking it to form a `program' or `executable'. | ||
78 | This program is referred to as `a program using the FreeType | ||
79 | engine'. | ||
80 | |||
81 | This license applies to all files distributed in the original | ||
82 | FreeType Project, including all source code, binaries and | ||
83 | documentation, unless otherwise stated in the file in its | ||
84 | original, unmodified form as distributed in the original archive. | ||
85 | If you are unsure whether or not a particular file is covered by | ||
86 | this license, you must contact us to verify this. | ||
87 | |||
88 | The FreeType Project is copyright (C) 1996-2000 by David Turner, | ||
89 | Robert Wilhelm, and Werner Lemberg. All rights reserved except as | ||
90 | specified below. | ||
91 | |||
92 | 1. No Warranty | ||
93 | -------------- | ||
94 | |||
95 | THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY | ||
96 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | ||
97 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
98 | PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS | ||
99 | BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO | ||
100 | USE, OF THE FREETYPE PROJECT. | ||
101 | |||
102 | 2. Redistribution | ||
103 | ----------------- | ||
104 | |||
105 | This license grants a worldwide, royalty-free, perpetual and | ||
106 | irrevocable right and license to use, execute, perform, compile, | ||
107 | display, copy, create derivative works of, distribute and | ||
108 | sublicense the FreeType Project (in both source and object code | ||
109 | forms) and derivative works thereof for any purpose; and to | ||
110 | authorize others to exercise some or all of the rights granted | ||
111 | herein, subject to the following conditions: | ||
112 | |||
113 | o Redistribution of source code must retain this license file | ||
114 | (`FTL.TXT') unaltered; any additions, deletions or changes to | ||
115 | the original files must be clearly indicated in accompanying | ||
116 | documentation. The copyright notices of the unaltered, | ||
117 | original files must be preserved in all copies of source | ||
118 | files. | ||
119 | |||
120 | o Redistribution in binary form must provide a disclaimer that | ||
121 | states that the software is based in part of the work of the | ||
122 | FreeType Team, in the distribution documentation. We also | ||
123 | encourage you to put an URL to the FreeType web page in your | ||
124 | documentation, though this isn't mandatory. | ||
125 | |||
126 | These conditions apply to any software derived from or based on | ||
127 | the FreeType Project, not just the unmodified files. If you use | ||
128 | our work, you must acknowledge us. However, no fee need be paid | ||
129 | to us. | ||
130 | |||
131 | 3. Advertising | ||
132 | -------------- | ||
133 | |||
134 | Neither the FreeType authors and contributors nor you shall use | ||
135 | the name of the other for commercial, advertising, or promotional | ||
136 | purposes without specific prior written permission. | ||
137 | |||
138 | We suggest, but do not require, that you use one or more of the | ||
139 | following phrases to refer to this software in your documentation | ||
140 | or advertising materials: `FreeType Project', `FreeType Engine', | ||
141 | `FreeType library', or `FreeType Distribution'. | ||
142 | |||
143 | As you have not signed this license, you are not required to | ||
144 | accept it. However, as the FreeType Project is copyrighted | ||
145 | material, only this license, or another one contracted with the | ||
146 | authors, grants you the right to use, distribute, and modify it. | ||
147 | Therefore, by using, distributing, or modifying the FreeType | ||
148 | Project, you indicate that you understand and accept all the terms | ||
149 | of this license. | ||
150 | |||
151 | 4. Contacts | ||
152 | ----------- | ||
153 | |||
154 | There are two mailing lists related to FreeType: | ||
155 | |||
156 | o freetype@nongnu.org | ||
157 | |||
158 | Discusses general use and applications of FreeType, as well as | ||
159 | future and wanted additions to the library and distribution. | ||
160 | If you are looking for support, start in this list if you | ||
161 | haven't found anything to help you in the documentation. | ||
162 | |||
163 | o freetype-devel@nongnu.org | ||
164 | |||
165 | Discusses bugs, as well as engine internals, design issues, | ||
166 | specific licenses, porting, etc. | ||
167 | |||
168 | Our home page can be found at | ||
169 | |||
170 | https://www.freetype.org | ||
171 | |||
172 | |||
173 | --- end of FTL.TXT --- | ||
diff --git a/vendor/SDL2_ttf/lib/x64/LICENSE.harfbuzz.txt b/vendor/SDL2_ttf/lib/x64/LICENSE.harfbuzz.txt new file mode 100644 index 0000000..5734316 --- /dev/null +++ b/vendor/SDL2_ttf/lib/x64/LICENSE.harfbuzz.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. | ||
2 | For parts of HarfBuzz that are licensed under different licenses see individual | ||
3 | files names COPYING in subdirectories where applicable. | ||
4 | |||
5 | Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020 Google, Inc. | ||
6 | Copyright © 2018,2019,2020 Ebrahim Byagowi | ||
7 | Copyright © 2019,2020 Facebook, Inc. | ||
8 | Copyright © 2012 Mozilla Foundation | ||
9 | Copyright © 2011 Codethink Limited | ||
10 | Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies) | ||
11 | Copyright © 2009 Keith Stribley | ||
12 | Copyright © 2009 Martin Hosken and SIL International | ||
13 | Copyright © 2007 Chris Wilson | ||
14 | Copyright © 2006 Behdad Esfahbod | ||
15 | Copyright © 2005 David Turner | ||
16 | Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc. | ||
17 | Copyright © 1998-2004 David Turner and Werner Lemberg | ||
18 | |||
19 | For full copyright notices consult the individual files in the package. | ||
20 | |||
21 | |||
22 | Permission is hereby granted, without written agreement and without | ||
23 | license or royalty fees, to use, copy, modify, and distribute this | ||
24 | software and its documentation for any purpose, provided that the | ||
25 | above copyright notice and the following two paragraphs appear in | ||
26 | all copies of this software. | ||
27 | |||
28 | IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR | ||
29 | DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES | ||
30 | ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN | ||
31 | IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||
32 | DAMAGE. | ||
33 | |||
34 | THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | ||
35 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
36 | FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS | ||
37 | ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO | ||
38 | PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | ||
diff --git a/vendor/SDL2_ttf/lib/x64/LICENSE.zlib.txt b/vendor/SDL2_ttf/lib/x64/LICENSE.zlib.txt new file mode 100644 index 0000000..be04508 --- /dev/null +++ b/vendor/SDL2_ttf/lib/x64/LICENSE.zlib.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | The source code to this library used with SDL_ttf can be found here: | ||
2 | https://github.com/libsdl-org/SDL_ttf/tree/main/external | ||
3 | --- | ||
4 | |||
5 | Copyright notice: | ||
6 | |||
7 | (C) 1995-2010 Jean-loup Gailly and Mark Adler | ||
8 | |||
9 | This software is provided 'as-is', without any express or implied | ||
10 | warranty. In no event will the authors be held liable for any damages | ||
11 | arising from the use of this software. | ||
12 | |||
13 | Permission is granted to anyone to use this software for any purpose, | ||
14 | including commercial applications, and to alter it and redistribute it | ||
15 | freely, subject to the following restrictions: | ||
16 | |||
17 | 1. The origin of this software must not be misrepresented; you must not | ||
18 | claim that you wrote the original software. If you use this software | ||
19 | in a product, an acknowledgment in the product documentation would be | ||
20 | appreciated but is not required. | ||
21 | 2. Altered source versions must be plainly marked as such, and must not be | ||
22 | misrepresented as being the original software. | ||
23 | 3. This notice may not be removed or altered from any source distribution. | ||
24 | |||
25 | Jean-loup Gailly Mark Adler | ||
26 | jloup@gzip.org madler@alumni.caltech.edu | ||
27 | |||
28 | If you use the zlib library in a product, we would appreciate *not* receiving | ||
29 | lengthy legal documents to sign. The sources are provided for free but without | ||
30 | warranty of any kind. The library has been entirely written by Jean-loup | ||
31 | Gailly and Mark Adler; it does not include third-party code. | ||
diff --git a/vendor/SDL2_ttf/lib/x64/SDL2_ttf.dll b/vendor/SDL2_ttf/lib/x64/SDL2_ttf.dll new file mode 100644 index 0000000..2acc0e5 --- /dev/null +++ b/vendor/SDL2_ttf/lib/x64/SDL2_ttf.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_ttf/lib/x64/SDL2_ttf.lib b/vendor/SDL2_ttf/lib/x64/SDL2_ttf.lib new file mode 100644 index 0000000..bd53219 --- /dev/null +++ b/vendor/SDL2_ttf/lib/x64/SDL2_ttf.lib | |||
Binary files differ | |||
diff --git a/vendor/SDL2_ttf/lib/x86/LICENSE.freetype.txt b/vendor/SDL2_ttf/lib/x86/LICENSE.freetype.txt new file mode 100644 index 0000000..674b4ff --- /dev/null +++ b/vendor/SDL2_ttf/lib/x86/LICENSE.freetype.txt | |||
@@ -0,0 +1,173 @@ | |||
1 | The source code to this library used with SDL_ttf can be found here: | ||
2 | https://github.com/libsdl-org/SDL_ttf/tree/main/external | ||
3 | --- | ||
4 | |||
5 | The FreeType Project LICENSE | ||
6 | ---------------------------- | ||
7 | |||
8 | 2006-Jan-27 | ||
9 | |||
10 | Copyright 1996-2002, 2006 by | ||
11 | David Turner, Robert Wilhelm, and Werner Lemberg | ||
12 | |||
13 | |||
14 | |||
15 | Introduction | ||
16 | ============ | ||
17 | |||
18 | The FreeType Project is distributed in several archive packages; | ||
19 | some of them may contain, in addition to the FreeType font engine, | ||
20 | various tools and contributions which rely on, or relate to, the | ||
21 | FreeType Project. | ||
22 | |||
23 | This license applies to all files found in such packages, and | ||
24 | which do not fall under their own explicit license. The license | ||
25 | affects thus the FreeType font engine, the test programs, | ||
26 | documentation and makefiles, at the very least. | ||
27 | |||
28 | This license was inspired by the BSD, Artistic, and IJG | ||
29 | (Independent JPEG Group) licenses, which all encourage inclusion | ||
30 | and use of free software in commercial and freeware products | ||
31 | alike. As a consequence, its main points are that: | ||
32 | |||
33 | o We don't promise that this software works. However, we will be | ||
34 | interested in any kind of bug reports. (`as is' distribution) | ||
35 | |||
36 | o You can use this software for whatever you want, in parts or | ||
37 | full form, without having to pay us. (`royalty-free' usage) | ||
38 | |||
39 | o You may not pretend that you wrote this software. If you use | ||
40 | it, or only parts of it, in a program, you must acknowledge | ||
41 | somewhere in your documentation that you have used the | ||
42 | FreeType code. (`credits') | ||
43 | |||
44 | We specifically permit and encourage the inclusion of this | ||
45 | software, with or without modifications, in commercial products. | ||
46 | We disclaim all warranties covering The FreeType Project and | ||
47 | assume no liability related to The FreeType Project. | ||
48 | |||
49 | |||
50 | Finally, many people asked us for a preferred form for a | ||
51 | credit/disclaimer to use in compliance with this license. We thus | ||
52 | encourage you to use the following text: | ||
53 | |||
54 | """ | ||
55 | Portions of this software are copyright © <year> The FreeType | ||
56 | Project (www.freetype.org). All rights reserved. | ||
57 | """ | ||
58 | |||
59 | Please replace <year> with the value from the FreeType version you | ||
60 | actually use. | ||
61 | |||
62 | |||
63 | Legal Terms | ||
64 | =========== | ||
65 | |||
66 | 0. Definitions | ||
67 | -------------- | ||
68 | |||
69 | Throughout this license, the terms `package', `FreeType Project', | ||
70 | and `FreeType archive' refer to the set of files originally | ||
71 | distributed by the authors (David Turner, Robert Wilhelm, and | ||
72 | Werner Lemberg) as the `FreeType Project', be they named as alpha, | ||
73 | beta or final release. | ||
74 | |||
75 | `You' refers to the licensee, or person using the project, where | ||
76 | `using' is a generic term including compiling the project's source | ||
77 | code as well as linking it to form a `program' or `executable'. | ||
78 | This program is referred to as `a program using the FreeType | ||
79 | engine'. | ||
80 | |||
81 | This license applies to all files distributed in the original | ||
82 | FreeType Project, including all source code, binaries and | ||
83 | documentation, unless otherwise stated in the file in its | ||
84 | original, unmodified form as distributed in the original archive. | ||
85 | If you are unsure whether or not a particular file is covered by | ||
86 | this license, you must contact us to verify this. | ||
87 | |||
88 | The FreeType Project is copyright (C) 1996-2000 by David Turner, | ||
89 | Robert Wilhelm, and Werner Lemberg. All rights reserved except as | ||
90 | specified below. | ||
91 | |||
92 | 1. No Warranty | ||
93 | -------------- | ||
94 | |||
95 | THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY | ||
96 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | ||
97 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
98 | PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS | ||
99 | BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO | ||
100 | USE, OF THE FREETYPE PROJECT. | ||
101 | |||
102 | 2. Redistribution | ||
103 | ----------------- | ||
104 | |||
105 | This license grants a worldwide, royalty-free, perpetual and | ||
106 | irrevocable right and license to use, execute, perform, compile, | ||
107 | display, copy, create derivative works of, distribute and | ||
108 | sublicense the FreeType Project (in both source and object code | ||
109 | forms) and derivative works thereof for any purpose; and to | ||
110 | authorize others to exercise some or all of the rights granted | ||
111 | herein, subject to the following conditions: | ||
112 | |||
113 | o Redistribution of source code must retain this license file | ||
114 | (`FTL.TXT') unaltered; any additions, deletions or changes to | ||
115 | the original files must be clearly indicated in accompanying | ||
116 | documentation. The copyright notices of the unaltered, | ||
117 | original files must be preserved in all copies of source | ||
118 | files. | ||
119 | |||
120 | o Redistribution in binary form must provide a disclaimer that | ||
121 | states that the software is based in part of the work of the | ||
122 | FreeType Team, in the distribution documentation. We also | ||
123 | encourage you to put an URL to the FreeType web page in your | ||
124 | documentation, though this isn't mandatory. | ||
125 | |||
126 | These conditions apply to any software derived from or based on | ||
127 | the FreeType Project, not just the unmodified files. If you use | ||
128 | our work, you must acknowledge us. However, no fee need be paid | ||
129 | to us. | ||
130 | |||
131 | 3. Advertising | ||
132 | -------------- | ||
133 | |||
134 | Neither the FreeType authors and contributors nor you shall use | ||
135 | the name of the other for commercial, advertising, or promotional | ||
136 | purposes without specific prior written permission. | ||
137 | |||
138 | We suggest, but do not require, that you use one or more of the | ||
139 | following phrases to refer to this software in your documentation | ||
140 | or advertising materials: `FreeType Project', `FreeType Engine', | ||
141 | `FreeType library', or `FreeType Distribution'. | ||
142 | |||
143 | As you have not signed this license, you are not required to | ||
144 | accept it. However, as the FreeType Project is copyrighted | ||
145 | material, only this license, or another one contracted with the | ||
146 | authors, grants you the right to use, distribute, and modify it. | ||
147 | Therefore, by using, distributing, or modifying the FreeType | ||
148 | Project, you indicate that you understand and accept all the terms | ||
149 | of this license. | ||
150 | |||
151 | 4. Contacts | ||
152 | ----------- | ||
153 | |||
154 | There are two mailing lists related to FreeType: | ||
155 | |||
156 | o freetype@nongnu.org | ||
157 | |||
158 | Discusses general use and applications of FreeType, as well as | ||
159 | future and wanted additions to the library and distribution. | ||
160 | If you are looking for support, start in this list if you | ||
161 | haven't found anything to help you in the documentation. | ||
162 | |||
163 | o freetype-devel@nongnu.org | ||
164 | |||
165 | Discusses bugs, as well as engine internals, design issues, | ||
166 | specific licenses, porting, etc. | ||
167 | |||
168 | Our home page can be found at | ||
169 | |||
170 | https://www.freetype.org | ||
171 | |||
172 | |||
173 | --- end of FTL.TXT --- | ||
diff --git a/vendor/SDL2_ttf/lib/x86/LICENSE.harfbuzz.txt b/vendor/SDL2_ttf/lib/x86/LICENSE.harfbuzz.txt new file mode 100644 index 0000000..5734316 --- /dev/null +++ b/vendor/SDL2_ttf/lib/x86/LICENSE.harfbuzz.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. | ||
2 | For parts of HarfBuzz that are licensed under different licenses see individual | ||
3 | files names COPYING in subdirectories where applicable. | ||
4 | |||
5 | Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020 Google, Inc. | ||
6 | Copyright © 2018,2019,2020 Ebrahim Byagowi | ||
7 | Copyright © 2019,2020 Facebook, Inc. | ||
8 | Copyright © 2012 Mozilla Foundation | ||
9 | Copyright © 2011 Codethink Limited | ||
10 | Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies) | ||
11 | Copyright © 2009 Keith Stribley | ||
12 | Copyright © 2009 Martin Hosken and SIL International | ||
13 | Copyright © 2007 Chris Wilson | ||
14 | Copyright © 2006 Behdad Esfahbod | ||
15 | Copyright © 2005 David Turner | ||
16 | Copyright © 2004,2007,2008,2009,2010 Red Hat, Inc. | ||
17 | Copyright © 1998-2004 David Turner and Werner Lemberg | ||
18 | |||
19 | For full copyright notices consult the individual files in the package. | ||
20 | |||
21 | |||
22 | Permission is hereby granted, without written agreement and without | ||
23 | license or royalty fees, to use, copy, modify, and distribute this | ||
24 | software and its documentation for any purpose, provided that the | ||
25 | above copyright notice and the following two paragraphs appear in | ||
26 | all copies of this software. | ||
27 | |||
28 | IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR | ||
29 | DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES | ||
30 | ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN | ||
31 | IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||
32 | DAMAGE. | ||
33 | |||
34 | THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | ||
35 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
36 | FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS | ||
37 | ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO | ||
38 | PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | ||
diff --git a/vendor/SDL2_ttf/lib/x86/LICENSE.zlib.txt b/vendor/SDL2_ttf/lib/x86/LICENSE.zlib.txt new file mode 100644 index 0000000..be04508 --- /dev/null +++ b/vendor/SDL2_ttf/lib/x86/LICENSE.zlib.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | The source code to this library used with SDL_ttf can be found here: | ||
2 | https://github.com/libsdl-org/SDL_ttf/tree/main/external | ||
3 | --- | ||
4 | |||
5 | Copyright notice: | ||
6 | |||
7 | (C) 1995-2010 Jean-loup Gailly and Mark Adler | ||
8 | |||
9 | This software is provided 'as-is', without any express or implied | ||
10 | warranty. In no event will the authors be held liable for any damages | ||
11 | arising from the use of this software. | ||
12 | |||
13 | Permission is granted to anyone to use this software for any purpose, | ||
14 | including commercial applications, and to alter it and redistribute it | ||
15 | freely, subject to the following restrictions: | ||
16 | |||
17 | 1. The origin of this software must not be misrepresented; you must not | ||
18 | claim that you wrote the original software. If you use this software | ||
19 | in a product, an acknowledgment in the product documentation would be | ||
20 | appreciated but is not required. | ||
21 | 2. Altered source versions must be plainly marked as such, and must not be | ||
22 | misrepresented as being the original software. | ||
23 | 3. This notice may not be removed or altered from any source distribution. | ||
24 | |||
25 | Jean-loup Gailly Mark Adler | ||
26 | jloup@gzip.org madler@alumni.caltech.edu | ||
27 | |||
28 | If you use the zlib library in a product, we would appreciate *not* receiving | ||
29 | lengthy legal documents to sign. The sources are provided for free but without | ||
30 | warranty of any kind. The library has been entirely written by Jean-loup | ||
31 | Gailly and Mark Adler; it does not include third-party code. | ||
diff --git a/vendor/SDL2_ttf/lib/x86/SDL2_ttf.dll b/vendor/SDL2_ttf/lib/x86/SDL2_ttf.dll new file mode 100644 index 0000000..56afccb --- /dev/null +++ b/vendor/SDL2_ttf/lib/x86/SDL2_ttf.dll | |||
Binary files differ | |||
diff --git a/vendor/SDL2_ttf/lib/x86/SDL2_ttf.lib b/vendor/SDL2_ttf/lib/x86/SDL2_ttf.lib new file mode 100644 index 0000000..a328f6a --- /dev/null +++ b/vendor/SDL2_ttf/lib/x86/SDL2_ttf.lib | |||
Binary files differ | |||