Skip to content

Commit 05c9403

Browse files
committed
1 parent 9fab832 commit 05c9403

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4091
-2620
lines changed

vendor/freetype/README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FreeType 2.13.2
1+
FreeType 2.13.3
22
===============
33

44
Homepage: https://www.freetype.org
@@ -32,9 +32,9 @@ sites. Go to
3232

3333
and download one of the following files.
3434

35-
freetype-doc-2.13.2.tar.xz
36-
freetype-doc-2.13.2.tar.gz
37-
ftdoc2132.zip
35+
freetype-doc-2.13.3.tar.xz
36+
freetype-doc-2.13.3.tar.gz
37+
ftdoc2133.zip
3838

3939
To view the documentation online, go to
4040

vendor/freetype/builds/windows/ftdebug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* with the actual log message if set to true.
6565
*
6666
* 5. The flag `ft_timestamp_flag` prints time along with the actual log
67-
* message if set to ture.
67+
* message if set to true.
6868
*
6969
* 6. `ft_have_newline_char` is used to differentiate between a log
7070
* message with and without a trailing newline character.

vendor/freetype/builds/windows/ftsystem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296

297297
/* support for really old Windows */
298298
#if defined( _WIN32_WCE ) || defined ( _WIN32_WINDOWS ) || \
299-
!defined( _WIN32_WINNT ) || _WIN32_WINNT <= 0x0400
299+
( defined( _WIN32_WINNT ) && _WIN32_WINNT <= 0x0400 )
300300

301301
FT_LOCAL_DEF( BOOL )
302302
GetFileSizeEx( HANDLE hFile,
Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
/* This is a generated file. */
1+
/*
2+
* This file registers the FreeType modules compiled into the library.
3+
*
4+
* If you use GNU make, this file IS NOT USED! Instead, it is created in
5+
* the objects directory (normally `<topdir>/objs/`) based on information
6+
* from `<topdir>/modules.cfg`.
7+
*
8+
* Please read `docs/INSTALL.ANY` and `docs/CUSTOMIZE` how to compile
9+
* FreeType without GNU make.
10+
*
11+
*/
12+
13+
FT_USE_MODULE( FT_Module_Class, autofit_module_class )
214
FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class )
315
FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )
416
FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class )
@@ -8,14 +20,14 @@ FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
820
FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
921
FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
1022
FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
11-
FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
12-
FT_USE_MODULE( FT_Module_Class, autofit_module_class )
23+
FT_USE_MODULE( FT_Module_Class, psaux_module_class )
24+
FT_USE_MODULE( FT_Module_Class, psnames_module_class )
1325
FT_USE_MODULE( FT_Module_Class, pshinter_module_class )
26+
FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
1427
FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
1528
FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
16-
FT_USE_MODULE( FT_Renderer_Class, ft_svg_renderer_class )
1729
FT_USE_MODULE( FT_Renderer_Class, ft_sdf_renderer_class )
1830
FT_USE_MODULE( FT_Renderer_Class, ft_bitmap_sdf_renderer_class )
19-
FT_USE_MODULE( FT_Module_Class, psaux_module_class )
20-
FT_USE_MODULE( FT_Module_Class, psnames_module_class )
31+
FT_USE_MODULE( FT_Renderer_Class, ft_svg_renderer_class )
32+
2133
/* EOF */

vendor/freetype/include/freetype/config/ftoption.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ FT_BEGIN_HEADER
273273
* options set by those programs have precedence, overwriting the value
274274
* here with the configured one.
275275
*/
276-
/* #define FT_CONFIG_OPTION_USE_PNG
276+
/* #define FT_CONFIG_OPTION_USE_PNG */
277277

278278

279279
/**************************************************************************

vendor/freetype/include/freetype/freetype.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5174,7 +5174,7 @@ FT_BEGIN_HEADER
51745174
*/
51755175
#define FREETYPE_MAJOR 2
51765176
#define FREETYPE_MINOR 13
5177-
#define FREETYPE_PATCH 2
5177+
#define FREETYPE_PATCH 3
51785178

51795179

51805180
/**************************************************************************

vendor/freetype/include/freetype/ftcolor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ FT_BEGIN_HEADER
15181518
*
15191519
* @return:
15201520
* Value~1 if a clip box is found. If no clip box is found or an error
1521-
* occured, value~0 is returned.
1521+
* occurred, value~0 is returned.
15221522
*
15231523
* @note:
15241524
* To retrieve the clip box in font units, reset scale to units-per-em
@@ -1646,7 +1646,7 @@ FT_BEGIN_HEADER
16461646
*
16471647
* @return:
16481648
* Value~1 if everything is OK. Value~0 if no details can be found for
1649-
* this paint or any other error occured.
1649+
* this paint or any other error occurred.
16501650
*
16511651
* @since:
16521652
* 2.13

vendor/freetype/include/freetype/ftdriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ FT_BEGIN_HEADER
847847
* FT_Property_Set( library, "sdf", "spread", &spread );
848848
* ```
849849
*
850-
* @note
850+
* @note:
851851
* FreeType has two rasterizers for generating SDF, namely:
852852
*
853853
* 1. `sdf` for generating SDF directly from glyph's outline, and

vendor/freetype/include/freetype/ftimage.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
* Note: A 'raster' is simply a scan-line converter, used to render
2222
* `FT_Outline`s into `FT_Bitmap`s.
2323
*
24-
* Note: This file can be used for STANDALONE_ compilation of raster (B/W)
25-
* and smooth (anti-aliased) renderers. Therefore, it must rely on
26-
* standard variable types only rather than aliases in fttypes.h.
24+
* Note: This file can be used for `STANDALONE_` compilation of raster
25+
* (B/W) and smooth (anti-aliased) renderers. Therefore, it must
26+
* rely on standard variable types only instead of aliases in
27+
* `fttypes.h`.
2728
*
2829
*/
2930

@@ -266,6 +267,10 @@ FT_BEGIN_HEADER
266267
* *logical* one. For example, if @FT_Pixel_Mode is set to
267268
* `FT_PIXEL_MODE_LCD`, the logical width is a just a third of the
268269
* physical one.
270+
*
271+
* An empty bitmap with a NULL `buffer` is valid, with `rows` and/or
272+
* `pitch` also set to 0. Such bitmaps might be produced while rendering
273+
* empty or degenerate outlines.
269274
*/
270275
typedef struct FT_Bitmap_
271276
{

vendor/freetype/include/freetype/internal/ftcalc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ FT_BEGIN_HEADER
415415

416416
#define FT_MSB( x ) ( 31 - _CountLeadingZeros( x ) )
417417

418-
#elif defined( _M_ARM64 ) || defined( _M_ARM )
418+
#elif defined( _M_ARM64 ) || defined( _M_ARM ) || defined( _M_ARM64EC )
419419

420420
#include <intrin.h>
421421
#pragma intrinsic( _CountLeadingZeros )
@@ -511,8 +511,8 @@ FT_BEGIN_HEADER
511511
* The result of 'sqrt(x)'.
512512
*
513513
* @note:
514-
* This function is slow and should be avoided. Consider `FT_Hypot` or
515-
* `FT_Vector_NormLen' instead.
514+
* This function is slow and should be avoided. Consider @FT_Hypot or
515+
* @FT_Vector_NormLen instead.
516516
*/
517517
FT_BASE( FT_UInt32 )
518518
FT_SqrtFixed( FT_UInt32 x );

0 commit comments

Comments
 (0)