#line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\ft2build.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 38 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 56 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 112 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 127 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 142 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 158 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/internal.h" #pragma warning( disable : 4127 ) #line 62 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/internal.h" #line 827 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 828 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 831 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftheader.h" #line 38 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\ft2build.h" #line 40 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\ft2build.h" #line 21 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/freetype.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftoption.h" #line 363 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftoption.h" #line 661 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftoption.h" #line 815 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftoption.h" #line 844 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftoption.h" #line 849 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftoption.h" #line 43 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stddef.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #pragma once #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 24 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 34 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 39 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 40 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 41 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #pragma once #line 151 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 155 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 194 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 197 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 199 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 205 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 209 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 216 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 228 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 237 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 238 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #pragma region Input Buffer SAL 1 compatibility macros #pragma endregion Input Buffer SAL 1 compatibility macros #line 1564 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1595 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1620 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1633 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1672 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1795 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1898 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2067 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2169 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2386 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2387 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2615 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2654 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2888 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2898 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2903 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2910 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2911 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2918 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2919 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2931 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 2965 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\ConcurrencySal.h" #pragma once #line 265 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\ConcurrencySal.h" #line 269 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\ConcurrencySal.h" #line 352 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\ConcurrencySal.h" #line 358 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\ConcurrencySal.h" #line 2991 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\sal.h" #line 46 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #pragma once #pragma pack(push, 8) #line 24 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" typedef unsigned __int64 uintptr_t; #line 32 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 33 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" typedef char* va_list; #line 41 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 42 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 48 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 54 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 58 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 61 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 73 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 81 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 93 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 105 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" void __cdecl __va_start(va_list* , ...); #line 116 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 152 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #line 156 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vadefs.h" #pragma pack(pop) #line 47 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 62 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 72 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 80 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" __pragma(pack(push, 8)) #line 88 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 109 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 111 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 113 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 117 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 118 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 127 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 129 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 130 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 138 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 140 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 146 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 149 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 155 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 167 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 171 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 173 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 179 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 187 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 188 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" typedef unsigned __int64 size_t; typedef __int64 ptrdiff_t; typedef __int64 intptr_t; #line 202 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 207 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 211 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 215 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" typedef unsigned short wchar_t; #line 221 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 228 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 229 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 235 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 247 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 254 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 265 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 266 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 270 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 278 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 279 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" void __cdecl __security_init_cookie(void); void __cdecl __security_check_cookie( uintptr_t _StackCookie); __declspec(noreturn) void __cdecl __report_gsfailure( uintptr_t _StackCookie); #line 297 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 298 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" extern uintptr_t __security_cookie; #line 306 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" __pragma(pack(pop)) #line 310 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 11 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" __pragma(pack(push, 8)) #line 25 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 29 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 30 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 36 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 41 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 45 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 46 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 50 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 52 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 58 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 64 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 66 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 73 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 91 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 92 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 96 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 98 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 102 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 104 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 108 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 110 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" typedef _Bool __crt_bool; #line 137 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 149 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 161 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 165 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 188 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 189 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 193 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 200 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 201 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" __declspec(dllimport) void __cdecl _invalid_parameter( wchar_t const*, wchar_t const*, wchar_t const*, unsigned int, uintptr_t ); #line 225 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" __declspec(dllimport) void __cdecl _invalid_parameter_noinfo(void); __declspec(dllimport) __declspec(noreturn) void __cdecl _invalid_parameter_noinfo_noreturn(void); __declspec(noreturn) __declspec(dllimport) void __cdecl _invoke_watson( wchar_t const*, wchar_t const*, wchar_t const*, unsigned int, uintptr_t); #line 256 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 257 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 268 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 277 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 278 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 296 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 297 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 304 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 305 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 309 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 323 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 345 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 349 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 354 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 355 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 365 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 366 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 367 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 371 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 377 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 387 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 388 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 397 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 407 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 414 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 419 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 427 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 435 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 436 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 440 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" typedef int errno_t; typedef unsigned short wint_t; typedef unsigned short wctype_t; typedef long __time32_t; typedef __int64 __time64_t; typedef struct __crt_locale_data_public { unsigned short const* _locale_pctype; int _locale_mb_cur_max; unsigned int _locale_lc_codepage; } __crt_locale_data_public; typedef struct __crt_locale_pointers { struct __crt_locale_data* locinfo; struct __crt_multibyte_data* mbcinfo; } __crt_locale_pointers; typedef __crt_locale_pointers* _locale_t; typedef struct _Mbstatet { unsigned long _Wchar; unsigned short _Byte, _State; } _Mbstatet; typedef _Mbstatet mbstate_t; #line 480 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 484 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" typedef __time64_t time_t; #line 491 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 492 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 497 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" typedef size_t rsize_t; #line 501 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 662 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 677 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 678 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 1753 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 1897 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" #line 1898 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt.h" __pragma(pack(pop)) #line 12 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stddef.h" __pragma(pack(push, 8)) __declspec(dllimport) int* __cdecl _errno(void); __declspec(dllimport) errno_t __cdecl _set_errno( int _Value); __declspec(dllimport) errno_t __cdecl _get_errno( int* _Value); #line 42 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stddef.h" #line 45 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stddef.h" __declspec(dllimport) extern unsigned long __cdecl __threadid(void); __declspec(dllimport) extern uintptr_t __cdecl __threadhandle(void); __pragma(pack(pop)) #line 36 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" #pragma once #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 12 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" __pragma(pack(push, 8)) #line 29 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" #line 71 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" #line 78 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" #line 79 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" #line 84 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" #line 85 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\limits.h" __pragma(pack(pop)) #line 60 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memcpy_s.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\errno.h" #pragma once __pragma(pack(push, 8)) __declspec(dllimport) extern int* __cdecl _errno(void); __declspec(dllimport) errno_t __cdecl _set_errno( int _Value); __declspec(dllimport) errno_t __cdecl _get_errno( int* _Value); __declspec(dllimport) unsigned long* __cdecl __doserrno(void); __declspec(dllimport) errno_t __cdecl _set_doserrno( unsigned long _Value); __declspec(dllimport) errno_t __cdecl _get_doserrno( unsigned long * _Value); #line 78 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\errno.h" #line 126 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\errno.h" __pragma(pack(pop)) #line 12 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memcpy_s.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime_string.h" #pragma once #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 11 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime_string.h" __pragma(pack(push, 8)) __declspec(dllimport) void * __cdecl memchr( void const* _Buf, int _Val, size_t _MaxCount ); int __cdecl memcmp( void const* _Buf1, void const* _Buf2, size_t _Size ); #line 40 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime_string.h" void* __cdecl memcpy( void* _Dst, void const* _Src, size_t _Size ); __declspec(dllimport) void* __cdecl memmove( void* _Dst, void const* _Src, size_t _Size ); #line 60 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime_string.h" void* __cdecl memset( void* _Dst, int _Val, size_t _Size ); __declspec(dllimport) char * __cdecl strchr( char const* _Str, int _Val ); __declspec(dllimport) char * __cdecl strrchr( char const* _Str, int _Ch ); __declspec(dllimport) char * __cdecl strstr( char const* _Str, char const* _SubStr ); __declspec(dllimport) wchar_t * __cdecl wcschr( wchar_t const* _Str, wchar_t _Ch ); __declspec(dllimport) wchar_t * __cdecl wcsrchr( wchar_t const* _Str, wchar_t _Ch ); __declspec(dllimport) wchar_t * __cdecl wcsstr( wchar_t const* _Str, wchar_t const* _SubStr ); __pragma(pack(pop)) #line 109 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime_string.h" #line 13 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memcpy_s.h" __pragma(pack(push, 8)) #line 19 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memcpy_s.h" static __inline errno_t __cdecl memcpy_s( void* const _Destination, rsize_t const _DestinationSize, void const* const _Source, rsize_t const _SourceSize ) { if (_SourceSize == 0) { return 0; } { int _Expr_val=!!(_Destination != ((void *)0)); if (!(_Expr_val)) { (*_errno()) = 22; _invalid_parameter_noinfo(); return 22; } }; if (_Source == ((void *)0) || _DestinationSize < _SourceSize) { memset(_Destination, 0, _DestinationSize); { int _Expr_val=!!(_Source != ((void *)0)); if (!(_Expr_val)) { (*_errno()) = 22; _invalid_parameter_noinfo(); return 22; } }; { int _Expr_val=!!(_DestinationSize >= _SourceSize); if (!(_Expr_val)) { (*_errno()) = 34; _invalid_parameter_noinfo(); return 34; } }; return 22; } memcpy(_Destination, _Source, _SourceSize); return 0; } static __inline errno_t __cdecl memmove_s( void* const _Destination, rsize_t const _DestinationSize, void const* const _Source, rsize_t const _SourceSize ) { if (_SourceSize == 0) { return 0; } { int _Expr_val=!!(_Destination != ((void *)0)); if (!(_Expr_val)) { (*_errno()) = 22; _invalid_parameter_noinfo(); return 22; } }; { int _Expr_val=!!(_Source != ((void *)0)); if (!(_Expr_val)) { (*_errno()) = 22; _invalid_parameter_noinfo(); return 22; } }; { int _Expr_val=!!(_DestinationSize >= _SourceSize); if (!(_Expr_val)) { (*_errno()) = 34; _invalid_parameter_noinfo(); return 34; } }; memmove(_Destination, _Source, _SourceSize); return 0; } #line 85 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memcpy_s.h" __pragma(pack(pop)) #line 15 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" __pragma(pack(push, 8)) __declspec(dllimport) int __cdecl _memicmp( void const* _Buf1, void const* _Buf2, size_t _Size ); __declspec(dllimport) int __cdecl _memicmp_l( void const* _Buf1, void const* _Buf2, size_t _Size, _locale_t _Locale ); #line 56 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" #line 71 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" #line 73 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memccpy" ". See online help for details.")) __declspec(dllimport) void* __cdecl memccpy( void* _Dst, void const* _Src, int _Val, size_t _Size ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memicmp" ". See online help for details.")) __declspec(dllimport) int __cdecl memicmp( void const* _Buf1, void const* _Buf2, size_t _Size ); #line 92 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" #line 107 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" __pragma(pack(pop)) #line 113 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_memory.h" #line 13 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #pragma once __pragma(pack(push, 8)) __declspec(dllimport) errno_t __cdecl wcscat_s( wchar_t* _Destination, rsize_t _SizeInWords, wchar_t const* _Source ); __declspec(dllimport) errno_t __cdecl wcscpy_s( wchar_t* _Destination, rsize_t _SizeInWords, wchar_t const* _Source ); __declspec(dllimport) errno_t __cdecl wcsncat_s( wchar_t* _Destination, rsize_t _SizeInWords, wchar_t const* _Source, rsize_t _MaxCount ); __declspec(dllimport) errno_t __cdecl wcsncpy_s( wchar_t* _Destination, rsize_t _SizeInWords, wchar_t const* _Source, rsize_t _MaxCount ); __declspec(dllimport) wchar_t* __cdecl wcstok_s( wchar_t* _String, wchar_t const* _Delimiter, wchar_t** _Context ); #line 65 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 77 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) __declspec(allocator) wchar_t* __cdecl _wcsdup( wchar_t const* _String ); #line 86 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 94 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcscat( wchar_t *_Destination, wchar_t const* _Source); #line 102 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 104 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) int __cdecl wcscmp( wchar_t const* _String1, wchar_t const* _String2 ); #line 116 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcscpy( wchar_t *_Destination, wchar_t const* _Source); #line 122 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) size_t __cdecl wcscspn( wchar_t const* _String, wchar_t const* _Control ); __declspec(dllimport) size_t __cdecl wcslen( wchar_t const* _String ); #line 139 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 143 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) size_t __cdecl wcsnlen( wchar_t const* _Source, size_t _MaxCount ); #line 155 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 159 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" static __inline size_t __cdecl wcsnlen_s( wchar_t const* _Source, size_t _MaxCount ) { return (_Source == 0) ? 0 : wcsnlen(_Source, _MaxCount); } #line 168 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 175 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsncat( wchar_t *_Destination, wchar_t const* _Source, size_t _Count); #line 183 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) int __cdecl wcsncmp( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount ); #line 197 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsncpy( wchar_t *_Destination, wchar_t const* _Source, size_t _Count); #line 205 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) wchar_t * __cdecl wcspbrk( wchar_t const* _String, wchar_t const* _Control ); __declspec(dllimport) size_t __cdecl wcsspn( wchar_t const* _String, wchar_t const* _Control ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcstok( wchar_t* _String, wchar_t const* _Delimiter, wchar_t** _Context ); #line 230 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 235 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #pragma warning(push) #pragma warning(disable: 4141 4996) __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) static __inline wchar_t* __cdecl _wcstok( wchar_t* const _String, wchar_t const* const _Delimiter ) { return wcstok(_String, _Delimiter, 0); } #line 251 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 262 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #pragma warning(pop) #line 266 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcserror( int _ErrorNumber ); __declspec(dllimport) errno_t __cdecl _wcserror_s( wchar_t* _Buffer, size_t _SizeInWords, int _ErrorNumber ); #line 287 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "__wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl __wcserror( wchar_t const* _String ); __declspec(dllimport) errno_t __cdecl __wcserror_s( wchar_t* _Buffer, size_t _SizeInWords, wchar_t const* _ErrorMessage ); #line 306 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) int __cdecl _wcsicmp( wchar_t const* _String1, wchar_t const* _String2 ); __declspec(dllimport) int __cdecl _wcsicmp_l( wchar_t const* _String1, wchar_t const* _String2, _locale_t _Locale ); __declspec(dllimport) int __cdecl _wcsnicmp( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _wcsnicmp_l( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) errno_t __cdecl _wcsnset_s( wchar_t* _Destination, size_t _SizeInWords, wchar_t _Value, size_t _MaxCount ); #line 344 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcsnset( wchar_t *_String, wchar_t _Value, size_t _MaxCount); #line 352 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) wchar_t* __cdecl _wcsrev( wchar_t* _String ); __declspec(dllimport) errno_t __cdecl _wcsset_s( wchar_t* _Destination, size_t _SizeInWords, wchar_t _Value ); #line 368 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcsset( wchar_t *_String, wchar_t _Value); #line 375 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) errno_t __cdecl _wcslwr_s( wchar_t* _String, size_t _SizeInWords ); #line 385 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcslwr( wchar_t *_String); #line 390 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) errno_t __cdecl _wcslwr_s_l( wchar_t* _String, size_t _SizeInWords, _locale_t _Locale ); #line 403 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcslwr_l( wchar_t *_String, _locale_t _Locale); #line 410 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) errno_t __cdecl _wcsupr_s( wchar_t* _String, size_t _Size ); #line 421 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcsupr( wchar_t *_String); #line 426 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) errno_t __cdecl _wcsupr_s_l( wchar_t* _String, size_t _Size, _locale_t _Locale ); #line 439 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wcsupr_l( wchar_t *_String, _locale_t _Locale); #line 446 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(dllimport) size_t __cdecl wcsxfrm( wchar_t* _Destination, wchar_t const* _Source, size_t _MaxCount ); __declspec(dllimport) size_t __cdecl _wcsxfrm_l( wchar_t* _Destination, wchar_t const* _Source, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) int __cdecl wcscoll( wchar_t const* _String1, wchar_t const* _String2 ); __declspec(dllimport) int __cdecl _wcscoll_l( wchar_t const* _String1, wchar_t const* _String2, _locale_t _Locale ); __declspec(dllimport) int __cdecl _wcsicoll( wchar_t const* _String1, wchar_t const* _String2 ); __declspec(dllimport) int __cdecl _wcsicoll_l( wchar_t const* _String1, wchar_t const* _String2, _locale_t _Locale ); __declspec(dllimport) int __cdecl _wcsncoll( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _wcsncoll_l( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) int __cdecl _wcsnicoll( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _wcsnicoll_l( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount, _locale_t _Locale ); #line 571 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsdup" ". See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsdup( wchar_t const* _String ); #line 580 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicmp" ". See online help for details.")) __declspec(dllimport) int __cdecl wcsicmp( wchar_t const* _String1, wchar_t const* _String2 ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnicmp" ". See online help for details.")) __declspec(dllimport) int __cdecl wcsnicmp( wchar_t const* _String1, wchar_t const* _String2, size_t _MaxCount ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnset" ". See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsnset( wchar_t* _String, wchar_t _Value, size_t _MaxCount ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsrev" ". See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsrev( wchar_t* _String ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsset" ". See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsset( wchar_t* _String, wchar_t _Value ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcslwr" ". See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcslwr( wchar_t* _String ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsupr" ". See online help for details.")) __declspec(dllimport) wchar_t* __cdecl wcsupr( wchar_t* _String ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicoll" ". See online help for details.")) __declspec(dllimport) int __cdecl wcsicoll( wchar_t const* _String1, wchar_t const* _String2 ); #line 637 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" __pragma(pack(pop)) #line 643 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstring.h" #line 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __pragma(pack(push, 8)) __declspec(dllimport) errno_t __cdecl strcpy_s( char* _Destination, rsize_t _SizeInBytes, char const* _Source ); __declspec(dllimport) errno_t __cdecl strcat_s( char* _Destination, rsize_t _SizeInBytes, char const* _Source ); __declspec(dllimport) errno_t __cdecl strerror_s( char* _Buffer, size_t _SizeInBytes, int _ErrorNumber); __declspec(dllimport) errno_t __cdecl strncat_s( char* _Destination, rsize_t _SizeInBytes, char const* _Source, rsize_t _MaxCount ); __declspec(dllimport) errno_t __cdecl strncpy_s( char* _Destination, rsize_t _SizeInBytes, char const* _Source, rsize_t _MaxCount ); __declspec(dllimport) char* __cdecl strtok_s( char* _String, char const* _Delimiter, char** _Context ); #line 70 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) void* __cdecl _memccpy( void* _Dst, void const* _Src, int _Val, size_t _MaxCount ); #line 83 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "strcat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char* __cdecl strcat( char *_Destination, char const* _Source); #line 91 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #line 93 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" int __cdecl strcmp( char const* _Str1, char const* _Str2 ); __declspec(dllimport) int __cdecl _strcmpi( char const* _String1, char const* _String2 ); __declspec(dllimport) int __cdecl strcoll( char const* _String1, char const* _String2 ); __declspec(dllimport) int __cdecl _strcoll_l( char const* _String1, char const* _String2, _locale_t _Locale ); char* __cdecl strcpy( char* _Dest, char const* _Source ); #line 129 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "strcpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char* __cdecl strcpy( char *_Destination, char const* _Source); #line 135 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) size_t __cdecl strcspn( char const* _Str, char const* _Control ); #line 146 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) __declspec(allocator) char* __cdecl _strdup( char const* _Source ); #line 155 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _strerror( char const* _ErrorMessage ); __declspec(dllimport) errno_t __cdecl _strerror_s( char* _Buffer, size_t _SizeInBytes, char const* _ErrorMessage ); #line 175 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl strerror( int _ErrorMessage ); #line 187 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) int __cdecl _stricmp( char const* _String1, char const* _String2 ); __declspec(dllimport) int __cdecl _stricoll( char const* _String1, char const* _String2 ); __declspec(dllimport) int __cdecl _stricoll_l( char const* _String1, char const* _String2, _locale_t _Locale ); __declspec(dllimport) int __cdecl _stricmp_l( char const* _String1, char const* _String2, _locale_t _Locale ); size_t __cdecl strlen( char const* _Str ); __declspec(dllimport) errno_t __cdecl _strlwr_s( char* _String, size_t _Size ); #line 229 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _strlwr( char *_String); #line 234 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) errno_t __cdecl _strlwr_s_l( char* _String, size_t _Size, _locale_t _Locale ); #line 247 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _strlwr_l( char *_String, _locale_t _Locale); #line 254 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) char* __cdecl strncat( char* _Dest, char const* _Source, size_t _Count ); #line 267 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "strncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl strncat( char *_Destination, char const* _Source, size_t _Count); #line 275 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) int __cdecl strncmp( char const* _Str1, char const* _Str2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _strnicmp( char const* _String1, char const* _String2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _strnicmp_l( char const* _String1, char const* _String2, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) int __cdecl _strnicoll( char const* _String1, char const* _String2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _strnicoll_l( char const* _String1, char const* _String2, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) int __cdecl _strncoll( char const* _String1, char const* _String2, size_t _MaxCount ); __declspec(dllimport) int __cdecl _strncoll_l( char const* _String1, char const* _String2, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) size_t __cdecl __strncnt( char const* _String, size_t _Count ); #line 339 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "strncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl strncpy( char *_Destination, char const* _Source, size_t _Count); #line 347 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #line 353 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #line 357 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) size_t __cdecl strnlen( char const* _String, size_t _MaxCount ); #line 369 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #line 373 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" static __inline size_t __cdecl strnlen_s( char const* _String, size_t _MaxCount ) { return _String == 0 ? 0 : strnlen(_String, _MaxCount); } #line 382 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) char* __cdecl _strnset( char* _Dest, int _Val, size_t _Count ); __declspec(dllimport) errno_t __cdecl _strnset_s( char* _String, size_t _SizeInBytes, int _Value, size_t _MaxCount ); #line 403 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _strnset( char *_Destination, int _Value, size_t _Count); #line 411 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) char * __cdecl strpbrk( char const* _Str, char const* _Control ); __declspec(dllimport) char* __cdecl _strrev( char* _Str ); __declspec(dllimport) errno_t __cdecl _strset_s( char* _Destination, size_t _DestinationSize, int _Value ); #line 434 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char* __cdecl _strset( char *_Destination, int _Value); #line 440 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" char* __cdecl _strset( char* _Dest, int _Value ); __declspec(dllimport) size_t __cdecl strspn( char const* _Str, char const* _Control ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "strtok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl strtok( char* _String, char const* _Delimiter ); __declspec(dllimport) errno_t __cdecl _strupr_s( char* _String, size_t _Size ); #line 468 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _strupr( char *_String); #line 473 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) errno_t __cdecl _strupr_s_l( char* _String, size_t _Size, _locale_t _Locale ); #line 486 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _strupr_l( char *_String, _locale_t _Locale); #line 493 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(dllimport) size_t __cdecl strxfrm( char* _Destination, char const* _Source, size_t _MaxCount ); __declspec(dllimport) size_t __cdecl _strxfrm_l( char* _Destination, char const* _Source, size_t _MaxCount, _locale_t _Locale ); #line 550 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strdup" ". See online help for details.")) __declspec(dllimport) char* __cdecl strdup( char const* _String ); #line 559 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strcmpi" ". See online help for details.")) __declspec(dllimport) int __cdecl strcmpi( char const* _String1, char const* _String2 ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_stricmp" ". See online help for details.")) __declspec(dllimport) int __cdecl stricmp( char const* _String1, char const* _String2 ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strlwr" ". See online help for details.")) __declspec(dllimport) char* __cdecl strlwr( char* _String ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnicmp" ". See online help for details.")) __declspec(dllimport) int __cdecl strnicmp( char const* _String1, char const* _String2, size_t _MaxCount ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnset" ". See online help for details.")) __declspec(dllimport) char* __cdecl strnset( char* _String, int _Value, size_t _MaxCount ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strrev" ". See online help for details.")) __declspec(dllimport) char* __cdecl strrev( char* _String ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strset" ". See online help for details.")) char* __cdecl strset( char* _String, int _Value); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strupr" ". See online help for details.")) __declspec(dllimport) char* __cdecl strupr( char* _String ); #line 608 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" __pragma(pack(pop)) #line 614 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\string.h" #line 78 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #pragma once __pragma(pack(push, 8)) #line 21 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 23 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 27 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 31 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 55 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 60 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 68 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" __declspec(noinline) __inline unsigned __int64* __cdecl __local_stdio_printf_options(void) { static unsigned __int64 _OptionsStorage; return &_OptionsStorage; } __declspec(noinline) __inline unsigned __int64* __cdecl __local_stdio_scanf_options(void) { static unsigned __int64 _OptionsStorage; return &_OptionsStorage; } __pragma(pack(pop)) #line 108 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_stdio_config.h" #line 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __pragma(pack(push, 8)) typedef struct _iobuf { void* _Placeholder; } FILE; #line 30 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) FILE* __cdecl __acrt_iob_func(unsigned); __declspec(dllimport) wint_t __cdecl fgetwc( FILE* _Stream ); __declspec(dllimport) wint_t __cdecl _fgetwchar(void); __declspec(dllimport) wint_t __cdecl fputwc( wchar_t _Character, FILE* _Stream); __declspec(dllimport) wint_t __cdecl _fputwchar( wchar_t _Character ); __declspec(dllimport) wint_t __cdecl getwc( FILE* _Stream ); __declspec(dllimport) wint_t __cdecl getwchar(void); __declspec(dllimport) wchar_t* __cdecl fgetws( wchar_t* _Buffer, int _BufferCount, FILE* _Stream ); __declspec(dllimport) int __cdecl fputws( wchar_t const* _Buffer, FILE* _Stream ); __declspec(dllimport) wchar_t* __cdecl _getws_s( wchar_t* _Buffer, size_t _BufferCount ); #line 99 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) wint_t __cdecl putwc( wchar_t _Character, FILE* _Stream ); __declspec(dllimport) wint_t __cdecl putwchar( wchar_t _Character ); __declspec(dllimport) int __cdecl _putws( wchar_t const* _Buffer ); __declspec(dllimport) wint_t __cdecl ungetwc( wint_t _Character, FILE* _Stream ); __declspec(dllimport) FILE * __cdecl _wfdopen( int _FileHandle, wchar_t const* _Mode ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wfopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) FILE* __cdecl _wfopen( wchar_t const* _FileName, wchar_t const* _Mode ); __declspec(dllimport) errno_t __cdecl _wfopen_s( FILE** _Stream, wchar_t const* _FileName, wchar_t const* _Mode ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wfreopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) FILE* __cdecl _wfreopen( wchar_t const* _FileName, wchar_t const* _Mode, FILE* _OldStream ); __declspec(dllimport) errno_t __cdecl _wfreopen_s( FILE** _Stream, wchar_t const* _FileName, wchar_t const* _Mode, FILE* _OldStream ); __declspec(dllimport) FILE* __cdecl _wfsopen( wchar_t const* _FileName, wchar_t const* _Mode, int _ShFlag ); __declspec(dllimport) void __cdecl _wperror( wchar_t const* _ErrorMessage ); __declspec(dllimport) FILE* __cdecl _wpopen( wchar_t const* _Command, wchar_t const* _Mode ); #line 177 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) int __cdecl _wremove( wchar_t const* _FileName ); __declspec(dllimport) __declspec(allocator) wchar_t* __cdecl _wtempnam( wchar_t const* _Directory, wchar_t const* _FilePrefix ); __declspec(dllimport) errno_t __cdecl _wtmpnam_s( wchar_t* _Buffer, size_t _BufferCount ); #line 204 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wtmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wtmpnam( wchar_t *_Buffer); #line 210 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) wint_t __cdecl _fgetwc_nolock( FILE* _Stream ); __declspec(dllimport) wint_t __cdecl _fputwc_nolock( wchar_t _Character, FILE* _Stream ); __declspec(dllimport) wint_t __cdecl _getwc_nolock( FILE* _Stream ); __declspec(dllimport) wint_t __cdecl _putwc_nolock( wchar_t _Character, FILE* _Stream ); __declspec(dllimport) wint_t __cdecl _ungetwc_nolock( wint_t _Character, FILE* _Stream ); #line 251 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) int __cdecl __stdio_common_vfwprintf( unsigned __int64 _Options, FILE* _Stream, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vfwprintf_s( unsigned __int64 _Options, FILE* _Stream, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vfwprintf_p( unsigned __int64 _Options, FILE* _Stream, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __inline int __cdecl _vfwprintf_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 303 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vfwprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList); } #line 307 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vfwprintf( FILE* const _Stream, wchar_t const* const _Format, va_list _ArgList ) #line 317 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_l(_Stream, _Format, ((void *)0), _ArgList); } #line 321 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vfwprintf_s_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 332 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vfwprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList); } #line 336 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vfwprintf_s( FILE* const _Stream, wchar_t const* const _Format, va_list _ArgList ) #line 348 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_s_l(_Stream, _Format, ((void *)0), _ArgList); } #line 352 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 354 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vfwprintf_p_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 365 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vfwprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList); } #line 369 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vfwprintf_p( FILE* const _Stream, wchar_t const* const _Format, va_list _ArgList ) #line 379 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_p_l(_Stream, _Format, ((void *)0), _ArgList); } #line 383 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vwprintf_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 393 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); } #line 397 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vwprintf( wchar_t const* const _Format, va_list _ArgList ) #line 406 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); } #line 410 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vwprintf_s_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 420 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); } #line 424 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vwprintf_s( wchar_t const* const _Format, va_list _ArgList ) #line 435 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_s_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); } #line 439 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 441 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vwprintf_p_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 451 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); } #line 455 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vwprintf_p( wchar_t const* const _Format, va_list _ArgList ) #line 464 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwprintf_p_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); } #line 468 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _fwprintf_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 478 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwprintf_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 487 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl fwprintf( FILE* const _Stream, wchar_t const* const _Format, ...) #line 496 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwprintf_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 505 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _fwprintf_s_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 515 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwprintf_s_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 524 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl fwprintf_s( FILE* const _Stream, wchar_t const* const _Format, ...) #line 535 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwprintf_s_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 544 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 546 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _fwprintf_p_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 556 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwprintf_p_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 565 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _fwprintf_p( FILE* const _Stream, wchar_t const* const _Format, ...) #line 574 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwprintf_p_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 583 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _wprintf_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 592 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 601 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl wprintf( wchar_t const* const _Format, ...) #line 609 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwprintf_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 618 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _wprintf_s_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 627 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 636 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl wprintf_s( wchar_t const* const _Format, ...) #line 646 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwprintf_s_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 655 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 657 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _wprintf_p_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 666 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 675 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _wprintf_p( wchar_t const* const _Format, ...) #line 683 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwprintf_p_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 692 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) int __cdecl __stdio_common_vfwscanf( unsigned __int64 _Options, FILE* _Stream, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __inline int __cdecl _vfwscanf_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 718 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vfwscanf( (*__local_stdio_scanf_options ()), _Stream, _Format, _Locale, _ArgList); } #line 724 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vfwscanf( FILE* const _Stream, wchar_t const* const _Format, va_list _ArgList ) #line 734 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwscanf_l(_Stream, _Format, ((void *)0), _ArgList); } #line 738 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vfwscanf_s_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 749 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vfwscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Stream, _Format, _Locale, _ArgList); } #line 755 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vfwscanf_s( FILE* const _Stream, wchar_t const* const _Format, va_list _ArgList ) #line 767 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwscanf_s_l(_Stream, _Format, ((void *)0), _ArgList); } #line 771 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 773 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vwscanf_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 782 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); } #line 786 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vwscanf( wchar_t const* const _Format, va_list _ArgList ) #line 795 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwscanf_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); } #line 799 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vwscanf_s_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 809 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); } #line 813 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vwscanf_s( wchar_t const* const _Format, va_list _ArgList ) #line 824 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vfwscanf_s_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); } #line 828 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 830 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _fwscanf_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 840 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwscanf_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 849 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "fwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl fwscanf( FILE* const _Stream, wchar_t const* const _Format, ...) #line 858 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwscanf_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 867 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _fwscanf_s_l( FILE* const _Stream, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 877 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwscanf_s_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 886 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl fwscanf_s( FILE* const _Stream, wchar_t const* const _Format, ...) #line 897 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwscanf_s_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 906 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 908 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _wscanf_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 917 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 926 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl wscanf( wchar_t const* const _Format, ...) #line 934 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwscanf_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 943 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _wscanf_s_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 952 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfwscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 961 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl wscanf_s( wchar_t const* const _Format, ...) #line 971 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfwscanf_s_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 980 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 982 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 998 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) int __cdecl __stdio_common_vswprintf( unsigned __int64 _Options, wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vswprintf_s( unsigned __int64 _Options, wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vsnwprintf_s( unsigned __int64 _Options, wchar_t* _Buffer, size_t _BufferCount, size_t _MaxCount, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vswprintf_p( unsigned __int64 _Options, wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1056 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vswprintf( (*__local_stdio_printf_options()) | (1ULL << 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1064 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable: 4793) __inline int __cdecl _vsnwprintf_s_l( wchar_t* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1081 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vsnwprintf_s( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1089 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s( wchar_t* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const* const _Format, va_list _ArgList ) #line 1102 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, ((void *)0), _ArgList); } #line 1106 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf( wchar_t *_Buffer, size_t _BufferCount, wchar_t const* _Format, ...); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf( wchar_t *_Buffer, size_t _BufferCount, wchar_t const* _Format, va_list _Args); #line 1115 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #pragma warning(pop) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf( wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _Format, va_list _ArgList ) #line 1129 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { #pragma warning(push) #pragma warning(disable: 4996) return _vsnwprintf_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); #pragma warning(pop) } #line 1136 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1145 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1158 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vswprintf( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1166 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, va_list _ArgList ) #line 1178 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswprintf_c_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1182 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1195 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { #pragma warning(push) #pragma warning(disable: 4996) return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); #pragma warning(pop) } #line 1202 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl __vswprintf_l( wchar_t* const _Buffer, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1214 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList); } #line 1218 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf( wchar_t* const _Buffer, wchar_t const* const _Format, va_list _ArgList ) #line 1229 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswprintf_l(_Buffer, (size_t)-1, _Format, ((void *)0), _ArgList); } #line 1233 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, va_list _ArgList ) #line 1245 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswprintf_c_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1249 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_s_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1262 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vswprintf_s( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1270 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf_s( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, va_list _ArgList ) #line 1283 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswprintf_s_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1287 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1289 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1297 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1310 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vswprintf_p( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1318 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, va_list _ArgList ) #line 1330 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswprintf_p_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1334 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1345 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vswprintf( (*__local_stdio_printf_options()) | (1ULL << 1), ((void *)0), 0, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1353 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf( wchar_t const* const _Format, va_list _ArgList ) #line 1363 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vscwprintf_l(_Format, ((void *)0), _ArgList); } #line 1367 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p_l( wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1378 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int const _Result = __stdio_common_vswprintf_p( (*__local_stdio_printf_options()) | (1ULL << 1), ((void *)0), 0, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1386 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p( wchar_t const* const _Format, va_list _ArgList ) #line 1396 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vscwprintf_p_l(_Format, ((void *)0), _ArgList); } #line 1400 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl __swprintf_l( wchar_t* const _Buffer, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1411 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = __vswprintf_l(_Buffer, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1420 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1432 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1441 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf( wchar_t* const _Buffer, wchar_t const* const _Format, ...) #line 1451 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = __vswprintf_l(_Buffer, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1460 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, ...) #line 1471 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1480 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable:4793 4996) __declspec(deprecated("This function or variable may be unsafe. Consider using " "__swprintf_l_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __swprintf_l( wchar_t *_Buffer, wchar_t const* _Format, _locale_t _Locale, ...); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vswprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __vswprintf_l( wchar_t *_Buffer, wchar_t const* _Format, _locale_t _Locale, va_list _Args); #line 1494 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_swprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swprintf( wchar_t *_Buffer, wchar_t const* _Format, ...); __declspec(deprecated("This function or variable may be unsafe. Consider using " "vswprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vswprintf( wchar_t *_Buffer, wchar_t const* _Format, va_list _Args); #line 1501 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #pragma warning(pop) __inline int __cdecl _swprintf_s_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1515 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1524 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf_s( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, ...) #line 1536 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1545 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1547 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1554 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1566 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1575 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, ...) #line 1586 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1595 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1607 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1616 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, ...) #line 1627 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1636 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf_l( wchar_t* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1648 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 1662 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf( wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _Format, ...) #line 1673 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 1687 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s_l( wchar_t* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1700 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1709 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s( wchar_t* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const* const _Format, ...) #line 1721 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1730 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1738 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1747 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vscwprintf_l(_Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1756 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf( wchar_t const* const _Format, ...) #line 1765 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vscwprintf_l(_Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1774 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p_l( wchar_t const* const _Format, _locale_t const _Locale, ...) #line 1784 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vscwprintf_p_l(_Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1793 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p( wchar_t const* const _Format, ...) #line 1802 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vscwprintf_p_l(_Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1811 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable: 4141 4412 4793 4996 6054) #pragma warning(pop) #line 1875 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1882 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(dllimport) int __cdecl __stdio_common_vswscanf( unsigned __int64 _Options, wchar_t const* _Buffer, size_t _BufferCount, wchar_t const* _Format, _locale_t _Locale, va_list _ArgList ); __inline int __cdecl _vswscanf_l( wchar_t const* const _Buffer, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1910 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vswscanf( (*__local_stdio_scanf_options ()), _Buffer, (size_t)-1, _Format, _Locale, _ArgList); } #line 1916 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf( wchar_t const* _Buffer, wchar_t const* _Format, va_list _ArgList ) #line 1927 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswscanf_l(_Buffer, _Format, ((void *)0), _ArgList); } #line 1931 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswscanf_s_l( wchar_t const* const _Buffer, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1943 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vswscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Buffer, (size_t)-1, _Format, _Locale, _ArgList); } #line 1949 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf_s( wchar_t const* const _Buffer, wchar_t const* const _Format, va_list _ArgList ) #line 1962 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return _vswscanf_s_l(_Buffer, _Format, ((void *)0), _ArgList); } #line 1966 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1968 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 1976 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwscanf_l( wchar_t const* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1989 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vswscanf( (*__local_stdio_scanf_options ()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); } #line 1995 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwscanf_s_l( wchar_t const* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 2008 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { return __stdio_common_vswscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList); } #line 2014 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_swscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swscanf_l( wchar_t const* const _Buffer, wchar_t const* const _Format, _locale_t _Locale, ...) #line 2025 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vswscanf_l(_Buffer, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2034 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "swscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl swscanf( wchar_t const* const _Buffer, wchar_t const* const _Format, ...) #line 2044 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vswscanf_l(_Buffer, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2053 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _swscanf_s_l( wchar_t const* const _Buffer, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 2064 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2073 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl swscanf_s( wchar_t const* const _Buffer, wchar_t const* const _Format, ...) #line 2085 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vswscanf_s_l(_Buffer, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2094 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" #line 2096 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf_l( wchar_t const* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 2108 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 2122 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf( wchar_t const* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, ...) #line 2133 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 2147 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s_l( wchar_t const* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, _locale_t const _Locale, ...) #line 2159 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2168 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s( wchar_t const* const _Buffer, size_t const _BufferCount, wchar_t const* const _Format, ...) #line 2179 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2188 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdio.h" __pragma(pack(pop)) #line 13 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __pragma(pack(push, 8)) #line 48 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 66 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" typedef __int64 fpos_t; __declspec(dllimport) errno_t __cdecl _get_stream_buffer_pointers( FILE* _Stream, char*** _Base, char*** _Pointer, int** _Count ); __declspec(dllimport) errno_t __cdecl clearerr_s( FILE* _Stream ); __declspec(dllimport) errno_t __cdecl fopen_s( FILE** _Stream, char const* _FileName, char const* _Mode ); __declspec(dllimport) size_t __cdecl fread_s( void* _Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE* _Stream ); __declspec(dllimport) errno_t __cdecl freopen_s( FILE** _Stream, char const* _FileName, char const* _Mode, FILE* _OldStream ); __declspec(dllimport) char* __cdecl gets_s( char* _Buffer, rsize_t _Size ); __declspec(dllimport) errno_t __cdecl tmpfile_s( FILE** _Stream ); __declspec(dllimport) errno_t __cdecl tmpnam_s( char* _Buffer, rsize_t _Size ); #line 137 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) void __cdecl clearerr( FILE* _Stream ); __declspec(dllimport) int __cdecl fclose( FILE* _Stream ); __declspec(dllimport) int __cdecl _fcloseall(void); __declspec(dllimport) FILE* __cdecl _fdopen( int _FileHandle, char const* _Mode ); __declspec(dllimport) int __cdecl feof( FILE* _Stream ); __declspec(dllimport) int __cdecl ferror( FILE* _Stream ); __declspec(dllimport) int __cdecl fflush( FILE* _Stream ); __declspec(dllimport) int __cdecl fgetc( FILE* _Stream ); __declspec(dllimport) int __cdecl _fgetchar(void); __declspec(dllimport) int __cdecl fgetpos( FILE* _Stream, fpos_t* _Position ); __declspec(dllimport) char* __cdecl fgets( char* _Buffer, int _MaxCount, FILE* _Stream ); __declspec(dllimport) int __cdecl _fileno( FILE* _Stream ); __declspec(dllimport) int __cdecl _flushall(void); __declspec(deprecated("This function or variable may be unsafe. Consider using " "fopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) FILE* __cdecl fopen( char const* _FileName, char const* _Mode ); __declspec(dllimport) int __cdecl fputc( int _Character, FILE* _Stream ); __declspec(dllimport) int __cdecl _fputchar( int _Character ); __declspec(dllimport) int __cdecl fputs( char const* _Buffer, FILE* _Stream ); __declspec(dllimport) size_t __cdecl fread( void* _Buffer, size_t _ElementSize, size_t _ElementCount, FILE* _Stream ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "freopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) FILE* __cdecl freopen( char const* _FileName, char const* _Mode, FILE* _Stream ); __declspec(dllimport) FILE* __cdecl _fsopen( char const* _FileName, char const* _Mode, int _ShFlag ); __declspec(dllimport) int __cdecl fsetpos( FILE* _Stream, fpos_t const* _Position ); __declspec(dllimport) int __cdecl fseek( FILE* _Stream, long _Offset, int _Origin ); __declspec(dllimport) int __cdecl _fseeki64( FILE* _Stream, __int64 _Offset, int _Origin ); __declspec(dllimport) long __cdecl ftell( FILE* _Stream ); __declspec(dllimport) __int64 __cdecl _ftelli64( FILE* _Stream ); __declspec(dllimport) size_t __cdecl fwrite( void const* _Buffer, size_t _ElementSize, size_t _ElementCount, FILE* _Stream ); __declspec(dllimport) int __cdecl getc( FILE* _Stream ); __declspec(dllimport) int __cdecl getchar(void); __declspec(dllimport) int __cdecl _getmaxstdio(void); #line 311 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl _getw( FILE* _Stream ); __declspec(dllimport) void __cdecl perror( char const* _ErrorMessage ); __declspec(dllimport) int __cdecl _pclose( FILE* _Stream ); __declspec(dllimport) FILE* __cdecl _popen( char const* _Command, char const* _Mode ); #line 336 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl putc( int _Character, FILE* _Stream ); __declspec(dllimport) int __cdecl putchar( int _Character ); __declspec(dllimport) int __cdecl puts( char const* _Buffer ); __declspec(dllimport) int __cdecl _putw( int _Word, FILE* _Stream ); __declspec(dllimport) int __cdecl remove( char const* _FileName ); __declspec(dllimport) int __cdecl rename( char const* _OldFileName, char const* _NewFileName ); __declspec(dllimport) int __cdecl _unlink( char const* _FileName ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_unlink" ". See online help for details.")) __declspec(dllimport) int __cdecl unlink( char const* _FileName ); #line 385 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) void __cdecl rewind( FILE* _Stream ); __declspec(dllimport) int __cdecl _rmtmp(void); __declspec(deprecated("This function or variable may be unsafe. Consider using " "setvbuf" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl setbuf( FILE* _Stream, char* _Buffer ); __declspec(dllimport) int __cdecl _setmaxstdio( int _Maximum ); __declspec(dllimport) int __cdecl setvbuf( FILE* _Stream, char* _Buffer, int _Mode, size_t _Size ); #line 419 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) __declspec(allocator) char* __cdecl _tempnam( char const* _DirectoryName, char const* _FilePrefix ); #line 429 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpfile_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) FILE* __cdecl tmpfile(void); #line 437 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl tmpnam( char *_Buffer); #line 443 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl ungetc( int _Character, FILE* _Stream ); __declspec(dllimport) void __cdecl _lock_file( FILE* _Stream ); __declspec(dllimport) void __cdecl _unlock_file( FILE* _Stream ); __declspec(dllimport) int __cdecl _fclose_nolock( FILE* _Stream ); __declspec(dllimport) int __cdecl _fflush_nolock( FILE* _Stream ); __declspec(dllimport) int __cdecl _fgetc_nolock( FILE* _Stream ); __declspec(dllimport) int __cdecl _fputc_nolock( int _Character, FILE* _Stream ); __declspec(dllimport) size_t __cdecl _fread_nolock( void* _Buffer, size_t _ElementSize, size_t _ElementCount, FILE* _Stream ); __declspec(dllimport) size_t __cdecl _fread_nolock_s( void* _Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE* _Stream ); __declspec(dllimport) int __cdecl _fseek_nolock( FILE* _Stream, long _Offset, int _Origin ); __declspec(dllimport) int __cdecl _fseeki64_nolock( FILE* _Stream, __int64 _Offset, int _Origin ); __declspec(dllimport) long __cdecl _ftell_nolock( FILE* _Stream ); __declspec(dllimport) __int64 __cdecl _ftelli64_nolock( FILE* _Stream ); __declspec(dllimport) size_t __cdecl _fwrite_nolock( void const* _Buffer, size_t _ElementSize, size_t _ElementCount, FILE* _Stream ); __declspec(dllimport) int __cdecl _getc_nolock( FILE* _Stream ); __declspec(dllimport) int __cdecl _putc_nolock( int _Character, FILE* _Stream ); __declspec(dllimport) int __cdecl _ungetc_nolock( int _Character, FILE* _Stream ); #line 580 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int* __cdecl __p__commode(void); #line 590 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 597 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl __stdio_common_vfprintf( unsigned __int64 _Options, FILE* _Stream, char const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vfprintf_s( unsigned __int64 _Options, FILE* _Stream, char const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vfprintf_p( unsigned __int64 _Options, FILE* _Stream, char const* _Format, _locale_t _Locale, va_list _ArgList ); __inline int __cdecl _vfprintf_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 638 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vfprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList); } #line 642 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vfprintf( FILE* const _Stream, char const* const _Format, va_list _ArgList ) #line 652 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_l(_Stream, _Format, ((void *)0), _ArgList); } #line 656 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vfprintf_s_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 667 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vfprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList); } #line 671 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vfprintf_s( FILE* const _Stream, char const* const _Format, va_list _ArgList ) #line 683 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_s_l(_Stream, _Format, ((void *)0), _ArgList); } #line 687 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 689 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vfprintf_p_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 700 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vfprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList); } #line 704 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vfprintf_p( FILE* const _Stream, char const* const _Format, va_list _ArgList ) #line 714 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_p_l(_Stream, _Format, ((void *)0), _ArgList); } #line 718 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vprintf_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 728 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); } #line 732 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vprintf( char const* const _Format, va_list _ArgList ) #line 741 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); } #line 745 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vprintf_s_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 755 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); } #line 759 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vprintf_s( char const* const _Format, va_list _ArgList ) #line 770 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_s_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); } #line 774 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 776 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vprintf_p_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 786 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); } #line 790 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vprintf_p( char const* const _Format, va_list _ArgList ) #line 799 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfprintf_p_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); } #line 803 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _fprintf_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, ...) #line 813 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfprintf_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 822 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl fprintf( FILE* const _Stream, char const* const _Format, ...) #line 831 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfprintf_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 840 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl _set_printf_count_output( int _Value ); __declspec(dllimport) int __cdecl _get_printf_count_output(void); __inline int __cdecl _fprintf_s_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, ...) #line 856 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfprintf_s_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 865 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl fprintf_s( FILE* const _Stream, char const* const _Format, ...) #line 876 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfprintf_s_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 885 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 887 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _fprintf_p_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, ...) #line 897 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfprintf_p_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 906 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _fprintf_p( FILE* const _Stream, char const* const _Format, ...) #line 915 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfprintf_p_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 924 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _printf_l( char const* const _Format, _locale_t const _Locale, ...) #line 933 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 942 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl printf( char const* const _Format, ...) #line 950 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfprintf_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 959 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _printf_s_l( char const* const _Format, _locale_t const _Locale, ...) #line 968 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 977 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl printf_s( char const* const _Format, ...) #line 987 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfprintf_s_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 996 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 998 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _printf_p_l( char const* const _Format, _locale_t const _Locale, ...) #line 1007 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1016 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _printf_p( char const* const _Format, ...) #line 1024 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfprintf_p_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1033 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl __stdio_common_vfscanf( unsigned __int64 _Options, FILE* _Stream, char const* _Format, _locale_t _Locale, va_list _Arglist ); __inline int __cdecl _vfscanf_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1058 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vfscanf( (*__local_stdio_scanf_options ()), _Stream, _Format, _Locale, _ArgList); } #line 1064 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vfscanf( FILE* const _Stream, char const* const _Format, va_list _ArgList ) #line 1074 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfscanf_l(_Stream, _Format, ((void *)0), _ArgList); } #line 1078 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vfscanf_s_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1089 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vfscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Stream, _Format, _Locale, _ArgList); } #line 1095 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vfscanf_s( FILE* const _Stream, char const* const _Format, va_list _ArgList ) #line 1108 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfscanf_s_l(_Stream, _Format, ((void *)0), _ArgList); } #line 1112 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1114 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vscanf_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1124 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); } #line 1128 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vscanf( char const* const _Format, va_list _ArgList ) #line 1137 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfscanf_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); } #line 1141 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vscanf_s_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1151 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); } #line 1155 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vscanf_s( char const* const _Format, va_list _ArgList ) #line 1166 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vfscanf_s_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); } #line 1170 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1172 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _fscanf_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, ...) #line 1182 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfscanf_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1191 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "fscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl fscanf( FILE* const _Stream, char const* const _Format, ...) #line 1200 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfscanf_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1209 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _fscanf_s_l( FILE* const _Stream, char const* const _Format, _locale_t const _Locale, ...) #line 1219 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfscanf_s_l(_Stream, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1228 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl fscanf_s( FILE* const _Stream, char const* const _Format, ...) #line 1239 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfscanf_s_l(_Stream, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1248 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1250 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_scanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _scanf_l( char const* const _Format, _locale_t const _Locale, ...) #line 1259 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1268 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "scanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl scanf( char const* const _Format, ...) #line 1276 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfscanf_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1285 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _scanf_s_l( char const* const _Format, _locale_t const _Locale, ...) #line 1294 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1303 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl scanf_s( char const* const _Format, ...) #line 1313 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vfscanf_s_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1322 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1324 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl __stdio_common_vsprintf( unsigned __int64 _Options, char* _Buffer, size_t _BufferCount, char const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vsprintf_s( unsigned __int64 _Options, char* _Buffer, size_t _BufferCount, char const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vsnprintf_s( unsigned __int64 _Options, char* _Buffer, size_t _BufferCount, size_t _MaxCount, char const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(dllimport) int __cdecl __stdio_common_vsprintf_p( unsigned __int64 _Options, char* _Buffer, size_t _BufferCount, char const* _Format, _locale_t _Locale, va_list _ArgList ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnprintf_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1385 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf( (*__local_stdio_printf_options()) | (1ULL << 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1393 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsnprintf( char* const _Buffer, size_t const _BufferCount, char const* const _Format, va_list _ArgList ) #line 1405 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { #pragma warning(push) #pragma warning(disable: 4996) return _vsnprintf_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); #pragma warning(pop) } #line 1412 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1423 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vsnprintf( char* const _Buffer, size_t const _BufferCount, char const* const _Format, va_list _ArgList ) #line 1435 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf( (*__local_stdio_printf_options()) | (1ULL << 1), _Buffer, _BufferCount, _Format, ((void *)0), _ArgList); return _Result < 0 ? -1 : _Result; } #line 1443 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsprintf_l( char* const _Buffer, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1455 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { #pragma warning(push) #pragma warning(disable: 4996) return _vsnprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList); #pragma warning(pop) } #line 1462 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl vsprintf( char* const _Buffer, char const* const _Format, va_list _ArgList ) #line 1473 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { #pragma warning(push) #pragma warning(disable: 4996) return _vsnprintf_l(_Buffer, (size_t)-1, _Format, ((void *)0), _ArgList); #pragma warning(pop) } #line 1480 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsprintf_s_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1493 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf_s( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1501 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vsprintf_s( char* const _Buffer, size_t const _BufferCount, char const* const _Format, va_list _ArgList ) #line 1515 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsprintf_s_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1519 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1527 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1529 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsprintf_p_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1542 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf_p( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1550 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsprintf_p( char* const _Buffer, size_t const _BufferCount, char const* const _Format, va_list _ArgList ) #line 1562 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsprintf_p_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1566 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s_l( char* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1580 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsnprintf_s( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1588 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s( char* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const* const _Format, va_list _ArgList ) #line 1601 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, ((void *)0), _ArgList); } #line 1605 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1614 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vsnprintf_s( char* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const* const _Format, va_list _ArgList ) #line 1629 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, ((void *)0), _ArgList); } #line 1633 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1642 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1644 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vscprintf_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1654 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf( (*__local_stdio_printf_options()) | (1ULL << 1), ((void *)0), 0, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1662 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vscprintf( char const* const _Format, va_list _ArgList ) #line 1671 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vscprintf_l(_Format, ((void *)0), _ArgList); } #line 1675 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vscprintf_p_l( char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1685 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf_p( (*__local_stdio_printf_options()) | (1ULL << 1), ((void *)0), 0, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1693 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vscprintf_p( char const* const _Format, va_list _ArgList ) #line 1702 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vscprintf_p_l(_Format, ((void *)0), _ArgList); } #line 1706 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 1718 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int const _Result = __stdio_common_vsprintf( (*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); return _Result < 0 ? -1 : _Result; } #line 1726 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c( char* const _Buffer, size_t const _BufferCount, char const* const _Format, va_list _ArgList ) #line 1738 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsnprintf_c_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); } #line 1742 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sprintf_l( char* const _Buffer, char const* const _Format, _locale_t const _Locale, ...) #line 1752 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsprintf_l(_Buffer, _Format, _Locale, _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 1766 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl sprintf( char* const _Buffer, char const* const _Format, ...) #line 1776 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsprintf_l(_Buffer, _Format, ((void *)0), _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 1790 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable: 4996) __declspec(deprecated("This function or variable may be unsafe. Consider using " "sprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl sprintf( char *_Buffer, char const* _Format, ...); __declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl vsprintf( char *_Buffer, char const* _Format, va_list _Args); #line 1799 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma warning(pop) __inline int __cdecl _sprintf_s_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, ...) #line 1812 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1821 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl sprintf_s( char* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 1834 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsprintf_s_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1843 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1845 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1851 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _sprintf_p_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, ...) #line 1863 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1872 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _sprintf_p( char* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 1883 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsprintf_p_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1892 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snprintf_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, ...) #line 1904 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); #pragma warning(push) #pragma warning(disable: 4996) _Result = _vsnprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 1918 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 1929 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl snprintf( char* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 1940 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); #pragma warning(suppress:28719) _Result = vsnprintf(_Buffer, _BufferCount, _Format, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1950 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snprintf( char* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 1960 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); #pragma warning(suppress:28719) _Result = _vsnprintf(_Buffer, _BufferCount, _Format, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 1970 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _snprintf( char *_Buffer, size_t _BufferCount, char const* _Format, ...); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _vsnprintf( char *_Buffer, size_t _BufferCount, char const* _Format, va_list _Args); #line 1979 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snprintf_c_l( char* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, ...) #line 1991 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsnprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2000 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snprintf_c( char* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 2011 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsnprintf_c_l(_Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2020 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snprintf_s_l( char* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const* const _Format, _locale_t const _Locale, ...) #line 2033 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2042 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snprintf_s( char* const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const* const _Format, ...) #line 2054 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2063 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 2071 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _scprintf_l( char const* const _Format, _locale_t const _Locale, ...) #line 2080 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vscprintf_l(_Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2089 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _scprintf( char const* const _Format, ...) #line 2097 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vscprintf_l(_Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2106 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _scprintf_p_l( char const* const _Format, _locale_t const _Locale, ...) #line 2115 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vscprintf_p_l(_Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2124 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _scprintf_p( char const* const _Format, ...) #line 2132 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vscprintf_p(_Format, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2141 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(dllimport) int __cdecl __stdio_common_vsscanf( unsigned __int64 _Options, char const* _Buffer, size_t _BufferCount, char const* _Format, _locale_t _Locale, va_list _ArgList ); __inline int __cdecl _vsscanf_l( char const* const _Buffer, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 2166 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vsscanf( (*__local_stdio_scanf_options ()), _Buffer, (size_t)-1, _Format, _Locale, _ArgList); } #line 2172 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl vsscanf( char const* const _Buffer, char const* const _Format, va_list _ArgList ) #line 2182 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsscanf_l(_Buffer, _Format, ((void *)0), _ArgList); } #line 2186 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _vsscanf_s_l( char const* const _Buffer, char const* const _Format, _locale_t const _Locale, va_list _ArgList ) #line 2197 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return __stdio_common_vsscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Buffer, (size_t)-1, _Format, _Locale, _ArgList); } #line 2203 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __inline int __cdecl vsscanf_s( char const* const _Buffer, char const* const _Format, va_list _ArgList ) #line 2218 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { return _vsscanf_s_l(_Buffer, _Format, ((void *)0), _ArgList); } #line 2222 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 2229 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma warning(pop) #line 2233 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sscanf_l( char const* const _Buffer, char const* const _Format, _locale_t const _Locale, ...) #line 2243 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsscanf_l(_Buffer, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2252 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl sscanf( char const* const _Buffer, char const* const _Format, ...) #line 2261 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = _vsscanf_l(_Buffer, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2270 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _sscanf_s_l( char const* const _Buffer, char const* const _Format, _locale_t const _Locale, ...) #line 2280 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = _vsscanf_s_l(_Buffer, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2289 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl sscanf_s( char const* const _Buffer, char const* const _Format, ...) #line 2300 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); #pragma warning(push) #pragma warning(disable: 4996) _Result = vsscanf_s(_Buffer, _Format, _ArgList); #pragma warning(pop) ((void)(_ArgList = (va_list)0)); return _Result; } #line 2314 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 2316 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf_l( char const* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, ...) #line 2330 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = __stdio_common_vsscanf( (*__local_stdio_scanf_options ()), _Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2343 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf( char const* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 2353 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = __stdio_common_vsscanf( (*__local_stdio_scanf_options ()), _Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2366 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snscanf_s_l( char const* const _Buffer, size_t const _BufferCount, char const* const _Format, _locale_t const _Locale, ...) #line 2378 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Locale))); _Result = __stdio_common_vsscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2391 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __inline int __cdecl _snscanf_s( char const* const _Buffer, size_t const _BufferCount, char const* const _Format, ...) #line 2401 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" { int _Result; va_list _ArgList; ((void)(__va_start(&_ArgList, _Format))); _Result = __stdio_common_vsscanf( (*__local_stdio_scanf_options ()) | (1ULL << 0), _Buffer, _BufferCount, _Format, ((void *)0), _ArgList); ((void)(_ArgList = (va_list)0)); return _Result; } #line 2414 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #pragma warning(pop) #line 2420 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" #line 2436 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_tempnam" ". See online help for details.")) __declspec(dllimport) char* __cdecl tempnam( char const* _Directory, char const* _FilePrefix ); #line 2446 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fcloseall" ". See online help for details.")) __declspec(dllimport) int __cdecl fcloseall(void); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fdopen" ". See online help for details.")) __declspec(dllimport) FILE* __cdecl fdopen( int _FileHandle, char const* _Format); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fgetchar" ". See online help for details.")) __declspec(dllimport) int __cdecl fgetchar(void); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fileno" ". See online help for details.")) __declspec(dllimport) int __cdecl fileno( FILE* _Stream); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_flushall" ". See online help for details.")) __declspec(dllimport) int __cdecl flushall(void); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fputchar" ". See online help for details.")) __declspec(dllimport) int __cdecl fputchar( int _Ch); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_getw" ". See online help for details.")) __declspec(dllimport) int __cdecl getw( FILE* _Stream); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_putw" ". See online help for details.")) __declspec(dllimport) int __cdecl putw( int _Ch, FILE* _Stream); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_rmtmp" ". See online help for details.")) __declspec(dllimport) int __cdecl rmtmp(void); #line 2458 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdio.h" __pragma(pack(pop)) #line 102 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #pragma once #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_malloc.h" #pragma once __pragma(pack(push, 8)) #line 52 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_malloc.h" __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _calloc_base( size_t _Count, size_t _Size ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl calloc( size_t _Count, size_t _Size ); __declspec(dllimport) int __cdecl _callnewh( size_t _Size ); __declspec(dllimport) __declspec(allocator) void* __cdecl _expand( void* _Block, size_t _Size ); __declspec(dllimport) void __cdecl _free_base( void* _Block ); __declspec(dllimport) void __cdecl free( void* _Block ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _malloc_base( size_t _Size ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl malloc( size_t _Size ); __declspec(dllimport) size_t __cdecl _msize( void* _Block ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _realloc_base( void* _Block, size_t _Size ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl realloc( void* _Block, size_t _Size ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _recalloc( void* _Block, size_t _Count, size_t _Size ); __declspec(dllimport) void __cdecl _aligned_free( void* _Block ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _aligned_malloc( size_t _Size, size_t _Alignment ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _aligned_offset_malloc( size_t _Size, size_t _Alignment, size_t _Offset ); __declspec(dllimport) size_t __cdecl _aligned_msize( void* _Block, size_t _Alignment, size_t _Offset ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _aligned_offset_realloc( void* _Block, size_t _Size, size_t _Alignment, size_t _Offset ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _aligned_offset_recalloc( void* _Block, size_t _Count, size_t _Size, size_t _Alignment, size_t _Offset ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _aligned_realloc( void* _Block, size_t _Size, size_t _Alignment ); __declspec(dllimport) __declspec(allocator) __declspec(restrict) void* __cdecl _aligned_recalloc( void* _Block, size_t _Count, size_t _Size, size_t _Alignment ); #line 211 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_malloc.h" __pragma(pack(pop)) #line 13 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_search.h" #pragma once __pragma(pack(push, 8)) __declspec(dllimport) void* __cdecl bsearch_s( void const* _Key, void const* _Base, rsize_t _NumOfElements, rsize_t _SizeOfElements, int (__cdecl* _PtFuncCompare)(void*, void const*, void const*), void* _Context ); __declspec(dllimport) void __cdecl qsort_s( void* _Base, rsize_t _NumOfElements, rsize_t _SizeOfElements, int (__cdecl* _PtFuncCompare)(void*, void const*, void const*), void* _Context ); #line 41 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_search.h" __declspec(dllimport) void* __cdecl bsearch( void const* _Key, void const* _Base, size_t _NumOfElements, size_t _SizeOfElements, int (__cdecl* _PtFuncCompare)(void const*, void const*) ); __declspec(dllimport) void __cdecl qsort( void* _Base, size_t _NumOfElements, size_t _SizeOfElements, int (__cdecl* _PtFuncCompare)(void const*, void const*) ); __declspec(dllimport) void* __cdecl _lfind_s( void const* _Key, void const* _Base, unsigned int* _NumOfElements, size_t _SizeOfElements, int (__cdecl* _PtFuncCompare)(void*, void const*, void const*), void* _Context ); __declspec(dllimport) void* __cdecl _lfind( void const* _Key, void const* _Base, unsigned int* _NumOfElements, unsigned int _SizeOfElements, int (__cdecl* _PtFuncCompare)(void const*, void const*) ); __declspec(dllimport) void* __cdecl _lsearch_s( void const* _Key, void* _Base, unsigned int* _NumOfElements, size_t _SizeOfElements, int (__cdecl* _PtFuncCompare)(void*, void const*, void const*), void* _Context ); __declspec(dllimport) void* __cdecl _lsearch( void const* _Key, void* _Base, unsigned int* _NumOfElements, unsigned int _SizeOfElements, int (__cdecl* _PtFuncCompare)(void const*, void const*) ); #line 179 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_search.h" __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_lfind" ". See online help for details.")) __declspec(dllimport) void* __cdecl lfind( void const* _Key, void const* _Base, unsigned int* _NumOfElements, unsigned int _SizeOfElements, int (__cdecl* _PtFuncCompare)(void const*, void const*) ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_lsearch" ". See online help for details.")) __declspec(dllimport) void* __cdecl lsearch( void const* _Key, void* _Base, unsigned int* _NumOfElements, unsigned int _SizeOfElements, int (__cdecl* _PtFuncCompare)(void const*, void const*) ); #line 203 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_search.h" __pragma(pack(pop)) #line 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" #pragma once __pragma(pack(push, 8)) __declspec(dllimport) errno_t __cdecl _itow_s( int _Value, wchar_t* _Buffer, size_t _BufferCount, int _Radix ); #line 61 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_itow_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _itow( int _Value, wchar_t *_Buffer, int _Radix); #line 68 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) errno_t __cdecl _ltow_s( long _Value, wchar_t* _Buffer, size_t _BufferCount, int _Radix ); #line 84 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ltow_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _ltow( long _Value, wchar_t *_Buffer, int _Radix); #line 91 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) errno_t __cdecl _ultow_s( unsigned long _Value, wchar_t* _Buffer, size_t _BufferCount, int _Radix ); #line 106 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ultow_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _ultow( unsigned long _Value, wchar_t *_Buffer, int _Radix); #line 113 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) double __cdecl wcstod( wchar_t const* _String, wchar_t** _EndPtr ); __declspec(dllimport) double __cdecl _wcstod_l( wchar_t const* _String, wchar_t** _EndPtr, _locale_t _Locale ); __declspec(dllimport) long __cdecl wcstol( wchar_t const* _String, wchar_t** _EndPtr, int _Radix ); __declspec(dllimport) long __cdecl _wcstol_l( wchar_t const* _String, wchar_t** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) long long __cdecl wcstoll( wchar_t const* _String, wchar_t** _EndPtr, int _Radix ); __declspec(dllimport) long long __cdecl _wcstoll_l( wchar_t const* _String, wchar_t** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) unsigned long __cdecl wcstoul( wchar_t const* _String, wchar_t** _EndPtr, int _Radix ); __declspec(dllimport) unsigned long __cdecl _wcstoul_l( wchar_t const* _String, wchar_t** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) unsigned long long __cdecl wcstoull( wchar_t const* _String, wchar_t** _EndPtr, int _Radix ); __declspec(dllimport) unsigned long long __cdecl _wcstoull_l( wchar_t const* _String, wchar_t** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) long double __cdecl wcstold( wchar_t const* _String, wchar_t** _EndPtr ); __declspec(dllimport) long double __cdecl _wcstold_l( wchar_t const* _String, wchar_t** _EndPtr, _locale_t _Locale ); __declspec(dllimport) float __cdecl wcstof( wchar_t const* _String, wchar_t** _EndPtr ); __declspec(dllimport) float __cdecl _wcstof_l( wchar_t const* _String, wchar_t** _EndPtr, _locale_t _Locale ); __declspec(dllimport) double __cdecl _wtof( wchar_t const* _String ); __declspec(dllimport) double __cdecl _wtof_l( wchar_t const* _String, _locale_t _Locale ); __declspec(dllimport) int __cdecl _wtoi( wchar_t const* _String ); __declspec(dllimport) int __cdecl _wtoi_l( wchar_t const* _String, _locale_t _Locale ); __declspec(dllimport) long __cdecl _wtol( wchar_t const* _String ); __declspec(dllimport) long __cdecl _wtol_l( wchar_t const* _String, _locale_t _Locale ); __declspec(dllimport) long long __cdecl _wtoll( wchar_t const* _String ); __declspec(dllimport) long long __cdecl _wtoll_l( wchar_t const* _String, _locale_t _Locale ); __declspec(dllimport) errno_t __cdecl _i64tow_s( __int64 _Value, wchar_t* _Buffer, size_t _BufferCount, int _Radix ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_i64tow_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _i64tow( __int64 _Value, wchar_t* _Buffer, int _Radix ); __declspec(dllimport) errno_t __cdecl _ui64tow_s( unsigned __int64 _Value, wchar_t* _Buffer, size_t _BufferCount, int _Radix ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ui64tow_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _ui64tow( unsigned __int64 _Value, wchar_t* _Buffer, int _Radix ); __declspec(dllimport) __int64 __cdecl _wtoi64( wchar_t const* _String ); __declspec(dllimport) __int64 __cdecl _wtoi64_l( wchar_t const* _String, _locale_t _Locale ); __declspec(dllimport) __int64 __cdecl _wcstoi64( wchar_t const* _String, wchar_t** _EndPtr, int _Radix ); __declspec(dllimport) __int64 __cdecl _wcstoi64_l( wchar_t const* _String, wchar_t** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) unsigned __int64 __cdecl _wcstoui64( wchar_t const* _String, wchar_t** _EndPtr, int _Radix ); __declspec(dllimport) unsigned __int64 __cdecl _wcstoui64_l( wchar_t const* _String, wchar_t** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) __declspec(allocator) wchar_t* __cdecl _wfullpath( wchar_t* _Buffer, wchar_t const* _Path, size_t _BufferCount ); __declspec(dllimport) errno_t __cdecl _wmakepath_s( wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _Drive, wchar_t const* _Dir, wchar_t const* _Filename, wchar_t const* _Ext ); #line 359 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wmakepath_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl _wmakepath( wchar_t *_Buffer, wchar_t const* _Drive, wchar_t const* _Dir, wchar_t const* _Filename, wchar_t const* _Ext); #line 368 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) void __cdecl _wperror( wchar_t const* _ErrMsg ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wsplitpath_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl _wsplitpath( wchar_t const* _FullPath, wchar_t* _Drive, wchar_t* _Dir, wchar_t* _Filename, wchar_t* _Ext ); __declspec(dllimport) errno_t __cdecl _wsplitpath_s( wchar_t const* _FullPath, wchar_t* _Drive, size_t _DriveCount, wchar_t* _Dir, size_t _DirCount, wchar_t* _Filename, size_t _FilenameCount, wchar_t* _Ext, size_t _ExtCount ); #line 398 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) errno_t __cdecl _wdupenv_s( wchar_t** _Buffer, size_t* _BufferCount, wchar_t const* _VarName ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wdupenv_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t* __cdecl _wgetenv( wchar_t const* _VarName ); __declspec(dllimport) errno_t __cdecl _wgetenv_s( size_t* _RequiredCount, wchar_t* _Buffer, size_t _BufferCount, wchar_t const* _VarName ); #line 436 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) int __cdecl _wputenv( wchar_t const* _EnvString ); __declspec(dllimport) errno_t __cdecl _wputenv_s( wchar_t const* _Name, wchar_t const* _Value ); __declspec(dllimport) errno_t __cdecl _wsearchenv_s( wchar_t const* _Filename, wchar_t const* _VarName, wchar_t* _Buffer, size_t _BufferCount ); #line 461 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wsearchenv_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl _wsearchenv( wchar_t const* _Filename, wchar_t const* _VarName, wchar_t *_ResultPath); #line 468 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __declspec(dllimport) int __cdecl _wsystem( wchar_t const* _Command ); #line 474 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\corecrt_wstdlib.h" __pragma(pack(pop)) #line 15 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __pragma(pack(push, 8)) #line 24 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) void __cdecl _swab( char* _Buf1, char* _Buf2, int _SizeInBytes ); __declspec(dllimport) __declspec(noreturn) void __cdecl exit( int _Code); __declspec(dllimport) __declspec(noreturn) void __cdecl _exit( int _Code); __declspec(dllimport) __declspec(noreturn) void __cdecl _Exit( int _Code); __declspec(dllimport) __declspec(noreturn) void __cdecl quick_exit( int _Code); __declspec(dllimport) __declspec(noreturn) void __cdecl abort(void); __declspec(dllimport) unsigned int __cdecl _set_abort_behavior( unsigned int _Flags, unsigned int _Mask ); typedef int (__cdecl* _onexit_t)(void); #line 73 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 82 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" int __cdecl atexit(void (__cdecl*)(void)); _onexit_t __cdecl _onexit( _onexit_t _Func); #line 142 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" int __cdecl at_quick_exit(void (__cdecl*)(void)); typedef void (__cdecl* _purecall_handler)(void); typedef void (__cdecl* _invalid_parameter_handler)( wchar_t const*, wchar_t const*, wchar_t const*, unsigned int, uintptr_t ); __declspec(dllimport) _purecall_handler __cdecl _set_purecall_handler( _purecall_handler _Handler ); __declspec(dllimport) _purecall_handler __cdecl _get_purecall_handler(void); __declspec(dllimport) _invalid_parameter_handler __cdecl _set_invalid_parameter_handler( _invalid_parameter_handler _Handler ); __declspec(dllimport) _invalid_parameter_handler __cdecl _get_invalid_parameter_handler(void); __declspec(dllimport) _invalid_parameter_handler __cdecl _set_thread_local_invalid_parameter_handler( _invalid_parameter_handler _Handler ); __declspec(dllimport) _invalid_parameter_handler __cdecl _get_thread_local_invalid_parameter_handler(void); #line 185 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 198 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) int __cdecl _set_error_mode( int _Mode); __declspec(dllimport) int* __cdecl _errno(void); __declspec(dllimport) errno_t __cdecl _set_errno( int _Value); __declspec(dllimport) errno_t __cdecl _get_errno( int* _Value); __declspec(dllimport) unsigned long* __cdecl __doserrno(void); __declspec(dllimport) errno_t __cdecl _set_doserrno( unsigned long _Value); __declspec(dllimport) errno_t __cdecl _get_doserrno( unsigned long * _Value); __declspec(dllimport) __declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char** __cdecl __sys_errlist(void); __declspec(dllimport) __declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int * __cdecl __sys_nerr(void); __declspec(dllimport) void __cdecl perror( char const* _ErrMsg); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_get_pgmptr" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char** __cdecl __p__pgmptr (void); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_get_wpgmptr" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) wchar_t** __cdecl __p__wpgmptr(void); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_get_fmode" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) int* __cdecl __p__fmode (void); #line 248 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _get_pgmptr ( char** _Value); __declspec(dllimport) errno_t __cdecl _get_wpgmptr( wchar_t** _Value); __declspec(dllimport) errno_t __cdecl _set_fmode ( int _Mode ); __declspec(dllimport) errno_t __cdecl _get_fmode ( int* _PMode); typedef struct _div_t { int quot; int rem; } div_t; typedef struct _ldiv_t { long quot; long rem; } ldiv_t; typedef struct _lldiv_t { long long quot; long long rem; } lldiv_t; int __cdecl abs ( int _Number); long __cdecl labs ( long _Number); long long __cdecl llabs ( long long _Number); __int64 __cdecl _abs64( __int64 _Number); unsigned short __cdecl _byteswap_ushort( unsigned short _Number); unsigned long __cdecl _byteswap_ulong ( unsigned long _Number); unsigned __int64 __cdecl _byteswap_uint64( unsigned __int64 _Number); __declspec(dllimport) div_t __cdecl div ( int _Numerator, int _Denominator); __declspec(dllimport) ldiv_t __cdecl ldiv ( long _Numerator, long _Denominator); __declspec(dllimport) lldiv_t __cdecl lldiv( long long _Numerator, long long _Denominator); #pragma warning (push) #pragma warning (disable:6540) unsigned int __cdecl _rotl( unsigned int _Value, int _Shift ); unsigned long __cdecl _lrotl( unsigned long _Value, int _Shift ); unsigned __int64 __cdecl _rotl64( unsigned __int64 _Value, int _Shift ); unsigned int __cdecl _rotr( unsigned int _Value, int _Shift ); unsigned long __cdecl _lrotr( unsigned long _Value, int _Shift ); unsigned __int64 __cdecl _rotr64( unsigned __int64 _Value, int _Shift ); #pragma warning (pop) __declspec(dllimport) void __cdecl srand( unsigned int _Seed); __declspec(dllimport) int __cdecl rand(void); #line 348 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #pragma pack(push, 4) typedef struct { unsigned char ld[10]; } _LDOUBLE; #pragma pack(pop) #line 405 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" typedef struct { double x; } _CRT_DOUBLE; typedef struct { float f; } _CRT_FLOAT; typedef struct { long double x; } _LONGDOUBLE; #pragma pack(push, 4) typedef struct { unsigned char ld12[12]; } _LDBL12; #pragma pack(pop) __declspec(dllimport) double __cdecl atof ( char const* _String); __declspec(dllimport) int __cdecl atoi ( char const* _String); __declspec(dllimport) long __cdecl atol ( char const* _String); __declspec(dllimport) long long __cdecl atoll ( char const* _String); __declspec(dllimport) __int64 __cdecl _atoi64( char const* _String); __declspec(dllimport) double __cdecl _atof_l ( char const* _String, _locale_t _Locale); __declspec(dllimport) int __cdecl _atoi_l ( char const* _String, _locale_t _Locale); __declspec(dllimport) long __cdecl _atol_l ( char const* _String, _locale_t _Locale); __declspec(dllimport) long long __cdecl _atoll_l ( char const* _String, _locale_t _Locale); __declspec(dllimport) __int64 __cdecl _atoi64_l( char const* _String, _locale_t _Locale); __declspec(dllimport) int __cdecl _atoflt ( _CRT_FLOAT* _Result, char const* _String); __declspec(dllimport) int __cdecl _atodbl ( _CRT_DOUBLE* _Result, char* _String); __declspec(dllimport) int __cdecl _atoldbl( _LDOUBLE* _Result, char* _String); __declspec(dllimport) int __cdecl _atoflt_l( _CRT_FLOAT* _Result, char const* _String, _locale_t _Locale ); __declspec(dllimport) int __cdecl _atodbl_l( _CRT_DOUBLE* _Result, char* _String, _locale_t _Locale ); __declspec(dllimport) int __cdecl _atoldbl_l( _LDOUBLE* _Result, char* _String, _locale_t _Locale ); __declspec(dllimport) float __cdecl strtof( char const* _String, char** _EndPtr ); __declspec(dllimport) float __cdecl _strtof_l( char const* _String, char** _EndPtr, _locale_t _Locale ); __declspec(dllimport) double __cdecl strtod( char const* _String, char** _EndPtr ); __declspec(dllimport) double __cdecl _strtod_l( char const* _String, char** _EndPtr, _locale_t _Locale ); __declspec(dllimport) long double __cdecl strtold( char const* _String, char** _EndPtr ); __declspec(dllimport) long double __cdecl _strtold_l( char const* _String, char** _EndPtr, _locale_t _Locale ); __declspec(dllimport) long __cdecl strtol( char const* _String, char** _EndPtr, int _Radix ); __declspec(dllimport) long __cdecl _strtol_l( char const* _String, char** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) long long __cdecl strtoll( char const* _String, char** _EndPtr, int _Radix ); __declspec(dllimport) long long __cdecl _strtoll_l( char const* _String, char** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) unsigned long __cdecl strtoul( char const* _String, char** _EndPtr, int _Radix ); __declspec(dllimport) unsigned long __cdecl _strtoul_l( char const* _String, char** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) unsigned long long __cdecl strtoull( char const* _String, char** _EndPtr, int _Radix ); __declspec(dllimport) unsigned long long __cdecl _strtoull_l( char const* _String, char** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) __int64 __cdecl _strtoi64( char const* _String, char** _EndPtr, int _Radix ); __declspec(dllimport) __int64 __cdecl _strtoi64_l( char const* _String, char** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) unsigned __int64 __cdecl _strtoui64( char const* _String, char** _EndPtr, int _Radix ); __declspec(dllimport) unsigned __int64 __cdecl _strtoui64_l( char const* _String, char** _EndPtr, int _Radix, _locale_t _Locale ); __declspec(dllimport) errno_t __cdecl _itoa_s( int _Value, char* _Buffer, size_t _BufferCount, int _Radix ); #line 631 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_itoa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _itoa( int _Value, char *_Buffer, int _Radix); #line 638 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _ltoa_s( long _Value, char* _Buffer, size_t _BufferCount, int _Radix ); #line 654 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ltoa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _ltoa( long _Value, char *_Buffer, int _Radix); #line 661 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _ultoa_s( unsigned long _Value, char* _Buffer, size_t _BufferCount, int _Radix ); #line 677 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ultoa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _ultoa( unsigned long _Value, char *_Buffer, int _Radix); #line 684 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _i64toa_s( __int64 _Value, char* _Buffer, size_t _BufferCount, int _Radix ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_i64toa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _i64toa( __int64 _Value, char* _Buffer, int _Radix ); __declspec(dllimport) errno_t __cdecl _ui64toa_s( unsigned __int64 _Value, char* _Buffer, size_t _BufferCount, int _Radix ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ui64toa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _ui64toa( unsigned __int64 _Value, char* _Buffer, int _Radix ); __declspec(dllimport) errno_t __cdecl _ecvt_s( char* _Buffer, size_t _BufferCount, double _Value, int _DigitCount, int* _PtDec, int* _PtSign ); #line 749 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ecvt_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _ecvt( double _Value, int _DigitCount, int* _PtDec, int* _PtSign ); __declspec(dllimport) errno_t __cdecl _fcvt_s( char* _Buffer, size_t _BufferCount, double _Value, int _FractionalDigitCount, int* _PtDec, int* _PtSign ); #line 778 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fcvt_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _fcvt( double _Value, int _FractionalDigitCount, int* _PtDec, int* _PtSign ); __declspec(dllimport) errno_t __cdecl _gcvt_s( char* _Buffer, size_t _BufferCount, double _Value, int _DigitCount ); #line 803 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_gcvt_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl _gcvt( double _Value, int _DigitCount, char* _Buffer ); #line 824 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 826 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 832 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) int __cdecl ___mb_cur_max_func(void); __declspec(dllimport) int __cdecl ___mb_cur_max_l_func(_locale_t); #line 839 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) int __cdecl mblen( char const* _Ch, size_t _MaxCount ); __declspec(dllimport) int __cdecl _mblen_l( char const* _Ch, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) size_t __cdecl _mbstrlen( char const* _String ); __declspec(dllimport) size_t __cdecl _mbstrlen_l( char const* _String, _locale_t _Locale ); __declspec(dllimport) size_t __cdecl _mbstrnlen( char const* _String, size_t _MaxCount ); __declspec(dllimport) size_t __cdecl _mbstrnlen_l( char const* _String, size_t _MaxCount, _locale_t _Locale ); __declspec(dllimport) int __cdecl mbtowc( wchar_t* _DstCh, char const* _SrcCh, size_t _SrcSizeInBytes ); __declspec(dllimport) int __cdecl _mbtowc_l( wchar_t* _DstCh, char const* _SrcCh, size_t _SrcSizeInBytes, _locale_t _Locale ); __declspec(dllimport) errno_t __cdecl mbstowcs_s( size_t* _PtNumOfCharConverted, wchar_t* _DstBuf, size_t _SizeInWords, char const* _SrcBuf, size_t _MaxCount ); #line 914 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "mbstowcs_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) size_t __cdecl mbstowcs( wchar_t *_Dest, char const* _Source, size_t _MaxCount); #line 921 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _mbstowcs_s_l( size_t* _PtNumOfCharConverted, wchar_t* _DstBuf, size_t _SizeInWords, char const* _SrcBuf, size_t _MaxCount, _locale_t _Locale ); #line 940 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_mbstowcs_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) size_t __cdecl _mbstowcs_l( wchar_t *_Dest, char const* _Source, size_t _MaxCount, _locale_t _Locale); #line 949 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wctomb_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) int __cdecl wctomb( char* _MbCh, wchar_t _WCh ); __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wctomb_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) int __cdecl _wctomb_l( char* _MbCh, wchar_t _WCh, _locale_t _Locale ); __declspec(dllimport) errno_t __cdecl wctomb_s( int* _SizeConverted, char* _MbCh, rsize_t _SizeInBytes, wchar_t _WCh ); #line 977 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _wctomb_s_l( int* _SizeConverted, char* _MbCh, size_t _SizeInBytes, wchar_t _WCh, _locale_t _Locale); __declspec(dllimport) errno_t __cdecl wcstombs_s( size_t* _PtNumOfCharConverted, char* _Dst, size_t _DstSizeInBytes, wchar_t const* _Src, size_t _MaxCountInBytes ); #line 1002 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstombs_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) size_t __cdecl wcstombs( char *_Dest, wchar_t const* _Source, size_t _MaxCount); #line 1009 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _wcstombs_s_l( size_t* _PtNumOfCharConverted, char* _Dst, size_t _DstSizeInBytes, wchar_t const* _Src, size_t _MaxCountInBytes, _locale_t _Locale ); #line 1028 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcstombs_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) size_t __cdecl _wcstombs_l( char *_Dest, wchar_t const* _Source, size_t _MaxCount, _locale_t _Locale); #line 1037 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) __declspec(allocator) char* __cdecl _fullpath( char* _Buffer, char const* _Path, size_t _BufferCount ); __declspec(dllimport) errno_t __cdecl _makepath_s( char* _Buffer, size_t _BufferCount, char const* _Drive, char const* _Dir, char const* _Filename, char const* _Ext ); #line 1085 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_makepath_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl _makepath( char *_Buffer, char const* _Drive, char const* _Dir, char const* _Filename, char const* _Ext); #line 1094 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_splitpath_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl _splitpath( char const* _FullPath, char* _Drive, char* _Dir, char* _Filename, char* _Ext ); __declspec(dllimport) errno_t __cdecl _splitpath_s( char const* _FullPath, char* _Drive, size_t _DriveCount, char* _Dir, size_t _DirCount, char* _Filename, size_t _FilenameCount, char* _Ext, size_t _ExtCount ); __declspec(dllimport) errno_t __cdecl getenv_s( size_t* _RequiredCount, char* _Buffer, rsize_t _BufferCount, char const* _VarName ); #line 1140 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) int* __cdecl __p___argc (void); __declspec(dllimport) char*** __cdecl __p___argv (void); __declspec(dllimport) wchar_t*** __cdecl __p___wargv(void); #line 1157 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) char*** __cdecl __p__environ (void); __declspec(dllimport) wchar_t*** __cdecl __p__wenviron(void); #line 1164 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 1174 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_dupenv_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl getenv( char const* _VarName ); #line 1193 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 1198 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) errno_t __cdecl _dupenv_s( char** _Buffer, size_t* _BufferCount, char const* _VarName ); #line 1209 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(dllimport) int __cdecl system( char const* _Command ); #pragma warning (push) #pragma warning (disable:6540) __declspec(dllimport) int __cdecl _putenv( char const* _EnvString ); __declspec(dllimport) errno_t __cdecl _putenv_s( char const* _Name, char const* _Value ); #pragma warning (pop) __declspec(dllimport) errno_t __cdecl _searchenv_s( char const* _Filename, char const* _VarName, char* _Buffer, size_t _BufferCount ); #line 1245 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_searchenv_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) void __cdecl _searchenv( char const* _Filename, char const* _VarName, char *_Buffer); #line 1252 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __declspec(deprecated("This function or variable has been superceded by newer library " "or operating system functionality. Consider using " "SetErrorMode" " " "instead. See online help for details.")) __declspec(dllimport) void __cdecl _seterrormode( int _Mode ); __declspec(deprecated("This function or variable has been superceded by newer library " "or operating system functionality. Consider using " "Beep" " " "instead. See online help for details.")) __declspec(dllimport) void __cdecl _beep( unsigned _Frequency, unsigned _Duration ); __declspec(deprecated("This function or variable has been superceded by newer library " "or operating system functionality. Consider using " "Sleep" " " "instead. See online help for details.")) __declspec(dllimport) void __cdecl _sleep( unsigned long _Duration ); #line 1271 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #line 1285 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #pragma warning(push) #pragma warning(disable: 4141) __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_ecvt" ". See online help for details.")) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ecvt_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl ecvt( double _Value, int _DigitCount, int* _PtDec, int* _PtSign ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fcvt" ". See online help for details.")) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fcvt_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl fcvt( double _Value, int _FractionalDigitCount, int* _PtDec, int* _PtSign ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_gcvt" ". See online help for details.")) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fcvt_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl gcvt( double _Value, int _DigitCount, char* _DstBuf ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_itoa" ". See online help for details.")) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_itoa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl itoa( int _Value, char* _Buffer, int _Radix ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_ltoa" ". See online help for details.")) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ltoa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl ltoa( long _Value, char* _Buffer, int _Radix ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_swab" ". See online help for details.")) __declspec(dllimport) void __cdecl swab( char* _Buf1, char* _Buf2, int _SizeInBytes ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_ultoa" ". See online help for details.")) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_ultoa_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __declspec(dllimport) char* __cdecl ultoa( unsigned long _Value, char* _Buffer, int _Radix ); __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_putenv" ". See online help for details.")) __declspec(dllimport) int __cdecl putenv( char const* _EnvString ); #line 1354 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" #pragma warning(pop) _onexit_t __cdecl onexit( _onexit_t _Func); #line 1360 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt\\stdlib.h" __pragma(pack(pop)) #line 120 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" #pragma once #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 12 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" __pragma(pack(push, 8)) #line 47 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" typedef struct __declspec(align(16)) _SETJMP_FLOAT128 { unsigned __int64 Part[2]; } SETJMP_FLOAT128; typedef SETJMP_FLOAT128 _JBTYPE; typedef struct _JUMP_BUFFER { unsigned __int64 Frame; unsigned __int64 Rbx; unsigned __int64 Rsp; unsigned __int64 Rbp; unsigned __int64 Rsi; unsigned __int64 Rdi; unsigned __int64 R12; unsigned __int64 R13; unsigned __int64 R14; unsigned __int64 R15; unsigned __int64 Rip; unsigned long MxCsr; unsigned short FpCsr; unsigned short Spare; SETJMP_FLOAT128 Xmm6; SETJMP_FLOAT128 Xmm7; SETJMP_FLOAT128 Xmm8; SETJMP_FLOAT128 Xmm9; SETJMP_FLOAT128 Xmm10; SETJMP_FLOAT128 Xmm11; SETJMP_FLOAT128 Xmm12; SETJMP_FLOAT128 Xmm13; SETJMP_FLOAT128 Xmm14; SETJMP_FLOAT128 Xmm15; } _JUMP_BUFFER; #line 139 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" typedef _JBTYPE jmp_buf[16]; #line 147 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" #line 153 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" int __cdecl _setjmp( jmp_buf _Buf ); __declspec(noreturn) void __cdecl longjmp( jmp_buf _Buf, int _Value ); #line 175 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\setjmp.h" __pragma(pack(pop)) #line 155 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\stdarg.h" #pragma once #line 1 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\vcruntime.h" #line 12 "D:\\Microsoft Visual Studio 14.0\\VC\\include\\stdarg.h" __pragma(pack(push, 8)) __pragma(pack(pop)) #line 168 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 171 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/config/ftstdlib.h" #line 44 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 78 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 84 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 96 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 103 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 137 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 144 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" typedef signed short FT_Int16; typedef unsigned short FT_UInt16; #line 230 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" typedef signed int FT_Int32; typedef unsigned int FT_UInt32; #line 244 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" typedef int FT_Fast; typedef unsigned int FT_UFast; #line 258 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 277 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 285 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 319 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 321 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" typedef __int64 FT_Int64; typedef unsigned __int64 FT_UInt64; #line 326 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 346 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 348 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 366 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 378 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 380 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 389 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 391 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 400 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 402 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 411 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 413 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 422 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 424 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 454 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 455 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 464 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 465 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 471 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3-build\\include\\freetype/config/ftconfig.h" #line 34 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/freetype.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fttypes.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftsystem.h" typedef struct FT_MemoryRec_* FT_Memory; typedef void* (*FT_Alloc_Func)( FT_Memory memory, long size ); typedef void (*FT_Free_Func)( FT_Memory memory, void* block ); typedef void* (*FT_Realloc_Func)( FT_Memory memory, long cur_size, long new_size, void* block ); struct FT_MemoryRec_ { void* user; FT_Alloc_Func alloc; FT_Free_Func free; FT_Realloc_Func realloc; }; typedef struct FT_StreamRec_* FT_Stream; typedef union FT_StreamDesc_ { long value; void* pointer; } FT_StreamDesc; typedef unsigned long (*FT_Stream_IoFunc)( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ); typedef void (*FT_Stream_CloseFunc)( FT_Stream stream ); typedef struct FT_StreamRec_ { unsigned char* base; unsigned long size; unsigned long pos; FT_StreamDesc descriptor; FT_StreamDesc pathname; FT_Stream_IoFunc read; FT_Stream_CloseFunc close; FT_Memory memory; unsigned char* cursor; unsigned char* limit; } FT_StreamRec; #line 353 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftsystem.h" #line 26 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fttypes.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftimage.h" #line 35 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftimage.h" typedef signed long FT_Pos; typedef struct FT_Vector_ { FT_Pos x; FT_Pos y; } FT_Vector; typedef struct FT_BBox_ { FT_Pos xMin, yMin; FT_Pos xMax, yMax; } FT_BBox; typedef enum FT_Pixel_Mode_ { FT_PIXEL_MODE_NONE = 0, FT_PIXEL_MODE_MONO, FT_PIXEL_MODE_GRAY, FT_PIXEL_MODE_GRAY2, FT_PIXEL_MODE_GRAY4, FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V, FT_PIXEL_MODE_BGRA, FT_PIXEL_MODE_MAX } FT_Pixel_Mode; typedef struct FT_Bitmap_ { unsigned int rows; unsigned int width; int pitch; unsigned char* buffer; unsigned short num_grays; unsigned char pixel_mode; unsigned char palette_mode; void* palette; } FT_Bitmap; typedef struct FT_Outline_ { short n_contours; short n_points; FT_Vector* points; char* tags; short* contours; int flags; } FT_Outline; typedef int (*FT_Outline_MoveToFunc)( const FT_Vector* to, void* user ); typedef int (*FT_Outline_LineToFunc)( const FT_Vector* to, void* user ); typedef int (*FT_Outline_ConicToFunc)( const FT_Vector* control, const FT_Vector* to, void* user ); typedef int (*FT_Outline_CubicToFunc)( const FT_Vector* control1, const FT_Vector* control2, const FT_Vector* to, void* user ); typedef struct FT_Outline_Funcs_ { FT_Outline_MoveToFunc move_to; FT_Outline_LineToFunc line_to; FT_Outline_ConicToFunc conic_to; FT_Outline_CubicToFunc cubic_to; int shift; FT_Pos delta; } FT_Outline_Funcs; #line 675 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftimage.h" typedef enum FT_Glyph_Format_ { FT_GLYPH_FORMAT_NONE = ( ( (unsigned long)0 << 24 ) | ( (unsigned long)0 << 16 ) | ( (unsigned long)0 << 8 ) | (unsigned long)0 ), FT_GLYPH_FORMAT_COMPOSITE = ( ( (unsigned long)'c' << 24 ) | ( (unsigned long)'o' << 16 ) | ( (unsigned long)'m' << 8 ) | (unsigned long)'p' ), FT_GLYPH_FORMAT_BITMAP = ( ( (unsigned long)'b' << 24 ) | ( (unsigned long)'i' << 16 ) | ( (unsigned long)'t' << 8 ) | (unsigned long)'s' ), FT_GLYPH_FORMAT_OUTLINE = ( ( (unsigned long)'o' << 24 ) | ( (unsigned long)'u' << 16 ) | ( (unsigned long)'t' << 8 ) | (unsigned long)'l' ), FT_GLYPH_FORMAT_PLOTTER = ( ( (unsigned long)'p' << 24 ) | ( (unsigned long)'l' << 16 ) | ( (unsigned long)'o' << 8 ) | (unsigned long)'t' ) } FT_Glyph_Format; typedef struct FT_RasterRec_* FT_Raster; typedef struct FT_Span_ { short x; unsigned short len; unsigned char coverage; } FT_Span; typedef void (*FT_SpanFunc)( int y, int count, const FT_Span* spans, void* user ); typedef int (*FT_Raster_BitTest_Func)( int y, int x, void* user ); typedef void (*FT_Raster_BitSet_Func)( int y, int x, void* user ); typedef struct FT_Raster_Params_ { const FT_Bitmap* target; const void* source; int flags; FT_SpanFunc gray_spans; FT_SpanFunc black_spans; FT_Raster_BitTest_Func bit_test; FT_Raster_BitSet_Func bit_set; void* user; FT_BBox clip_box; } FT_Raster_Params; typedef int (*FT_Raster_NewFunc)( void* memory, FT_Raster* raster ); typedef void (*FT_Raster_DoneFunc)( FT_Raster raster ); typedef void (*FT_Raster_ResetFunc)( FT_Raster raster, unsigned char* pool_base, unsigned long pool_size ); typedef int (*FT_Raster_SetModeFunc)( FT_Raster raster, unsigned long mode, void* args ); typedef int (*FT_Raster_RenderFunc)( FT_Raster raster, const FT_Raster_Params* params ); typedef struct FT_Raster_Funcs_ { FT_Glyph_Format glyph_format; FT_Raster_NewFunc raster_new; FT_Raster_ResetFunc raster_reset; FT_Raster_SetModeFunc raster_set_mode; FT_Raster_RenderFunc raster_render; FT_Raster_DoneFunc raster_done; } FT_Raster_Funcs; #line 1207 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftimage.h" #line 27 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fttypes.h" typedef unsigned char FT_Bool; typedef signed short FT_FWord; typedef unsigned short FT_UFWord; typedef signed char FT_Char; typedef unsigned char FT_Byte; typedef const FT_Byte* FT_Bytes; typedef FT_UInt32 FT_Tag; typedef char FT_String; typedef signed short FT_Short; typedef unsigned short FT_UShort; typedef signed int FT_Int; typedef unsigned int FT_UInt; typedef signed long FT_Long; typedef unsigned long FT_ULong; typedef signed short FT_F2Dot14; typedef signed long FT_F26Dot6; typedef signed long FT_Fixed; typedef int FT_Error; typedef void* FT_Pointer; typedef size_t FT_Offset; typedef ptrdiff_t FT_PtrDist; typedef struct FT_UnitVector_ { FT_F2Dot14 x; FT_F2Dot14 y; } FT_UnitVector; typedef struct FT_Matrix_ { FT_Fixed xx, xy; FT_Fixed yx, yy; } FT_Matrix; typedef struct FT_Data_ { const FT_Byte* pointer; FT_Int length; } FT_Data; typedef void (*FT_Generic_Finalizer)(void* object); typedef struct FT_Generic_ { void* data; FT_Generic_Finalizer finalizer; } FT_Generic; typedef struct FT_ListNodeRec_* FT_ListNode; typedef struct FT_ListRec_* FT_List; typedef struct FT_ListNodeRec_ { FT_ListNode prev; FT_ListNode next; void* data; } FT_ListNodeRec; typedef struct FT_ListRec_ { FT_ListNode head; FT_ListNode tail; } FT_ListRec; #line 600 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fttypes.h" #line 35 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/freetype.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmoderr.h" #line 116 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmoderr.h" #line 126 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmoderr.h" enum { #line 140 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmoderr.h" FT_Mod_Err_Base = 0, FT_Mod_Err_Autofit = 0, FT_Mod_Err_BDF = 0, FT_Mod_Err_Bzip2 = 0, FT_Mod_Err_Cache = 0, FT_Mod_Err_CFF = 0, FT_Mod_Err_CID = 0, FT_Mod_Err_Gzip = 0, FT_Mod_Err_LZW = 0, FT_Mod_Err_OTvalid = 0, FT_Mod_Err_PCF = 0, FT_Mod_Err_PFR = 0, FT_Mod_Err_PSaux = 0, FT_Mod_Err_PShinter = 0, FT_Mod_Err_PSnames = 0, FT_Mod_Err_Raster = 0, FT_Mod_Err_SFNT = 0, FT_Mod_Err_Smooth = 0, FT_Mod_Err_TrueType = 0, FT_Mod_Err_Type1 = 0, FT_Mod_Err_Type42 = 0, FT_Mod_Err_Winfonts = 0, FT_Mod_Err_GXvalid = 0, FT_Mod_Err_Max }; #line 170 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmoderr.h" #line 192 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmoderr.h" #line 118 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 138 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 154 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 171 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" enum { #line 185 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Ok = 0x00, #line 61 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Cannot_Open_Resource = 0x01 + 0, #line 64 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Unknown_File_Format = 0x02 + 0, #line 66 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_File_Format = 0x03 + 0, #line 68 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Version = 0x04 + 0, #line 70 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Lower_Module_Version = 0x05 + 0, #line 72 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Argument = 0x06 + 0, #line 74 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Unimplemented_Feature = 0x07 + 0, #line 76 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Table = 0x08 + 0, #line 78 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Offset = 0x09 + 0, #line 80 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Array_Too_Large = 0x0A + 0, #line 82 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Module = 0x0B + 0, #line 84 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Property = 0x0C + 0, #line 86 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Glyph_Index = 0x10 + 0, #line 91 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Character_Code = 0x11 + 0, #line 93 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Glyph_Format = 0x12 + 0, #line 95 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Cannot_Render_Glyph = 0x13 + 0, #line 97 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Outline = 0x14 + 0, #line 99 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Composite = 0x15 + 0, #line 101 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Many_Hints = 0x16 + 0, #line 103 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Pixel_Size = 0x17 + 0, #line 105 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Handle = 0x20 + 0, #line 110 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Library_Handle = 0x21 + 0, #line 112 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Driver_Handle = 0x22 + 0, #line 114 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Face_Handle = 0x23 + 0, #line 116 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Size_Handle = 0x24 + 0, #line 118 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Slot_Handle = 0x25 + 0, #line 120 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_CharMap_Handle = 0x26 + 0, #line 122 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Cache_Handle = 0x27 + 0, #line 124 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Stream_Handle = 0x28 + 0, #line 126 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Many_Drivers = 0x30 + 0, #line 131 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Many_Extensions = 0x31 + 0, #line 133 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Out_Of_Memory = 0x40 + 0, #line 138 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Unlisted_Object = 0x41 + 0, #line 140 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Cannot_Open_Stream = 0x51 + 0, #line 145 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Stream_Seek = 0x52 + 0, #line 147 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Stream_Skip = 0x53 + 0, #line 149 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Stream_Read = 0x54 + 0, #line 151 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Stream_Operation = 0x55 + 0, #line 153 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Frame_Operation = 0x56 + 0, #line 155 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Nested_Frame_Access = 0x57 + 0, #line 157 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Frame_Read = 0x58 + 0, #line 159 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Raster_Uninitialized = 0x60 + 0, #line 164 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Raster_Corrupted = 0x61 + 0, #line 166 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Raster_Overflow = 0x62 + 0, #line 168 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Raster_Negative_Height = 0x63 + 0, #line 170 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Many_Caches = 0x70 + 0, #line 175 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Opcode = 0x80 + 0, #line 180 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Few_Arguments = 0x81 + 0, #line 182 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Stack_Overflow = 0x82 + 0, #line 184 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Code_Overflow = 0x83 + 0, #line 186 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Bad_Argument = 0x84 + 0, #line 188 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Divide_By_Zero = 0x85 + 0, #line 190 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Reference = 0x86 + 0, #line 192 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Debug_OpCode = 0x87 + 0, #line 194 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_ENDF_In_Exec_Stream = 0x88 + 0, #line 196 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Nested_DEFS = 0x89 + 0, #line 198 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_CodeRange = 0x8A + 0, #line 200 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Execution_Too_Long = 0x8B + 0, #line 202 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Many_Function_Defs = 0x8C + 0, #line 204 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Too_Many_Instruction_Defs = 0x8D + 0, #line 206 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Table_Missing = 0x8E + 0, #line 208 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Horiz_Header_Missing = 0x8F + 0, #line 210 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Locations_Missing = 0x90 + 0, #line 212 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Name_Table_Missing = 0x91 + 0, #line 214 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_CMap_Table_Missing = 0x92 + 0, #line 216 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Hmtx_Table_Missing = 0x93 + 0, #line 218 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Post_Table_Missing = 0x94 + 0, #line 220 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Horiz_Metrics = 0x95 + 0, #line 222 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_CharMap_Format = 0x96 + 0, #line 224 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_PPem = 0x97 + 0, #line 226 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Vert_Metrics = 0x98 + 0, #line 228 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Could_Not_Find_Context = 0x99 + 0, #line 230 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Post_Table_Format = 0x9A + 0, #line 232 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Invalid_Post_Table = 0x9B + 0, #line 234 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Syntax_Error = 0xA0 + 0, #line 239 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Stack_Underflow = 0xA1 + 0, #line 241 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Ignore = 0xA2 + 0, #line 243 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_No_Unicode_Glyph_Name = 0xA3 + 0, #line 245 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Glyph_Too_Big = 0xA4 + 0, #line 247 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Startfont_Field = 0xB0 + 0, #line 252 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Font_Field = 0xB1 + 0, #line 254 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Size_Field = 0xB2 + 0, #line 256 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Fontboundingbox_Field = 0xB3 + 0, #line 258 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Chars_Field = 0xB4 + 0, #line 260 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Startchar_Field = 0xB5 + 0, #line 262 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Encoding_Field = 0xB6 + 0, #line 264 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Missing_Bbx_Field = 0xB7 + 0, #line 266 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Bbx_Too_Big = 0xB8 + 0, #line 268 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Corrupted_Font_Header = 0xB9 + 0, #line 270 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" FT_Err_Corrupted_Font_Glyphs = 0xBA + 0, #line 272 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" #line 189 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" FT_Err_Max }; #line 194 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 224 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 36 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/freetype.h" typedef struct FT_Glyph_Metrics_ { FT_Pos width; FT_Pos height; FT_Pos horiBearingX; FT_Pos horiBearingY; FT_Pos horiAdvance; FT_Pos vertBearingX; FT_Pos vertBearingY; FT_Pos vertAdvance; } FT_Glyph_Metrics; typedef struct FT_Bitmap_Size_ { FT_Short height; FT_Short width; FT_Pos size; FT_Pos x_ppem; FT_Pos y_ppem; } FT_Bitmap_Size; typedef struct FT_LibraryRec_ *FT_Library; typedef struct FT_ModuleRec_* FT_Module; typedef struct FT_DriverRec_* FT_Driver; typedef struct FT_RendererRec_* FT_Renderer; typedef struct FT_FaceRec_* FT_Face; typedef struct FT_SizeRec_* FT_Size; typedef struct FT_GlyphSlotRec_* FT_GlyphSlot; typedef struct FT_CharMapRec_* FT_CharMap; #line 610 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/freetype.h" typedef enum FT_Encoding_ { FT_ENCODING_NONE = ( ( (FT_UInt32)(0) << 24 ) | ( (FT_UInt32)(0) << 16 ) | ( (FT_UInt32)(0) << 8 ) | (FT_UInt32)(0) ), FT_ENCODING_MS_SYMBOL = ( ( (FT_UInt32)('s') << 24 ) | ( (FT_UInt32)('y') << 16 ) | ( (FT_UInt32)('m') << 8 ) | (FT_UInt32)('b') ), FT_ENCODING_UNICODE = ( ( (FT_UInt32)('u') << 24 ) | ( (FT_UInt32)('n') << 16 ) | ( (FT_UInt32)('i') << 8 ) | (FT_UInt32)('c') ), FT_ENCODING_SJIS = ( ( (FT_UInt32)('s') << 24 ) | ( (FT_UInt32)('j') << 16 ) | ( (FT_UInt32)('i') << 8 ) | (FT_UInt32)('s') ), FT_ENCODING_GB2312 = ( ( (FT_UInt32)('g') << 24 ) | ( (FT_UInt32)('b') << 16 ) | ( (FT_UInt32)(' ') << 8 ) | (FT_UInt32)(' ') ), FT_ENCODING_BIG5 = ( ( (FT_UInt32)('b') << 24 ) | ( (FT_UInt32)('i') << 16 ) | ( (FT_UInt32)('g') << 8 ) | (FT_UInt32)('5') ), FT_ENCODING_WANSUNG = ( ( (FT_UInt32)('w') << 24 ) | ( (FT_UInt32)('a') << 16 ) | ( (FT_UInt32)('n') << 8 ) | (FT_UInt32)('s') ), FT_ENCODING_JOHAB = ( ( (FT_UInt32)('j') << 24 ) | ( (FT_UInt32)('o') << 16 ) | ( (FT_UInt32)('h') << 8 ) | (FT_UInt32)('a') ), FT_ENCODING_MS_SJIS = FT_ENCODING_SJIS, FT_ENCODING_MS_GB2312 = FT_ENCODING_GB2312, FT_ENCODING_MS_BIG5 = FT_ENCODING_BIG5, FT_ENCODING_MS_WANSUNG = FT_ENCODING_WANSUNG, FT_ENCODING_MS_JOHAB = FT_ENCODING_JOHAB, FT_ENCODING_ADOBE_STANDARD = ( ( (FT_UInt32)('A') << 24 ) | ( (FT_UInt32)('D') << 16 ) | ( (FT_UInt32)('O') << 8 ) | (FT_UInt32)('B') ), FT_ENCODING_ADOBE_EXPERT = ( ( (FT_UInt32)('A') << 24 ) | ( (FT_UInt32)('D') << 16 ) | ( (FT_UInt32)('B') << 8 ) | (FT_UInt32)('E') ), FT_ENCODING_ADOBE_CUSTOM = ( ( (FT_UInt32)('A') << 24 ) | ( (FT_UInt32)('D') << 16 ) | ( (FT_UInt32)('B') << 8 ) | (FT_UInt32)('C') ), FT_ENCODING_ADOBE_LATIN_1 = ( ( (FT_UInt32)('l') << 24 ) | ( (FT_UInt32)('a') << 16 ) | ( (FT_UInt32)('t') << 8 ) | (FT_UInt32)('1') ), FT_ENCODING_OLD_LATIN_2 = ( ( (FT_UInt32)('l') << 24 ) | ( (FT_UInt32)('a') << 16 ) | ( (FT_UInt32)('t') << 8 ) | (FT_UInt32)('2') ), FT_ENCODING_APPLE_ROMAN = ( ( (FT_UInt32)('a') << 24 ) | ( (FT_UInt32)('r') << 16 ) | ( (FT_UInt32)('m') << 8 ) | (FT_UInt32)('n') ) } FT_Encoding; typedef struct FT_CharMapRec_ { FT_Face face; FT_Encoding encoding; FT_UShort platform_id; FT_UShort encoding_id; } FT_CharMapRec; typedef struct FT_Face_InternalRec_* FT_Face_Internal; typedef struct FT_FaceRec_ { FT_Long num_faces; FT_Long face_index; FT_Long face_flags; FT_Long style_flags; FT_Long num_glyphs; FT_String* family_name; FT_String* style_name; FT_Int num_fixed_sizes; FT_Bitmap_Size* available_sizes; FT_Int num_charmaps; FT_CharMap* charmaps; FT_Generic generic; FT_BBox bbox; FT_UShort units_per_EM; FT_Short ascender; FT_Short descender; FT_Short height; FT_Short max_advance_width; FT_Short max_advance_height; FT_Short underline_position; FT_Short underline_thickness; FT_GlyphSlot glyph; FT_Size size; FT_CharMap charmap; FT_Driver driver; FT_Memory memory; FT_Stream stream; FT_ListRec sizes_list; FT_Generic autohint; void* extensions; FT_Face_Internal internal; } FT_FaceRec; typedef struct FT_Size_InternalRec_* FT_Size_Internal; typedef struct FT_Size_Metrics_ { FT_UShort x_ppem; FT_UShort y_ppem; FT_Fixed x_scale; FT_Fixed y_scale; FT_Pos ascender; FT_Pos descender; FT_Pos height; FT_Pos max_advance; } FT_Size_Metrics; typedef struct FT_SizeRec_ { FT_Face face; FT_Generic generic; FT_Size_Metrics metrics; FT_Size_Internal internal; } FT_SizeRec; typedef struct FT_SubGlyphRec_* FT_SubGlyph; typedef struct FT_Slot_InternalRec_* FT_Slot_Internal; typedef struct FT_GlyphSlotRec_ { FT_Library library; FT_Face face; FT_GlyphSlot next; FT_UInt reserved; FT_Generic generic; FT_Glyph_Metrics metrics; FT_Fixed linearHoriAdvance; FT_Fixed linearVertAdvance; FT_Vector advance; FT_Glyph_Format format; FT_Bitmap bitmap; FT_Int bitmap_left; FT_Int bitmap_top; FT_Outline outline; FT_UInt num_subglyphs; FT_SubGlyph subglyphs; void* control_data; long control_len; FT_Pos lsb_delta; FT_Pos rsb_delta; void* other; FT_Slot_Internal internal; } FT_GlyphSlotRec; extern FT_Error FT_Init_FreeType( FT_Library *alibrary ); extern FT_Error FT_Done_FreeType( FT_Library library ); typedef struct FT_Parameter_ { FT_ULong tag; FT_Pointer data; } FT_Parameter; typedef struct FT_Open_Args_ { FT_UInt flags; const FT_Byte* memory_base; FT_Long memory_size; FT_String* pathname; FT_Stream stream; FT_Module driver; FT_Int num_params; FT_Parameter* params; } FT_Open_Args; extern FT_Error FT_New_Face( FT_Library library, const char* filepathname, FT_Long face_index, FT_Face *aface ); extern FT_Error FT_New_Memory_Face( FT_Library library, const FT_Byte* file_base, FT_Long file_size, FT_Long face_index, FT_Face *aface ); extern FT_Error FT_Open_Face( FT_Library library, const FT_Open_Args* args, FT_Long face_index, FT_Face *aface ); extern FT_Error FT_Attach_File( FT_Face face, const char* filepathname ); extern FT_Error FT_Attach_Stream( FT_Face face, FT_Open_Args* parameters ); extern FT_Error FT_Reference_Face( FT_Face face ); extern FT_Error FT_Done_Face( FT_Face face ); extern FT_Error FT_Select_Size( FT_Face face, FT_Int strike_index ); typedef enum FT_Size_Request_Type_ { FT_SIZE_REQUEST_TYPE_NOMINAL, FT_SIZE_REQUEST_TYPE_REAL_DIM, FT_SIZE_REQUEST_TYPE_BBOX, FT_SIZE_REQUEST_TYPE_CELL, FT_SIZE_REQUEST_TYPE_SCALES, FT_SIZE_REQUEST_TYPE_MAX } FT_Size_Request_Type; typedef struct FT_Size_RequestRec_ { FT_Size_Request_Type type; FT_Long width; FT_Long height; FT_UInt horiResolution; FT_UInt vertResolution; } FT_Size_RequestRec; typedef struct FT_Size_RequestRec_ *FT_Size_Request; extern FT_Error FT_Request_Size( FT_Face face, FT_Size_Request req ); extern FT_Error FT_Set_Char_Size( FT_Face face, FT_F26Dot6 char_width, FT_F26Dot6 char_height, FT_UInt horz_resolution, FT_UInt vert_resolution ); extern FT_Error FT_Set_Pixel_Sizes( FT_Face face, FT_UInt pixel_width, FT_UInt pixel_height ); extern FT_Error FT_Load_Glyph( FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags ); extern FT_Error FT_Load_Char( FT_Face face, FT_ULong char_code, FT_Int32 load_flags ); extern void FT_Set_Transform( FT_Face face, FT_Matrix* matrix, FT_Vector* delta ); typedef enum FT_Render_Mode_ { FT_RENDER_MODE_NORMAL = 0, FT_RENDER_MODE_LIGHT, FT_RENDER_MODE_MONO, FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V, FT_RENDER_MODE_MAX } FT_Render_Mode; extern FT_Error FT_Render_Glyph( FT_GlyphSlot slot, FT_Render_Mode render_mode ); typedef enum FT_Kerning_Mode_ { FT_KERNING_DEFAULT = 0, FT_KERNING_UNFITTED, FT_KERNING_UNSCALED } FT_Kerning_Mode; extern FT_Error FT_Get_Kerning( FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning ); extern FT_Error FT_Get_Track_Kerning( FT_Face face, FT_Fixed point_size, FT_Int degree, FT_Fixed* akerning ); extern FT_Error FT_Get_Glyph_Name( FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max ); extern const char* FT_Get_Postscript_Name( FT_Face face ); extern FT_Error FT_Select_Charmap( FT_Face face, FT_Encoding encoding ); extern FT_Error FT_Set_Charmap( FT_Face face, FT_CharMap charmap ); extern FT_Int FT_Get_Charmap_Index( FT_CharMap charmap ); extern FT_UInt FT_Get_Char_Index( FT_Face face, FT_ULong charcode ); extern FT_ULong FT_Get_First_Char( FT_Face face, FT_UInt *agindex ); extern FT_ULong FT_Get_Next_Char( FT_Face face, FT_ULong char_code, FT_UInt *agindex ); extern FT_UInt FT_Get_Name_Index( FT_Face face, FT_String* glyph_name ); extern FT_Error FT_Get_SubGlyph_Info( FT_GlyphSlot glyph, FT_UInt sub_index, FT_Int *p_index, FT_UInt *p_flags, FT_Int *p_arg1, FT_Int *p_arg2, FT_Matrix *p_transform ); extern FT_UShort FT_Get_FSType_Flags( FT_Face face ); extern FT_UInt FT_Face_GetCharVariantIndex( FT_Face face, FT_ULong charcode, FT_ULong variantSelector ); extern FT_Int FT_Face_GetCharVariantIsDefault( FT_Face face, FT_ULong charcode, FT_ULong variantSelector ); extern FT_UInt32* FT_Face_GetVariantSelectors( FT_Face face ); extern FT_UInt32* FT_Face_GetVariantsOfChar( FT_Face face, FT_ULong charcode ); extern FT_UInt32* FT_Face_GetCharsOfVariant( FT_Face face, FT_ULong variantSelector ); extern FT_Long FT_MulDiv( FT_Long a, FT_Long b, FT_Long c ); extern FT_Long FT_MulFix( FT_Long a, FT_Long b ); extern FT_Long FT_DivFix( FT_Long a, FT_Long b ); extern FT_Fixed FT_RoundFix( FT_Fixed a ); extern FT_Fixed FT_CeilFix( FT_Fixed a ); extern FT_Fixed FT_FloorFix( FT_Fixed a ); extern void FT_Vector_Transform( FT_Vector* vec, const FT_Matrix* matrix ); extern void FT_Library_Version( FT_Library library, FT_Int *amajor, FT_Int *aminor, FT_Int *apatch ); extern FT_Bool FT_Face_CheckTrueTypePatents( FT_Face face ); extern FT_Bool FT_Face_SetUnpatentedHinting( FT_Face face, FT_Bool value ); #line 4270 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/freetype.h" #line 21 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftrender.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmodapi.h" typedef FT_Pointer FT_Module_Interface; typedef FT_Error (*FT_Module_Constructor)( FT_Module module ); typedef void (*FT_Module_Destructor)( FT_Module module ); typedef FT_Module_Interface (*FT_Module_Requester)( FT_Module module, const char* name ); typedef struct FT_Module_Class_ { FT_ULong module_flags; FT_Long module_size; const FT_String* module_name; FT_Fixed module_version; FT_Fixed module_requires; const void* module_interface; FT_Module_Constructor module_init; FT_Module_Destructor module_done; FT_Module_Requester get_interface; } FT_Module_Class; extern FT_Error FT_Add_Module( FT_Library library, const FT_Module_Class* clazz ); extern FT_Module FT_Get_Module( FT_Library library, const char* module_name ); extern FT_Error FT_Remove_Module( FT_Library library, FT_Module module ); extern FT_Error FT_Property_Set( FT_Library library, const FT_String* module_name, const FT_String* property_name, const void* value ); extern FT_Error FT_Property_Get( FT_Library library, const FT_String* module_name, const FT_String* property_name, void* value ); extern FT_Error FT_Reference_Library( FT_Library library ); extern FT_Error FT_New_Library( FT_Memory memory, FT_Library *alibrary ); extern FT_Error FT_Done_Library( FT_Library library ); typedef void (*FT_DebugHook_Func)( void* arg ); extern void FT_Set_Debug_Hook( FT_Library library, FT_UInt hook_index, FT_DebugHook_Func debug_hook ); extern void FT_Add_Default_Modules( FT_Library library ); typedef enum FT_TrueTypeEngineType_ { FT_TRUETYPE_ENGINE_TYPE_NONE = 0, FT_TRUETYPE_ENGINE_TYPE_UNPATENTED, FT_TRUETYPE_ENGINE_TYPE_PATENTED } FT_TrueTypeEngineType; extern FT_TrueTypeEngineType FT_Get_TrueType_Engine_Type( FT_Library library ); #line 665 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftmodapi.h" #line 25 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftrender.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftglyph.h" typedef struct FT_Glyph_Class_ FT_Glyph_Class; typedef struct FT_GlyphRec_* FT_Glyph; typedef struct FT_GlyphRec_ { FT_Library library; const FT_Glyph_Class* clazz; FT_Glyph_Format format; FT_Vector advance; } FT_GlyphRec; typedef struct FT_BitmapGlyphRec_* FT_BitmapGlyph; typedef struct FT_BitmapGlyphRec_ { FT_GlyphRec root; FT_Int left; FT_Int top; FT_Bitmap bitmap; } FT_BitmapGlyphRec; typedef struct FT_OutlineGlyphRec_* FT_OutlineGlyph; typedef struct FT_OutlineGlyphRec_ { FT_GlyphRec root; FT_Outline outline; } FT_OutlineGlyphRec; extern FT_Error FT_Get_Glyph( FT_GlyphSlot slot, FT_Glyph *aglyph ); extern FT_Error FT_Glyph_Copy( FT_Glyph source, FT_Glyph *target ); extern FT_Error FT_Glyph_Transform( FT_Glyph glyph, FT_Matrix* matrix, FT_Vector* delta ); typedef enum FT_Glyph_BBox_Mode_ { FT_GLYPH_BBOX_UNSCALED = 0, FT_GLYPH_BBOX_SUBPIXELS = 0, FT_GLYPH_BBOX_GRIDFIT = 1, FT_GLYPH_BBOX_TRUNCATE = 2, FT_GLYPH_BBOX_PIXELS = 3 } FT_Glyph_BBox_Mode; extern void FT_Glyph_Get_CBox( FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox ); extern FT_Error FT_Glyph_To_Bitmap( FT_Glyph* the_glyph, FT_Render_Mode render_mode, FT_Vector* origin, FT_Bool destroy ); extern void FT_Done_Glyph( FT_Glyph glyph ); extern void FT_Matrix_Multiply( const FT_Matrix* a, FT_Matrix* b ); extern FT_Error FT_Matrix_Invert( FT_Matrix* matrix ); #line 598 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftglyph.h" #line 26 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftrender.h" typedef FT_Error (*FT_Glyph_InitFunc)( FT_Glyph glyph, FT_GlyphSlot slot ); typedef void (*FT_Glyph_DoneFunc)( FT_Glyph glyph ); typedef void (*FT_Glyph_TransformFunc)( FT_Glyph glyph, const FT_Matrix* matrix, const FT_Vector* delta ); typedef void (*FT_Glyph_GetBBoxFunc)( FT_Glyph glyph, FT_BBox* abbox ); typedef FT_Error (*FT_Glyph_CopyFunc)( FT_Glyph source, FT_Glyph target ); typedef FT_Error (*FT_Glyph_PrepareFunc)( FT_Glyph glyph, FT_GlyphSlot slot ); struct FT_Glyph_Class_ { FT_Long glyph_size; FT_Glyph_Format glyph_format; FT_Glyph_InitFunc glyph_init; FT_Glyph_DoneFunc glyph_done; FT_Glyph_CopyFunc glyph_copy; FT_Glyph_TransformFunc glyph_transform; FT_Glyph_GetBBoxFunc glyph_bbox; FT_Glyph_PrepareFunc glyph_prepare; }; typedef FT_Error (*FT_Renderer_RenderFunc)( FT_Renderer renderer, FT_GlyphSlot slot, FT_UInt mode, const FT_Vector* origin ); typedef FT_Error (*FT_Renderer_TransformFunc)( FT_Renderer renderer, FT_GlyphSlot slot, const FT_Matrix* matrix, const FT_Vector* delta ); typedef void (*FT_Renderer_GetCBoxFunc)( FT_Renderer renderer, FT_GlyphSlot slot, FT_BBox* cbox ); typedef FT_Error (*FT_Renderer_SetModeFunc)( FT_Renderer renderer, FT_ULong mode_tag, FT_Pointer mode_ptr ); typedef struct FT_Renderer_Class_ { FT_Module_Class root; FT_Glyph_Format glyph_format; FT_Renderer_RenderFunc render_glyph; FT_Renderer_TransformFunc transform_glyph; FT_Renderer_GetCBoxFunc get_glyph_cbox; FT_Renderer_SetModeFunc set_mode; FT_Raster_Funcs* raster_class; } FT_Renderer_Class; extern FT_Renderer FT_Get_Renderer( FT_Library library, FT_Glyph_Format format ); extern FT_Error FT_Set_Renderer( FT_Library library, FT_Renderer renderer, FT_UInt num_params, FT_Parameter* parameters ); #line 230 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftrender.h" #line 31 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftsizes.h" extern FT_Error FT_New_Size( FT_Face face, FT_Size* size ); extern FT_Error FT_Done_Size( FT_Size size ); extern FT_Error FT_Activate_Size( FT_Size size ); #line 157 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftsizes.h" #line 32 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftlcdfil.h" typedef enum FT_LcdFilter_ { FT_LCD_FILTER_NONE = 0, FT_LCD_FILTER_DEFAULT = 1, FT_LCD_FILTER_LIGHT = 2, FT_LCD_FILTER_LEGACY1 = 3, FT_LCD_FILTER_LEGACY = 16, FT_LCD_FILTER_MAX } FT_LcdFilter; extern FT_Error FT_Library_SetLcdFilter( FT_Library library, FT_LcdFilter filter ); extern FT_Error FT_Library_SetLcdFilterWeights( FT_Library library, unsigned char *weights ); #line 284 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftlcdfil.h" #line 33 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftmemory.h" #line 83 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftmemory.h" #line 105 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftmemory.h" extern FT_Pointer ft_mem_alloc( FT_Memory memory, FT_Long size, FT_Error *p_error ); extern FT_Pointer ft_mem_qalloc( FT_Memory memory, FT_Long size, FT_Error *p_error ); extern FT_Pointer ft_mem_realloc( FT_Memory memory, FT_Long item_size, FT_Long cur_count, FT_Long new_count, void* block, FT_Error *p_error ); extern FT_Pointer ft_mem_qrealloc( FT_Memory memory, FT_Long item_size, FT_Long cur_count, FT_Long new_count, void* block, FT_Error *p_error ); extern void ft_mem_free( FT_Memory memory, const void* P ); extern FT_Pointer ft_mem_strdup( FT_Memory memory, const char* str, FT_Error *p_error ); extern FT_Pointer ft_mem_dup( FT_Memory memory, const void* address, FT_ULong size, FT_Error *p_error ); extern FT_Int ft_mem_strcpyn( char* dst, const char* src, FT_ULong size ); #line 384 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftmemory.h" #line 34 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftgloadr.h" typedef struct FT_SubGlyphRec_ { FT_Int index; FT_UShort flags; FT_Int arg1; FT_Int arg2; FT_Matrix transform; } FT_SubGlyphRec; typedef struct FT_GlyphLoadRec_ { FT_Outline outline; FT_Vector* extra_points; FT_Vector* extra_points2; FT_UInt num_subglyphs; FT_SubGlyph subglyphs; } FT_GlyphLoadRec, *FT_GlyphLoad; typedef struct FT_GlyphLoaderRec_ { FT_Memory memory; FT_UInt max_points; FT_UInt max_contours; FT_UInt max_subglyphs; FT_Bool use_extra; FT_GlyphLoadRec base; FT_GlyphLoadRec current; void* other; } FT_GlyphLoaderRec, *FT_GlyphLoader; extern FT_Error FT_GlyphLoader_New( FT_Memory memory, FT_GlyphLoader *aloader ); extern FT_Error FT_GlyphLoader_CreateExtra( FT_GlyphLoader loader ); extern void FT_GlyphLoader_Done( FT_GlyphLoader loader ); extern void FT_GlyphLoader_Reset( FT_GlyphLoader loader ); extern void FT_GlyphLoader_Rewind( FT_GlyphLoader loader ); extern FT_Error FT_GlyphLoader_CheckPoints( FT_GlyphLoader loader, FT_UInt n_points, FT_UInt n_contours ); extern FT_Error FT_GlyphLoader_CheckSubGlyphs( FT_GlyphLoader loader, FT_UInt n_subs ); extern void FT_GlyphLoader_Prepare( FT_GlyphLoader loader ); extern void FT_GlyphLoader_Add( FT_GlyphLoader loader ); extern FT_Error FT_GlyphLoader_CopyPoints( FT_GlyphLoader target, FT_GlyphLoader source ); #line 152 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftgloadr.h" #line 35 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdriver.h" typedef FT_Error (*FT_Face_InitFunc)( FT_Stream stream, FT_Face face, FT_Int typeface_index, FT_Int num_params, FT_Parameter* parameters ); typedef void (*FT_Face_DoneFunc)( FT_Face face ); typedef FT_Error (*FT_Size_InitFunc)( FT_Size size ); typedef void (*FT_Size_DoneFunc)( FT_Size size ); typedef FT_Error (*FT_Slot_InitFunc)( FT_GlyphSlot slot ); typedef void (*FT_Slot_DoneFunc)( FT_GlyphSlot slot ); typedef FT_Error (*FT_Size_RequestFunc)( FT_Size size, FT_Size_Request req ); typedef FT_Error (*FT_Size_SelectFunc)( FT_Size size, FT_ULong size_index ); typedef FT_Error (*FT_Slot_LoadFunc)( FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags ); typedef FT_UInt (*FT_CharMap_CharIndexFunc)( FT_CharMap charmap, FT_Long charcode ); typedef FT_Long (*FT_CharMap_CharNextFunc)( FT_CharMap charmap, FT_Long charcode ); typedef FT_Error (*FT_Face_GetKerningFunc)( FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_Vector* kerning ); typedef FT_Error (*FT_Face_AttachFunc)( FT_Face face, FT_Stream stream ); typedef FT_Error (*FT_Face_GetAdvancesFunc)( FT_Face face, FT_UInt first, FT_UInt count, FT_Int32 flags, FT_Fixed* advances ); typedef struct FT_Driver_ClassRec_ { FT_Module_Class root; FT_Long face_object_size; FT_Long size_object_size; FT_Long slot_object_size; FT_Face_InitFunc init_face; FT_Face_DoneFunc done_face; FT_Size_InitFunc init_size; FT_Size_DoneFunc done_size; FT_Slot_InitFunc init_slot; FT_Slot_DoneFunc done_slot; FT_Slot_LoadFunc load_glyph; FT_Face_GetKerningFunc get_kerning; FT_Face_AttachFunc attach_file; FT_Face_GetAdvancesFunc get_advances; FT_Size_RequestFunc request_size; FT_Size_SelectFunc select_size; } FT_Driver_ClassRec, *FT_Driver_Class; #line 403 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdriver.h" #line 407 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdriver.h" #line 36 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/autohint.h" typedef struct FT_AutoHinterRec_ *FT_AutoHinter; typedef void (*FT_AutoHinter_GlobalGetFunc)( FT_AutoHinter hinter, FT_Face face, void** global_hints, long* global_len ); typedef void (*FT_AutoHinter_GlobalDoneFunc)( FT_AutoHinter hinter, void* global ); typedef void (*FT_AutoHinter_GlobalResetFunc)( FT_AutoHinter hinter, FT_Face face ); typedef FT_Error (*FT_AutoHinter_GlyphLoadFunc)( FT_AutoHinter hinter, FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags ); typedef struct FT_AutoHinter_InterfaceRec_ { FT_AutoHinter_GlobalResetFunc reset_face; FT_AutoHinter_GlobalGetFunc get_global_hints; FT_AutoHinter_GlobalDoneFunc done_global_hints; FT_AutoHinter_GlyphLoadFunc load_glyph; } FT_AutoHinter_InterfaceRec, *FT_AutoHinter_Interface; #line 238 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/autohint.h" #line 242 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/autohint.h" #line 37 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftserv.h" #line 86 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftserv.h" #line 136 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftserv.h" typedef struct FT_ServiceDescRec_ { const char* serv_id; const void* serv_data; } FT_ServiceDescRec; typedef const FT_ServiceDescRec* FT_ServiceDesc; #line 597 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftserv.h" extern FT_Pointer ft_service_list_lookup( FT_ServiceDesc service_descriptors, const char* service_id ); typedef struct FT_ServiceCacheRec_ { FT_Pointer service_POSTSCRIPT_FONT_NAME; FT_Pointer service_MULTI_MASTERS; FT_Pointer service_GLYPH_DICT; FT_Pointer service_PFR_METRICS; FT_Pointer service_WINFNT; } FT_ServiceCacheRec, *FT_ServiceCache; #line 719 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftserv.h" #line 761 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftserv.h" #line 38 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftpic.h" #line 69 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftpic.h" #line 39 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftincrem.h" typedef struct FT_IncrementalRec_* FT_Incremental; typedef struct FT_Incremental_MetricsRec_ { FT_Long bearing_x; FT_Long bearing_y; FT_Long advance; FT_Long advance_v; } FT_Incremental_MetricsRec; typedef struct FT_Incremental_MetricsRec_* FT_Incremental_Metrics; typedef FT_Error (*FT_Incremental_GetGlyphDataFunc)( FT_Incremental incremental, FT_UInt glyph_index, FT_Data* adata ); typedef void (*FT_Incremental_FreeGlyphDataFunc)( FT_Incremental incremental, FT_Data* data ); typedef FT_Error (*FT_Incremental_GetGlyphMetricsFunc) ( FT_Incremental incremental, FT_UInt glyph_index, FT_Bool vertical, FT_Incremental_MetricsRec *ametrics ); typedef struct FT_Incremental_FuncsRec_ { FT_Incremental_GetGlyphDataFunc get_glyph_data; FT_Incremental_FreeGlyphDataFunc free_glyph_data; FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics; } FT_Incremental_FuncsRec; typedef struct FT_Incremental_InterfaceRec_ { const FT_Incremental_FuncsRec* funcs; FT_Incremental object; } FT_Incremental_InterfaceRec; typedef FT_Incremental_InterfaceRec* FT_Incremental_Interface; #line 352 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftincrem.h" #line 42 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 43 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 55 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 59 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" typedef struct FT_CMapRec_* FT_CMap; typedef const struct FT_CMap_ClassRec_* FT_CMap_Class; typedef struct FT_CMapRec_ { FT_CharMapRec charmap; FT_CMap_Class clazz; } FT_CMapRec; typedef FT_Error (*FT_CMap_InitFunc)( FT_CMap cmap, FT_Pointer init_data ); typedef void (*FT_CMap_DoneFunc)( FT_CMap cmap ); typedef FT_UInt (*FT_CMap_CharIndexFunc)( FT_CMap cmap, FT_UInt32 char_code ); typedef FT_UInt (*FT_CMap_CharNextFunc)( FT_CMap cmap, FT_UInt32 *achar_code ); typedef FT_UInt (*FT_CMap_CharVarIndexFunc)( FT_CMap cmap, FT_CMap unicode_cmap, FT_UInt32 char_code, FT_UInt32 variant_selector ); typedef FT_Bool (*FT_CMap_CharVarIsDefaultFunc)( FT_CMap cmap, FT_UInt32 char_code, FT_UInt32 variant_selector ); typedef FT_UInt32 * (*FT_CMap_VariantListFunc)( FT_CMap cmap, FT_Memory mem ); typedef FT_UInt32 * (*FT_CMap_CharVariantListFunc)( FT_CMap cmap, FT_Memory mem, FT_UInt32 char_code ); typedef FT_UInt32 * (*FT_CMap_VariantCharListFunc)( FT_CMap cmap, FT_Memory mem, FT_UInt32 variant_selector ); typedef struct FT_CMap_ClassRec_ { FT_ULong size; FT_CMap_InitFunc init; FT_CMap_DoneFunc done; FT_CMap_CharIndexFunc char_index; FT_CMap_CharNextFunc char_next; FT_CMap_CharVarIndexFunc char_var_index; FT_CMap_CharVarIsDefaultFunc char_var_default; FT_CMap_VariantListFunc variant_list; FT_CMap_CharVariantListFunc charvariant_list; FT_CMap_VariantCharListFunc variantchar_list; } FT_CMap_ClassRec; #line 283 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" extern FT_Error FT_CMap_New( FT_CMap_Class clazz, FT_Pointer init_data, FT_CharMap charmap, FT_CMap *acmap ); extern void FT_CMap_Done( FT_CMap cmap ); typedef struct FT_Face_InternalRec_ { FT_Matrix transform_matrix; FT_Vector transform_delta; FT_Int transform_flags; FT_ServiceCacheRec services; FT_Incremental_InterfaceRec* incremental_interface; #line 361 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" FT_Int refcount; } FT_Face_InternalRec; typedef struct FT_Slot_InternalRec_ { FT_GlyphLoader loader; FT_UInt flags; FT_Bool glyph_transformed; FT_Matrix glyph_matrix; FT_Vector glyph_delta; void* glyph_hints; } FT_GlyphSlot_InternalRec; #line 435 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" typedef struct FT_ModuleRec_ { FT_Module_Class* clazz; FT_Library library; FT_Memory memory; } FT_ModuleRec; extern const void* FT_Get_Module_Interface( FT_Library library, const char* mod_name ); extern FT_Pointer ft_module_get_service( FT_Module module, const char* service_id ); extern FT_Error FT_New_GlyphSlot( FT_Face face, FT_GlyphSlot *aslot ); extern void FT_Done_GlyphSlot( FT_GlyphSlot slot ); extern void FT_Select_Metrics( FT_Face face, FT_ULong strike_index ); extern void FT_Request_Metrics( FT_Face face, FT_Size_Request req ); extern FT_Error FT_Match_Size( FT_Face face, FT_Size_Request req, FT_Bool ignore_width, FT_ULong* size_index ); extern void ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, FT_Pos advance ); extern void ft_glyphslot_free_bitmap( FT_GlyphSlot slot ); extern FT_Error ft_glyphslot_alloc_bitmap( FT_GlyphSlot slot, FT_ULong size ); extern void ft_glyphslot_set_bitmap( FT_GlyphSlot slot, FT_Byte* buffer ); typedef struct FT_RendererRec_ { FT_ModuleRec root; FT_Renderer_Class* clazz; FT_Glyph_Format glyph_format; FT_Glyph_Class glyph_class; FT_Raster raster; FT_Raster_RenderFunc raster_render; FT_Renderer_RenderFunc render; } FT_RendererRec; typedef struct FT_DriverRec_ { FT_ModuleRec root; FT_Driver_Class clazz; FT_ListRec faces_list; FT_GlyphLoader glyph_loader; } FT_DriverRec; typedef void (*FT_Bitmap_LcdFilterFunc)( FT_Bitmap* bitmap, FT_Render_Mode render_mode, FT_Library library ); typedef struct FT_LibraryRec_ { FT_Memory memory; FT_Int version_major; FT_Int version_minor; FT_Int version_patch; FT_UInt num_modules; FT_Module modules[32]; FT_ListRec renderers; FT_Renderer cur_renderer; FT_Module auto_hinter; FT_Byte* raster_pool; FT_ULong raster_pool_size; FT_DebugHook_Func debug_hooks[4]; FT_Int refcount; } FT_LibraryRec; extern FT_Renderer FT_Lookup_Renderer( FT_Library library, FT_Glyph_Format format, FT_ListNode* node ); extern FT_Error FT_Render_Glyph_Internal( FT_Library library, FT_GlyphSlot slot, FT_Render_Mode render_mode ); typedef const char* (*FT_Face_GetPostscriptNameFunc)( FT_Face face ); typedef FT_Error (*FT_Face_GetGlyphNameFunc)( FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max ); typedef FT_UInt (*FT_Face_GetGlyphNameIndexFunc)( FT_Face face, FT_String* glyph_name ); extern FT_Memory FT_New_Memory( void ); extern void FT_Done_Memory( FT_Memory memory ); #line 938 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" extern FT_Raster_Funcs ft_default_raster; #line 949 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1024 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1081 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1150 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1312 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1553 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 1558 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftobjs.h" #line 22 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.h" #line 99 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.h" #line 103 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.h" #line 23 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftoutln.h" extern FT_Error FT_Outline_Decompose( FT_Outline* outline, const FT_Outline_Funcs* func_interface, void* user ); extern FT_Error FT_Outline_New( FT_Library library, FT_UInt numPoints, FT_Int numContours, FT_Outline *anoutline ); extern FT_Error FT_Outline_New_Internal( FT_Memory memory, FT_UInt numPoints, FT_Int numContours, FT_Outline *anoutline ); extern FT_Error FT_Outline_Done( FT_Library library, FT_Outline* outline ); extern FT_Error FT_Outline_Done_Internal( FT_Memory memory, FT_Outline* outline ); extern FT_Error FT_Outline_Check( FT_Outline* outline ); extern void FT_Outline_Get_CBox( const FT_Outline* outline, FT_BBox *acbox ); extern void FT_Outline_Translate( const FT_Outline* outline, FT_Pos xOffset, FT_Pos yOffset ); extern FT_Error FT_Outline_Copy( const FT_Outline* source, FT_Outline *target ); extern void FT_Outline_Transform( const FT_Outline* outline, const FT_Matrix* matrix ); extern FT_Error FT_Outline_Embolden( FT_Outline* outline, FT_Pos strength ); extern FT_Error FT_Outline_EmboldenXY( FT_Outline* outline, FT_Pos xstrength, FT_Pos ystrength ); extern void FT_Outline_Reverse( FT_Outline* outline ); extern FT_Error FT_Outline_Get_Bitmap( FT_Library library, FT_Outline* outline, const FT_Bitmap *abitmap ); extern FT_Error FT_Outline_Render( FT_Library library, FT_Outline* outline, FT_Raster_Params* params ); typedef enum FT_Orientation_ { FT_ORIENTATION_TRUETYPE = 0, FT_ORIENTATION_POSTSCRIPT = 1, FT_ORIENTATION_FILL_RIGHT = FT_ORIENTATION_TRUETYPE, FT_ORIENTATION_FILL_LEFT = FT_ORIENTATION_POSTSCRIPT, FT_ORIENTATION_NONE } FT_Orientation; extern FT_Orientation FT_Outline_Get_Orientation( FT_Outline* outline ); #line 567 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftoutln.h" #line 39 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdebug.h" #line 98 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdebug.h" extern FT_Int FT_Trace_Get_Count( void ); extern const char* FT_Trace_Get_Name( FT_Int idx ); #line 184 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdebug.h" #line 216 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdebug.h" extern void ft_debug_init( void ); #line 253 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftdebug.h" #line 41 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.h" typedef enum AF_Blue_String_ { AF_BLUE_STRING_ARABIC_TOP = 0, AF_BLUE_STRING_ARABIC_BOTTOM = 18, AF_BLUE_STRING_ARABIC_JOIN = 33, AF_BLUE_STRING_BENGALI_BASE = 36, AF_BLUE_STRING_BENGALI_TOP = 68, AF_BLUE_STRING_BENGALI_HEAD = 96, AF_BLUE_STRING_CYRILLIC_CAPITAL_TOP = 128, AF_BLUE_STRING_CYRILLIC_CAPITAL_BOTTOM = 152, AF_BLUE_STRING_CYRILLIC_SMALL = 176, AF_BLUE_STRING_CYRILLIC_SMALL_DESCENDER = 200, AF_BLUE_STRING_DEVANAGARI_BASE = 209, AF_BLUE_STRING_DEVANAGARI_TOP = 241, AF_BLUE_STRING_DEVANAGARI_HEAD = 273, AF_BLUE_STRING_DEVANAGARI_BOTTOM = 305, AF_BLUE_STRING_GREEK_CAPITAL_TOP = 313, AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM = 334, AF_BLUE_STRING_GREEK_SMALL_BETA_TOP = 352, AF_BLUE_STRING_GREEK_SMALL = 370, AF_BLUE_STRING_GREEK_SMALL_DESCENDER = 394, AF_BLUE_STRING_HEBREW_TOP = 418, AF_BLUE_STRING_HEBREW_BOTTOM = 442, AF_BLUE_STRING_HEBREW_DESCENDER = 460, AF_BLUE_STRING_KANNADA_TOP = 475, AF_BLUE_STRING_KANNADA_BOTTOM = 519, AF_BLUE_STRING_KHMER_TOP = 551, AF_BLUE_STRING_KHMER_SUBSCRIPT_TOP = 575, AF_BLUE_STRING_KHMER_BOTTOM = 615, AF_BLUE_STRING_KHMER_DESCENDER = 647, AF_BLUE_STRING_KHMER_LARGE_DESCENDER = 681, AF_BLUE_STRING_KHMER_SYMBOLS_WAXING_TOP = 768, AF_BLUE_STRING_KHMER_SYMBOLS_WANING_BOTTOM = 776, AF_BLUE_STRING_LAO_TOP = 784, AF_BLUE_STRING_LAO_BOTTOM = 816, AF_BLUE_STRING_LAO_ASCENDER = 848, AF_BLUE_STRING_LAO_LARGE_ASCENDER = 864, AF_BLUE_STRING_LAO_DESCENDER = 876, AF_BLUE_STRING_LATIN_CAPITAL_TOP = 900, AF_BLUE_STRING_LATIN_CAPITAL_BOTTOM = 916, AF_BLUE_STRING_LATIN_SMALL_F_TOP = 932, AF_BLUE_STRING_LATIN_SMALL = 946, AF_BLUE_STRING_LATIN_SMALL_DESCENDER = 960, AF_BLUE_STRING_LATIN_SUBS_CAPITAL_TOP = 970, AF_BLUE_STRING_LATIN_SUBS_CAPITAL_BOTTOM = 990, AF_BLUE_STRING_LATIN_SUBS_SMALL_F_TOP = 1010, AF_BLUE_STRING_LATIN_SUBS_SMALL = 1030, AF_BLUE_STRING_LATIN_SUBS_SMALL_DESCENDER = 1066, AF_BLUE_STRING_LATIN_SUPS_CAPITAL_TOP = 1086, AF_BLUE_STRING_LATIN_SUPS_CAPITAL_BOTTOM = 1117, AF_BLUE_STRING_LATIN_SUPS_SMALL_F_TOP = 1146, AF_BLUE_STRING_LATIN_SUPS_SMALL = 1172, AF_BLUE_STRING_LATIN_SUPS_SMALL_DESCENDER = 1197, AF_BLUE_STRING_MYANMAR_TOP = 1208, AF_BLUE_STRING_MYANMAR_BOTTOM = 1240, AF_BLUE_STRING_MYANMAR_ASCENDER = 1272, AF_BLUE_STRING_MYANMAR_DESCENDER = 1300, AF_BLUE_STRING_TELUGU_TOP = 1332, AF_BLUE_STRING_TELUGU_BOTTOM = 1360, AF_BLUE_STRING_THAI_TOP = 1388, AF_BLUE_STRING_THAI_BOTTOM = 1412, AF_BLUE_STRING_THAI_ASCENDER = 1440, AF_BLUE_STRING_THAI_LARGE_ASCENDER = 1452, AF_BLUE_STRING_THAI_DESCENDER = 1464, AF_BLUE_STRING_THAI_LARGE_DESCENDER = 1480, AF_BLUE_STRING_THAI_DIGIT_TOP = 1488, af_blue_1_1 = 1499, AF_BLUE_STRING_CJK_TOP = af_blue_1_1 + 1, AF_BLUE_STRING_CJK_BOTTOM = af_blue_1_1 + 203, af_blue_1_1_1 = af_blue_1_1 + 404, af_blue_1_1_2 = af_blue_1_1_1 + 0, #line 156 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.h" af_blue_1_2 = af_blue_1_1_2 + 0, #line 160 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.h" AF_BLUE_STRING_MAX } AF_Blue_String; extern const char af_blue_strings[]; typedef enum AF_Blue_Stringset_ { AF_BLUE_STRINGSET_ARAB = 0, AF_BLUE_STRINGSET_BENG = 4, AF_BLUE_STRINGSET_CYRL = 9, AF_BLUE_STRINGSET_DEVA = 15, AF_BLUE_STRINGSET_GREK = 21, AF_BLUE_STRINGSET_HEBR = 28, AF_BLUE_STRINGSET_KNDA = 32, AF_BLUE_STRINGSET_KHMR = 35, AF_BLUE_STRINGSET_KHMS = 41, AF_BLUE_STRINGSET_LAO = 44, AF_BLUE_STRINGSET_LATN = 50, AF_BLUE_STRINGSET_LATB = 57, AF_BLUE_STRINGSET_LATP = 64, AF_BLUE_STRINGSET_MYMR = 71, AF_BLUE_STRINGSET_TELU = 76, AF_BLUE_STRINGSET_THAI = 79, af_blue_2_1 = 87, AF_BLUE_STRINGSET_HANI = af_blue_2_1 + 0, af_blue_2_1_1 = af_blue_2_1 + 2, af_blue_2_1_2 = af_blue_2_1_1 + 0, #line 228 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.h" af_blue_2_2 = af_blue_2_1_2 + 1, #line 232 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.h" AF_BLUE_STRINGSET_MAX } AF_Blue_Stringset; typedef struct AF_Blue_StringRec_ { AF_Blue_String string; FT_UShort properties; } AF_Blue_StringRec; extern const AF_Blue_StringRec af_blue_stringsets[]; #line 256 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.h" #line 43 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" typedef struct AF_WidthRec_ { FT_Pos org; FT_Pos cur; FT_Pos fit; } AF_WidthRec, *AF_Width; static void af_sort_pos( FT_UInt count, FT_Pos* table ); static void af_sort_and_quantize_widths( FT_UInt* count, AF_Width widths, FT_Pos threshold ); typedef FT_Int AF_Angle; #line 136 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" typedef struct AF_GlyphHintsRec_* AF_GlyphHints; typedef struct AF_ScalerRec_ { FT_Face face; FT_Fixed x_scale; FT_Fixed y_scale; FT_Pos x_delta; FT_Pos y_delta; FT_Render_Mode render_mode; FT_UInt32 flags; } AF_ScalerRec, *AF_Scaler; typedef struct AF_StyleMetricsRec_* AF_StyleMetrics; typedef FT_Error (*AF_WritingSystem_InitMetricsFunc)( AF_StyleMetrics metrics, FT_Face face ); typedef void (*AF_WritingSystem_ScaleMetricsFunc)( AF_StyleMetrics metrics, AF_Scaler scaler ); typedef void (*AF_WritingSystem_DoneMetricsFunc)( AF_StyleMetrics metrics ); typedef void (*AF_WritingSystem_GetStdWidthsFunc)( AF_StyleMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ); typedef FT_Error (*AF_WritingSystem_InitHintsFunc)( AF_GlyphHints hints, AF_StyleMetrics metrics ); typedef void (*AF_WritingSystem_ApplyHintsFunc)( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_StyleMetrics metrics ); typedef enum AF_WritingSystem_ { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" AF_WRITING_SYSTEM_DUMMY, AF_WRITING_SYSTEM_LATIN, AF_WRITING_SYSTEM_CJK, AF_WRITING_SYSTEM_INDIC, #line 268 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" AF_WRITING_SYSTEM_MAX } AF_WritingSystem; typedef struct AF_WritingSystemClassRec_ { AF_WritingSystem writing_system; FT_Offset style_metrics_size; AF_WritingSystem_InitMetricsFunc style_metrics_init; AF_WritingSystem_ScaleMetricsFunc style_metrics_scale; AF_WritingSystem_DoneMetricsFunc style_metrics_done; AF_WritingSystem_GetStdWidthsFunc style_metrics_getstdw; AF_WritingSystem_InitHintsFunc style_hints_init; AF_WritingSystem_ApplyHintsFunc style_hints_apply; } AF_WritingSystemClassRec; typedef const AF_WritingSystemClassRec* AF_WritingSystemClass; typedef enum AF_Script_ { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_ARAB, #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_BENG, #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_DEVA, #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_GREK, #line 63 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_HEBR, #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_KNDA, #line 75 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_KHMR, #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_KHMS, #line 88 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_LAO, #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_LATN, #line 101 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_LATB, #line 107 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_LATP, #line 113 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_MYMR, #line 119 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_NONE, #line 125 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_TELU, #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_THAI, #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_GUJR, #line 146 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_GURU, #line 152 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_LIMB, #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_MLYM, #line 164 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_ORYA, #line 170 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_SINH, #line 176 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_SUND, #line 182 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_SYLO, #line 188 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_TAML, #line 194 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_TIBT, #line 200 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 202 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" AF_SCRIPT_HANI, #line 210 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 212 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 320 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" AF_SCRIPT_MAX } AF_Script; typedef struct AF_Script_UniRangeRec_ { FT_UInt32 first; FT_UInt32 last; } AF_Script_UniRangeRec; typedef const AF_Script_UniRangeRec* AF_Script_UniRange; typedef struct AF_ScriptClassRec_ { AF_Script script; AF_Script_UniRange script_uni_ranges; AF_Script_UniRange script_uni_nonbase_ranges; FT_Bool top_to_bottom_hinting; const char* standard_charstring; } AF_ScriptClassRec; typedef const AF_ScriptClassRec* AF_ScriptClass; typedef enum AF_Coverage_ { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" #line 34 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_PETITE_CAPITALS_FROM_CAPITALS, #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_SMALL_CAPITALS_FROM_CAPITALS, #line 42 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" #line 50 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" #line 65 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_ORDINALS, #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_PETITE_CAPITALS, #line 73 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_RUBY, #line 77 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_SCIENTIFIC_INFERIORS, #line 81 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_SMALL_CAPITALS, #line 85 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_SUBSCRIPT, #line 89 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_SUPERSCRIPT, #line 93 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" AF_COVERAGE_TITLING, #line 97 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" #line 103 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcover.h" #line 411 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" AF_COVERAGE_DEFAULT } AF_Coverage; typedef enum AF_Style_ { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_ARAB_DFLT, #line 92 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_BENG_DFLT, #line 99 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_CYRL_C2CP, AF_STYLE_CYRL_C2SC, AF_STYLE_CYRL_ORDN, AF_STYLE_CYRL_PCAP, AF_STYLE_CYRL_SINF, AF_STYLE_CYRL_SMCP, AF_STYLE_CYRL_SUBS, AF_STYLE_CYRL_SUPS, AF_STYLE_CYRL_TITL, AF_STYLE_CYRL_DFLT, AF_STYLE_DEVA_DFLT, #line 108 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_GREK_C2CP, AF_STYLE_GREK_C2SC, AF_STYLE_GREK_ORDN, AF_STYLE_GREK_PCAP, AF_STYLE_GREK_SINF, AF_STYLE_GREK_SMCP, AF_STYLE_GREK_SUBS, AF_STYLE_GREK_SUPS, AF_STYLE_GREK_TITL, AF_STYLE_GREK_DFLT, AF_STYLE_HEBR_DFLT, #line 117 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_KNDA_DFLT, #line 124 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_KHMR_DFLT, #line 131 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_KHMS_DFLT, #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_LAO_DFLT, #line 145 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_LATN_C2CP, AF_STYLE_LATN_C2SC, AF_STYLE_LATN_ORDN, AF_STYLE_LATN_PCAP, AF_STYLE_LATN_SINF, AF_STYLE_LATN_SMCP, AF_STYLE_LATN_SUBS, AF_STYLE_LATN_SUPS, AF_STYLE_LATN_TITL, AF_STYLE_LATN_DFLT, AF_STYLE_LATB_DFLT, #line 154 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_LATP_DFLT, #line 161 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_MYMR_DFLT, #line 177 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_NONE_DFLT, #line 184 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_TELU_DFLT, #line 191 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_THAI_DFLT, #line 198 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_GUJR_DFLT, AF_STYLE_GURU_DFLT, AF_STYLE_LIMB_DFLT, AF_STYLE_MLYM_DFLT, AF_STYLE_ORYA_DFLT, AF_STYLE_SINH_DFLT, AF_STYLE_SUND_DFLT, AF_STYLE_SYLO_DFLT, AF_STYLE_TAML_DFLT, AF_STYLE_TIBT_DFLT, #line 223 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" AF_STYLE_HANI_DFLT, #line 232 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 234 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 439 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" AF_STYLE_MAX } AF_Style; typedef struct AF_StyleClassRec_ { AF_Style style; AF_WritingSystem writing_system; AF_Script script; AF_Blue_Stringset blue_stringset; AF_Coverage coverage; } AF_StyleClassRec; typedef const AF_StyleClassRec* AF_StyleClass; typedef struct AF_FaceGlobalsRec_* AF_FaceGlobals; typedef struct AF_StyleMetricsRec_ { AF_StyleClass style_class; AF_ScalerRec scaler; FT_Bool digits_have_same_width; AF_FaceGlobals globals; } AF_StyleMetricsRec; #line 641 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" #line 648 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aftypes.h" #line 25 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.h" typedef struct AF_ModuleRec_ { FT_ModuleRec root; FT_UInt fallback_style; FT_UInt default_script; FT_Bool warping; #line 44 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.h" FT_Bool no_stem_darkening; FT_Int darken_params[8]; } AF_ModuleRec, *AF_Module; extern const FT_Module_Class autofit_module_class; #line 56 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.h" #line 26 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afshaper.h" FT_Error af_shaper_get_coverage( AF_FaceGlobals globals, AF_StyleClass style_class, FT_UShort* gstyles, FT_Bool default_script ); void* af_shaper_buf_create( FT_Face face ); void af_shaper_buf_destroy( FT_Face face, void* buf ); const char* af_shaper_get_cluster( const char* p, AF_StyleMetrics metrics, void* buf_, unsigned int* count ); FT_ULong af_shaper_get_elem( AF_StyleMetrics metrics, void* buf_, unsigned int idx, FT_Long* x_advance, FT_Long* y_offset ); #line 70 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afshaper.h" #line 27 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" extern const AF_WritingSystemClass af_writing_system_classes[]; #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_arab_script_class; #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_beng_script_class; #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_deva_script_class; #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_grek_script_class; #line 63 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_hebr_script_class; #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_knda_script_class; #line 75 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_khmr_script_class; #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_khms_script_class; #line 88 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_lao_script_class; #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_latn_script_class; #line 101 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_latb_script_class; #line 107 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_latp_script_class; #line 113 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_mymr_script_class; #line 119 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_none_script_class; #line 125 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_telu_script_class; #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_thai_script_class; #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_gujr_script_class; #line 146 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_guru_script_class; #line 152 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_limb_script_class; #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_mlym_script_class; #line 164 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_orya_script_class; #line 170 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_sinh_script_class; #line 176 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_sund_script_class; #line 182 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_sylo_script_class; #line 188 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_taml_script_class; #line 194 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_tibt_script_class; #line 200 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 202 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_ScriptClassRec af_hani_script_class; #line 210 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 212 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 41 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" extern const AF_ScriptClass af_script_classes[]; #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_arab_dflt_style_class; #line 92 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_beng_dflt_style_class; #line 99 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_cyrl_c2cp_style_class; extern const AF_StyleClassRec af_cyrl_c2sc_style_class; extern const AF_StyleClassRec af_cyrl_ordn_style_class; extern const AF_StyleClassRec af_cyrl_pcap_style_class; extern const AF_StyleClassRec af_cyrl_sinf_style_class; extern const AF_StyleClassRec af_cyrl_smcp_style_class; extern const AF_StyleClassRec af_cyrl_subs_style_class; extern const AF_StyleClassRec af_cyrl_sups_style_class; extern const AF_StyleClassRec af_cyrl_titl_style_class; extern const AF_StyleClassRec af_cyrl_dflt_style_class; extern const AF_StyleClassRec af_deva_dflt_style_class; #line 108 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_grek_c2cp_style_class; extern const AF_StyleClassRec af_grek_c2sc_style_class; extern const AF_StyleClassRec af_grek_ordn_style_class; extern const AF_StyleClassRec af_grek_pcap_style_class; extern const AF_StyleClassRec af_grek_sinf_style_class; extern const AF_StyleClassRec af_grek_smcp_style_class; extern const AF_StyleClassRec af_grek_subs_style_class; extern const AF_StyleClassRec af_grek_sups_style_class; extern const AF_StyleClassRec af_grek_titl_style_class; extern const AF_StyleClassRec af_grek_dflt_style_class; extern const AF_StyleClassRec af_hebr_dflt_style_class; #line 117 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_knda_dflt_style_class; #line 124 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_khmr_dflt_style_class; #line 131 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_khms_dflt_style_class; #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_lao_dflt_style_class; #line 145 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_latn_c2cp_style_class; extern const AF_StyleClassRec af_latn_c2sc_style_class; extern const AF_StyleClassRec af_latn_ordn_style_class; extern const AF_StyleClassRec af_latn_pcap_style_class; extern const AF_StyleClassRec af_latn_sinf_style_class; extern const AF_StyleClassRec af_latn_smcp_style_class; extern const AF_StyleClassRec af_latn_subs_style_class; extern const AF_StyleClassRec af_latn_sups_style_class; extern const AF_StyleClassRec af_latn_titl_style_class; extern const AF_StyleClassRec af_latn_dflt_style_class; extern const AF_StyleClassRec af_latb_dflt_style_class; #line 154 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_latp_dflt_style_class; #line 161 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_mymr_dflt_style_class; #line 177 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_none_dflt_style_class; #line 184 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_telu_dflt_style_class; #line 191 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_thai_dflt_style_class; #line 198 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_gujr_dflt_style_class; extern const AF_StyleClassRec af_guru_dflt_style_class; extern const AF_StyleClassRec af_limb_dflt_style_class; extern const AF_StyleClassRec af_mlym_dflt_style_class; extern const AF_StyleClassRec af_orya_dflt_style_class; extern const AF_StyleClassRec af_sinh_dflt_style_class; extern const AF_StyleClassRec af_sund_dflt_style_class; extern const AF_StyleClassRec af_sylo_dflt_style_class; extern const AF_StyleClassRec af_taml_dflt_style_class; extern const AF_StyleClassRec af_tibt_dflt_style_class; #line 223 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" extern const AF_StyleClassRec af_hani_dflt_style_class; #line 232 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 234 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" extern const AF_StyleClass af_style_classes[]; #line 73 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" typedef struct AF_FaceGlobalsRec_ { FT_Face face; FT_Long glyph_count; FT_UShort* glyph_styles; FT_UInt increase_x_height; AF_StyleMetrics metrics[AF_STYLE_MAX]; FT_UShort stem_darkening_for_ppem; FT_Pos standard_vertical_width; FT_Pos standard_horizontal_width; FT_Pos darken_x; FT_Pos darken_y; FT_Fixed scale_down_factor; AF_Module module; } AF_FaceGlobalsRec; static FT_Error af_face_globals_new( FT_Face face, AF_FaceGlobals *aglobals, AF_Module module ); static FT_Error af_face_globals_get_metrics( AF_FaceGlobals globals, FT_UInt gindex, FT_UInt options, AF_StyleMetrics *ametrics ); static void af_face_globals_free( AF_FaceGlobals globals ); static FT_Bool af_face_globals_is_digit( AF_FaceGlobals globals, FT_UInt gindex ); #line 171 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.h" #line 24 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aferrors.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 154 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 171 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" enum { #line 185 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Ok = 0x00, #line 61 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Cannot_Open_Resource = 0x01 + 0, #line 64 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Unknown_File_Format = 0x02 + 0, #line 66 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_File_Format = 0x03 + 0, #line 68 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Version = 0x04 + 0, #line 70 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Lower_Module_Version = 0x05 + 0, #line 72 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Argument = 0x06 + 0, #line 74 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Unimplemented_Feature = 0x07 + 0, #line 76 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Table = 0x08 + 0, #line 78 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Offset = 0x09 + 0, #line 80 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Array_Too_Large = 0x0A + 0, #line 82 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Module = 0x0B + 0, #line 84 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Property = 0x0C + 0, #line 86 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Glyph_Index = 0x10 + 0, #line 91 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Character_Code = 0x11 + 0, #line 93 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Glyph_Format = 0x12 + 0, #line 95 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Cannot_Render_Glyph = 0x13 + 0, #line 97 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Outline = 0x14 + 0, #line 99 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Composite = 0x15 + 0, #line 101 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Many_Hints = 0x16 + 0, #line 103 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Pixel_Size = 0x17 + 0, #line 105 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Handle = 0x20 + 0, #line 110 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Library_Handle = 0x21 + 0, #line 112 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Driver_Handle = 0x22 + 0, #line 114 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Face_Handle = 0x23 + 0, #line 116 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Size_Handle = 0x24 + 0, #line 118 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Slot_Handle = 0x25 + 0, #line 120 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_CharMap_Handle = 0x26 + 0, #line 122 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Cache_Handle = 0x27 + 0, #line 124 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Stream_Handle = 0x28 + 0, #line 126 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Many_Drivers = 0x30 + 0, #line 131 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Many_Extensions = 0x31 + 0, #line 133 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Out_Of_Memory = 0x40 + 0, #line 138 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Unlisted_Object = 0x41 + 0, #line 140 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Cannot_Open_Stream = 0x51 + 0, #line 145 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Stream_Seek = 0x52 + 0, #line 147 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Stream_Skip = 0x53 + 0, #line 149 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Stream_Read = 0x54 + 0, #line 151 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Stream_Operation = 0x55 + 0, #line 153 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Frame_Operation = 0x56 + 0, #line 155 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Nested_Frame_Access = 0x57 + 0, #line 157 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Frame_Read = 0x58 + 0, #line 159 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Raster_Uninitialized = 0x60 + 0, #line 164 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Raster_Corrupted = 0x61 + 0, #line 166 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Raster_Overflow = 0x62 + 0, #line 168 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Raster_Negative_Height = 0x63 + 0, #line 170 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Many_Caches = 0x70 + 0, #line 175 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Opcode = 0x80 + 0, #line 180 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Few_Arguments = 0x81 + 0, #line 182 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Stack_Overflow = 0x82 + 0, #line 184 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Code_Overflow = 0x83 + 0, #line 186 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Bad_Argument = 0x84 + 0, #line 188 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Divide_By_Zero = 0x85 + 0, #line 190 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Reference = 0x86 + 0, #line 192 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Debug_OpCode = 0x87 + 0, #line 194 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_ENDF_In_Exec_Stream = 0x88 + 0, #line 196 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Nested_DEFS = 0x89 + 0, #line 198 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_CodeRange = 0x8A + 0, #line 200 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Execution_Too_Long = 0x8B + 0, #line 202 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Many_Function_Defs = 0x8C + 0, #line 204 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Too_Many_Instruction_Defs = 0x8D + 0, #line 206 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Table_Missing = 0x8E + 0, #line 208 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Horiz_Header_Missing = 0x8F + 0, #line 210 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Locations_Missing = 0x90 + 0, #line 212 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Name_Table_Missing = 0x91 + 0, #line 214 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_CMap_Table_Missing = 0x92 + 0, #line 216 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Hmtx_Table_Missing = 0x93 + 0, #line 218 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Post_Table_Missing = 0x94 + 0, #line 220 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Horiz_Metrics = 0x95 + 0, #line 222 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_CharMap_Format = 0x96 + 0, #line 224 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_PPem = 0x97 + 0, #line 226 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Vert_Metrics = 0x98 + 0, #line 228 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Could_Not_Find_Context = 0x99 + 0, #line 230 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Post_Table_Format = 0x9A + 0, #line 232 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Invalid_Post_Table = 0x9B + 0, #line 234 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Syntax_Error = 0xA0 + 0, #line 239 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Stack_Underflow = 0xA1 + 0, #line 241 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Ignore = 0xA2 + 0, #line 243 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_No_Unicode_Glyph_Name = 0xA3 + 0, #line 245 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Glyph_Too_Big = 0xA4 + 0, #line 247 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Startfont_Field = 0xB0 + 0, #line 252 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Font_Field = 0xB1 + 0, #line 254 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Size_Field = 0xB2 + 0, #line 256 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Fontboundingbox_Field = 0xB3 + 0, #line 258 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Chars_Field = 0xB4 + 0, #line 260 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Startchar_Field = 0xB5 + 0, #line 262 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Encoding_Field = 0xB6 + 0, #line 264 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Missing_Bbx_Field = 0xB7 + 0, #line 266 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Bbx_Too_Big = 0xB8 + 0, #line 268 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Corrupted_Font_Header = 0xB9 + 0, #line 270 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" AF_Err_Corrupted_Font_Glyphs = 0xBA + 0, #line 272 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrdef.h" #line 189 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" AF_Err_Max }; #line 194 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 224 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/fterrors.h" #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aferrors.h" #line 40 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aferrors.h" #line 25 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afpic.c" #line 22 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afangles.c" #line 79 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afangles.c" #line 184 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afangles.c" static void af_sort_pos( FT_UInt count, FT_Pos* table ) { FT_UInt i, j; FT_Pos swap; for ( i = 1; i < count; i++ ) { for ( j = i; j > 0; j-- ) { if ( table[j] >= table[j - 1] ) break; swap = table[j]; table[j] = table[j - 1]; table[j - 1] = swap; } } } static void af_sort_and_quantize_widths( FT_UInt* count, AF_Width table, FT_Pos threshold ) { FT_UInt i, j; FT_UInt cur_idx; FT_Pos cur_val; FT_Pos sum; AF_WidthRec swap; if ( *count == 1 ) return; for ( i = 1; i < *count; i++ ) { for ( j = i; j > 0; j-- ) { if ( table[j].org >= table[j - 1].org ) break; swap = table[j]; table[j] = table[j - 1]; table[j - 1] = swap; } } cur_idx = 0; cur_val = table[cur_idx].org; for ( i = 1; i < *count; i++ ) { if ( table[i].org - cur_val > threshold || i == *count - 1 ) { sum = 0; if ( table[i].org - cur_val <= threshold && i == *count - 1 ) i++; for ( j = cur_idx; j < i; j++ ) { sum += table[j].org; table[j].org = 0; } table[cur_idx].org = sum / (FT_Pos)j; if ( i < *count - 1 ) { cur_idx = i + 1; cur_val = table[cur_idx].org; } } } cur_idx = 1; for ( i = 1; i < *count; i++ ) { if ( table[i].org ) table[cur_idx++] = table[i]; } *count = cur_idx; } #line 23 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.c" const char af_blue_strings[] = { '\xD8', '\xA7', ' ', '\xD8', '\xA5', ' ', '\xD9', '\x84', ' ', '\xD9', '\x83', ' ', '\xD8', '\xB7', ' ', '\xD8', '\xB8', '\0', '\xD8', '\xAA', ' ', '\xD8', '\xAB', ' ', '\xD8', '\xB7', ' ', '\xD8', '\xB8', ' ', '\xD9', '\x83', '\0', '\xD9', '\x80', '\0', '\xE0', '\xA6', '\x85', ' ', '\xE0', '\xA6', '\xA1', ' ', '\xE0', '\xA6', '\xA4', ' ', '\xE0', '\xA6', '\xA8', ' ', '\xE0', '\xA6', '\xAC', ' ', '\xE0', '\xA6', '\xAD', ' ', '\xE0', '\xA6', '\xB2', ' ', '\xE0', '\xA6', '\x95', '\0', '\xE0', '\xA6', '\x87', ' ', '\xE0', '\xA6', '\x9F', ' ', '\xE0', '\xA6', '\xA0', ' ', '\xE0', '\xA6', '\xBF', ' ', '\xE0', '\xA7', '\x80', ' ', '\xE0', '\xA7', '\x88', ' ', '\xE0', '\xA7', '\x97', '\0', '\xE0', '\xA6', '\x93', ' ', '\xE0', '\xA6', '\x8F', ' ', '\xE0', '\xA6', '\xA1', ' ', '\xE0', '\xA6', '\xA4', ' ', '\xE0', '\xA6', '\xA8', ' ', '\xE0', '\xA6', '\xAC', ' ', '\xE0', '\xA6', '\xB2', ' ', '\xE0', '\xA6', '\x95', '\0', '\xD0', '\x91', ' ', '\xD0', '\x92', ' ', '\xD0', '\x95', ' ', '\xD0', '\x9F', ' ', '\xD0', '\x97', ' ', '\xD0', '\x9E', ' ', '\xD0', '\xA1', ' ', '\xD0', '\xAD', '\0', '\xD0', '\x91', ' ', '\xD0', '\x92', ' ', '\xD0', '\x95', ' ', '\xD0', '\xA8', ' ', '\xD0', '\x97', ' ', '\xD0', '\x9E', ' ', '\xD0', '\xA1', ' ', '\xD0', '\xAD', '\0', '\xD1', '\x85', ' ', '\xD0', '\xBF', ' ', '\xD0', '\xBD', ' ', '\xD1', '\x88', ' ', '\xD0', '\xB5', ' ', '\xD0', '\xB7', ' ', '\xD0', '\xBE', ' ', '\xD1', '\x81', '\0', '\xD1', '\x80', ' ', '\xD1', '\x83', ' ', '\xD1', '\x84', '\0', '\xE0', '\xA4', '\x95', ' ', '\xE0', '\xA4', '\xAE', ' ', '\xE0', '\xA4', '\x85', ' ', '\xE0', '\xA4', '\x86', ' ', '\xE0', '\xA4', '\xA5', ' ', '\xE0', '\xA4', '\xA7', ' ', '\xE0', '\xA4', '\xAD', ' ', '\xE0', '\xA4', '\xB6', '\0', '\xE0', '\xA4', '\x88', ' ', '\xE0', '\xA4', '\x90', ' ', '\xE0', '\xA4', '\x93', ' ', '\xE0', '\xA4', '\x94', ' ', '\xE0', '\xA4', '\xBF', ' ', '\xE0', '\xA5', '\x80', ' ', '\xE0', '\xA5', '\x8B', ' ', '\xE0', '\xA5', '\x8C', '\0', '\xE0', '\xA4', '\x95', ' ', '\xE0', '\xA4', '\xAE', ' ', '\xE0', '\xA4', '\x85', ' ', '\xE0', '\xA4', '\x86', ' ', '\xE0', '\xA4', '\xA5', ' ', '\xE0', '\xA4', '\xA7', ' ', '\xE0', '\xA4', '\xAD', ' ', '\xE0', '\xA4', '\xB6', '\0', '\xE0', '\xA5', '\x81', ' ', '\xE0', '\xA5', '\x83', '\0', '\xCE', '\x93', ' ', '\xCE', '\x92', ' ', '\xCE', '\x95', ' ', '\xCE', '\x96', ' ', '\xCE', '\x98', ' ', '\xCE', '\x9F', ' ', '\xCE', '\xA9', '\0', '\xCE', '\x92', ' ', '\xCE', '\x94', ' ', '\xCE', '\x96', ' ', '\xCE', '\x9E', ' ', '\xCE', '\x98', ' ', '\xCE', '\x9F', '\0', '\xCE', '\xB2', ' ', '\xCE', '\xB8', ' ', '\xCE', '\xB4', ' ', '\xCE', '\xB6', ' ', '\xCE', '\xBB', ' ', '\xCE', '\xBE', '\0', '\xCE', '\xB1', ' ', '\xCE', '\xB5', ' ', '\xCE', '\xB9', ' ', '\xCE', '\xBF', ' ', '\xCF', '\x80', ' ', '\xCF', '\x83', ' ', '\xCF', '\x84', ' ', '\xCF', '\x89', '\0', '\xCE', '\xB2', ' ', '\xCE', '\xB3', ' ', '\xCE', '\xB7', ' ', '\xCE', '\xBC', ' ', '\xCF', '\x81', ' ', '\xCF', '\x86', ' ', '\xCF', '\x87', ' ', '\xCF', '\x88', '\0', '\xD7', '\x91', ' ', '\xD7', '\x93', ' ', '\xD7', '\x94', ' ', '\xD7', '\x97', ' ', '\xD7', '\x9A', ' ', '\xD7', '\x9B', ' ', '\xD7', '\x9D', ' ', '\xD7', '\xA1', '\0', '\xD7', '\x91', ' ', '\xD7', '\x98', ' ', '\xD7', '\x9B', ' ', '\xD7', '\x9D', ' ', '\xD7', '\xA1', ' ', '\xD7', '\xA6', '\0', '\xD7', '\xA7', ' ', '\xD7', '\x9A', ' ', '\xD7', '\x9F', ' ', '\xD7', '\xA3', ' ', '\xD7', '\xA5', '\0', '\xE0', '\xB2', '\x87', ' ', '\xE0', '\xB2', '\x8A', ' ', '\xE0', '\xB2', '\x90', ' ', '\xE0', '\xB2', '\xA3', ' ', '\xE0', '\xB2', '\xB8', '\xE0', '\xB2', '\xBE', ' ', '\xE0', '\xB2', '\xA8', '\xE0', '\xB2', '\xBE', ' ', '\xE0', '\xB2', '\xA6', '\xE0', '\xB2', '\xBE', ' ', '\xE0', '\xB2', '\xB0', '\xE0', '\xB2', '\xBE', '\0', '\xE0', '\xB2', '\x85', ' ', '\xE0', '\xB2', '\x89', ' ', '\xE0', '\xB2', '\x8E', ' ', '\xE0', '\xB2', '\xB2', ' ', '\xE0', '\xB3', '\xA6', ' ', '\xE0', '\xB3', '\xA8', ' ', '\xE0', '\xB3', '\xAC', ' ', '\xE0', '\xB3', '\xAD', '\0', '\xE1', '\x9E', '\x81', ' ', '\xE1', '\x9E', '\x91', ' ', '\xE1', '\x9E', '\x93', ' ', '\xE1', '\x9E', '\xA7', ' ', '\xE1', '\x9E', '\xA9', ' ', '\xE1', '\x9E', '\xB6', '\0', '\xE1', '\x9E', '\x80', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x80', ' ', '\xE1', '\x9E', '\x80', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x81', ' ', '\xE1', '\x9E', '\x80', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x82', ' ', '\xE1', '\x9E', '\x80', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x90', '\0', '\xE1', '\x9E', '\x81', ' ', '\xE1', '\x9E', '\x83', ' ', '\xE1', '\x9E', '\x85', ' ', '\xE1', '\x9E', '\x8B', ' ', '\xE1', '\x9E', '\x94', ' ', '\xE1', '\x9E', '\x98', ' ', '\xE1', '\x9E', '\x99', ' ', '\xE1', '\x9E', '\xB2', '\0', '\xE1', '\x9E', '\x8F', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x9A', ' ', '\xE1', '\x9E', '\x9A', '\xE1', '\x9F', '\x80', ' ', '\xE1', '\x9E', '\xB2', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x99', ' ', '\xE1', '\x9E', '\xA2', '\xE1', '\x9E', '\xBF', '\0', '\xE1', '\x9E', '\x93', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x8F', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x9A', '\xE1', '\x9F', '\x83', ' ', '\xE1', '\x9E', '\x84', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x81', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x99', ' ', '\xE1', '\x9E', '\x80', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x94', '\xE1', '\x9F', '\x80', ' ', '\xE1', '\x9E', '\x85', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x9A', '\xE1', '\x9F', '\x80', ' ', '\xE1', '\x9E', '\x93', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x8F', '\xE1', '\x9E', '\xBF', ' ', '\xE1', '\x9E', '\x9B', '\xE1', '\x9F', '\x92', '\xE1', '\x9E', '\x94', '\xE1', '\x9E', '\xBF', '\0', '\xE1', '\xA7', '\xA0', ' ', '\xE1', '\xA7', '\xA1', '\0', '\xE1', '\xA7', '\xB6', ' ', '\xE1', '\xA7', '\xB9', '\0', '\xE0', '\xBA', '\xB2', ' ', '\xE0', '\xBA', '\x94', ' ', '\xE0', '\xBA', '\xAD', ' ', '\xE0', '\xBA', '\xA1', ' ', '\xE0', '\xBA', '\xA5', ' ', '\xE0', '\xBA', '\xA7', ' ', '\xE0', '\xBA', '\xA3', ' ', '\xE0', '\xBA', '\x87', '\0', '\xE0', '\xBA', '\xB2', ' ', '\xE0', '\xBA', '\xAD', ' ', '\xE0', '\xBA', '\x9A', ' ', '\xE0', '\xBA', '\x8D', ' ', '\xE0', '\xBA', '\xA3', ' ', '\xE0', '\xBA', '\xAE', ' ', '\xE0', '\xBA', '\xA7', ' ', '\xE0', '\xBA', '\xA2', '\0', '\xE0', '\xBA', '\x9B', ' ', '\xE0', '\xBA', '\xA2', ' ', '\xE0', '\xBA', '\x9F', ' ', '\xE0', '\xBA', '\x9D', '\0', '\xE0', '\xBB', '\x82', ' ', '\xE0', '\xBB', '\x84', ' ', '\xE0', '\xBB', '\x83', '\0', '\xE0', '\xBA', '\x87', ' ', '\xE0', '\xBA', '\x8A', ' ', '\xE0', '\xBA', '\x96', ' ', '\xE0', '\xBA', '\xBD', ' ', '\xE0', '\xBB', '\x86', ' ', '\xE0', '\xBA', '\xAF', '\0', 'T', ' ', 'H', ' ', 'E', ' ', 'Z', ' ', 'O', ' ', 'C', ' ', 'Q', ' ', 'S', '\0', 'H', ' ', 'E', ' ', 'Z', ' ', 'L', ' ', 'O', ' ', 'C', ' ', 'U', ' ', 'S', '\0', 'f', ' ', 'i', ' ', 'j', ' ', 'k', ' ', 'd', ' ', 'b', ' ', 'h', '\0', 'x', ' ', 'z', ' ', 'r', ' ', 'o', ' ', 'e', ' ', 's', ' ', 'c', '\0', 'p', ' ', 'q', ' ', 'g', ' ', 'j', ' ', 'y', '\0', '\xE2', '\x82', '\x80', ' ', '\xE2', '\x82', '\x83', ' ', '\xE2', '\x82', '\x85', ' ', '\xE2', '\x82', '\x87', ' ', '\xE2', '\x82', '\x88', '\0', '\xE2', '\x82', '\x80', ' ', '\xE2', '\x82', '\x81', ' ', '\xE2', '\x82', '\x82', ' ', '\xE2', '\x82', '\x83', ' ', '\xE2', '\x82', '\x88', '\0', '\xE1', '\xB5', '\xA2', ' ', '\xE2', '\xB1', '\xBC', ' ', '\xE2', '\x82', '\x95', ' ', '\xE2', '\x82', '\x96', ' ', '\xE2', '\x82', '\x97', '\0', '\xE2', '\x82', '\x90', ' ', '\xE2', '\x82', '\x91', ' ', '\xE2', '\x82', '\x92', ' ', '\xE2', '\x82', '\x93', ' ', '\xE2', '\x82', '\x99', ' ', '\xE2', '\x82', '\x9B', ' ', '\xE1', '\xB5', '\xA5', ' ', '\xE1', '\xB5', '\xA4', ' ', '\xE1', '\xB5', '\xA3', '\0', '\xE1', '\xB5', '\xA6', ' ', '\xE1', '\xB5', '\xA7', ' ', '\xE1', '\xB5', '\xA8', ' ', '\xE1', '\xB5', '\xA9', ' ', '\xE2', '\x82', '\x9A', '\0', '\xE2', '\x81', '\xB0', ' ', '\xC2', '\xB3', ' ', '\xE2', '\x81', '\xB5', ' ', '\xE2', '\x81', '\xB7', ' ', '\xE1', '\xB5', '\x80', ' ', '\xE1', '\xB4', '\xB4', ' ', '\xE1', '\xB4', '\xB1', ' ', '\xE1', '\xB4', '\xBC', '\0', '\xE2', '\x81', '\xB0', ' ', '\xC2', '\xB9', ' ', '\xC2', '\xB2', ' ', '\xC2', '\xB3', ' ', '\xE1', '\xB4', '\xB1', ' ', '\xE1', '\xB4', '\xB8', ' ', '\xE1', '\xB4', '\xBC', ' ', '\xE1', '\xB5', '\x81', '\0', '\xE1', '\xB5', '\x87', ' ', '\xE1', '\xB5', '\x88', ' ', '\xE1', '\xB5', '\x8F', ' ', '\xCA', '\xB0', ' ', '\xCA', '\xB2', ' ', '\xE1', '\xB6', '\xA0', ' ', '\xE2', '\x81', '\xB1', '\0', '\xE1', '\xB5', '\x89', ' ', '\xE1', '\xB5', '\x92', ' ', '\xCA', '\xB3', ' ', '\xCB', '\xA2', ' ', '\xCB', '\xA3', ' ', '\xE1', '\xB6', '\x9C', ' ', '\xE1', '\xB6', '\xBB', '\0', '\xE1', '\xB5', '\x96', ' ', '\xCA', '\xB8', ' ', '\xE1', '\xB5', '\x8D', '\0', '\xE1', '\x80', '\x81', ' ', '\xE1', '\x80', '\x82', ' ', '\xE1', '\x80', '\x84', ' ', '\xE1', '\x80', '\x92', ' ', '\xE1', '\x80', '\x9D', ' ', '\xE1', '\x81', '\xA5', ' ', '\xE1', '\x81', '\x8A', ' ', '\xE1', '\x81', '\x8B', '\0', '\xE1', '\x80', '\x84', ' ', '\xE1', '\x80', '\x8E', ' ', '\xE1', '\x80', '\x92', ' ', '\xE1', '\x80', '\x95', ' ', '\xE1', '\x80', '\x97', ' ', '\xE1', '\x80', '\x9D', ' ', '\xE1', '\x81', '\x8A', ' ', '\xE1', '\x81', '\x8B', '\0', '\xE1', '\x80', '\xA9', ' ', '\xE1', '\x80', '\xBC', ' ', '\xE1', '\x81', '\x8D', ' ', '\xE1', '\x81', '\x8F', ' ', '\xE1', '\x81', '\x86', ' ', '\xE1', '\x80', '\xAB', ' ', '\xE1', '\x80', '\xAD', '\0', '\xE1', '\x80', '\x89', ' ', '\xE1', '\x80', '\x8A', ' ', '\xE1', '\x80', '\xA5', ' ', '\xE1', '\x80', '\xA9', ' ', '\xE1', '\x80', '\xA8', ' ', '\xE1', '\x81', '\x82', ' ', '\xE1', '\x81', '\x85', ' ', '\xE1', '\x81', '\x89', '\0', '\xE0', '\xB0', '\x87', ' ', '\xE0', '\xB0', '\x8C', ' ', '\xE0', '\xB0', '\x99', ' ', '\xE0', '\xB0', '\x9E', ' ', '\xE0', '\xB0', '\xA3', ' ', '\xE0', '\xB0', '\xB1', ' ', '\xE0', '\xB1', '\xAF', '\0', '\xE0', '\xB0', '\x85', ' ', '\xE0', '\xB0', '\x95', ' ', '\xE0', '\xB0', '\x9A', ' ', '\xE0', '\xB0', '\xB0', ' ', '\xE0', '\xB0', '\xBD', ' ', '\xE0', '\xB1', '\xA8', ' ', '\xE0', '\xB1', '\xAC', '\0', '\xE0', '\xB8', '\x9A', ' ', '\xE0', '\xB9', '\x80', ' ', '\xE0', '\xB9', '\x81', ' ', '\xE0', '\xB8', '\xAD', ' ', '\xE0', '\xB8', '\x81', ' ', '\xE0', '\xB8', '\xB2', '\0', '\xE0', '\xB8', '\x9A', ' ', '\xE0', '\xB8', '\x9B', ' ', '\xE0', '\xB8', '\xA9', ' ', '\xE0', '\xB8', '\xAF', ' ', '\xE0', '\xB8', '\xAD', ' ', '\xE0', '\xB8', '\xA2', ' ', '\xE0', '\xB8', '\xAE', '\0', '\xE0', '\xB8', '\x9B', ' ', '\xE0', '\xB8', '\x9D', ' ', '\xE0', '\xB8', '\x9F', '\0', '\xE0', '\xB9', '\x82', ' ', '\xE0', '\xB9', '\x83', ' ', '\xE0', '\xB9', '\x84', '\0', '\xE0', '\xB8', '\x8E', ' ', '\xE0', '\xB8', '\x8F', ' ', '\xE0', '\xB8', '\xA4', ' ', '\xE0', '\xB8', '\xA6', '\0', '\xE0', '\xB8', '\x8D', ' ', '\xE0', '\xB8', '\x90', '\0', '\xE0', '\xB9', '\x90', ' ', '\xE0', '\xB9', '\x91', ' ', '\xE0', '\xB9', '\x93', '\0', '\xE4', '\xBB', '\x96', ' ', '\xE4', '\xBB', '\xAC', ' ', '\xE4', '\xBD', '\xA0', ' ', '\xE4', '\xBE', '\x86', ' ', '\xE5', '\x80', '\x91', ' ', '\xE5', '\x88', '\xB0', ' ', '\xE5', '\x92', '\x8C', ' ', '\xE5', '\x9C', '\xB0', ' ', '\xE5', '\xAF', '\xB9', ' ', '\xE5', '\xB0', '\x8D', ' ', '\xE5', '\xB0', '\xB1', ' ', '\xE5', '\xB8', '\xAD', ' ', '\xE6', '\x88', '\x91', ' ', '\xE6', '\x97', '\xB6', ' ', '\xE6', '\x99', '\x82', ' ', '\xE6', '\x9C', '\x83', ' ', '\xE6', '\x9D', '\xA5', ' ', '\xE7', '\x82', '\xBA', ' ', '\xE8', '\x83', '\xBD', ' ', '\xE8', '\x88', '\xB0', ' ', '\xE8', '\xAA', '\xAA', ' ', '\xE8', '\xAF', '\xB4', ' ', '\xE8', '\xBF', '\x99', ' ', '\xE9', '\x80', '\x99', ' ', '\xE9', '\xBD', '\x8A', ' ', '|', ' ', '\xE5', '\x86', '\x9B', ' ', '\xE5', '\x90', '\x8C', ' ', '\xE5', '\xB7', '\xB2', ' ', '\xE6', '\x84', '\xBF', ' ', '\xE6', '\x97', '\xA2', ' ', '\xE6', '\x98', '\x9F', ' ', '\xE6', '\x98', '\xAF', ' ', '\xE6', '\x99', '\xAF', ' ', '\xE6', '\xB0', '\x91', ' ', '\xE7', '\x85', '\xA7', ' ', '\xE7', '\x8E', '\xB0', ' ', '\xE7', '\x8F', '\xBE', ' ', '\xE7', '\x90', '\x86', ' ', '\xE7', '\x94', '\xA8', ' ', '\xE7', '\xBD', '\xAE', ' ', '\xE8', '\xA6', '\x81', ' ', '\xE8', '\xBB', '\x8D', ' ', '\xE9', '\x82', '\xA3', ' ', '\xE9', '\x85', '\x8D', ' ', '\xE9', '\x87', '\x8C', ' ', '\xE9', '\x96', '\x8B', ' ', '\xE9', '\x9B', '\xB7', ' ', '\xE9', '\x9C', '\xB2', ' ', '\xE9', '\x9D', '\xA2', ' ', '\xE9', '\xA1', '\xBE', '\0', '\xE4', '\xB8', '\xAA', ' ', '\xE4', '\xB8', '\xBA', ' ', '\xE4', '\xBA', '\xBA', ' ', '\xE4', '\xBB', '\x96', ' ', '\xE4', '\xBB', '\xA5', ' ', '\xE4', '\xBB', '\xAC', ' ', '\xE4', '\xBD', '\xA0', ' ', '\xE4', '\xBE', '\x86', ' ', '\xE5', '\x80', '\x8B', ' ', '\xE5', '\x80', '\x91', ' ', '\xE5', '\x88', '\xB0', ' ', '\xE5', '\x92', '\x8C', ' ', '\xE5', '\xA4', '\xA7', ' ', '\xE5', '\xAF', '\xB9', ' ', '\xE5', '\xB0', '\x8D', ' ', '\xE5', '\xB0', '\xB1', ' ', '\xE6', '\x88', '\x91', ' ', '\xE6', '\x97', '\xB6', ' ', '\xE6', '\x99', '\x82', ' ', '\xE6', '\x9C', '\x89', ' ', '\xE6', '\x9D', '\xA5', ' ', '\xE7', '\x82', '\xBA', ' ', '\xE8', '\xA6', '\x81', ' ', '\xE8', '\xAA', '\xAA', ' ', '\xE8', '\xAF', '\xB4', ' ', '|', ' ', '\xE4', '\xB8', '\xBB', ' ', '\xE4', '\xBA', '\x9B', ' ', '\xE5', '\x9B', '\xA0', ' ', '\xE5', '\xAE', '\x83', ' ', '\xE6', '\x83', '\xB3', ' ', '\xE6', '\x84', '\x8F', ' ', '\xE7', '\x90', '\x86', ' ', '\xE7', '\x94', '\x9F', ' ', '\xE7', '\x95', '\xB6', ' ', '\xE7', '\x9C', '\x8B', ' ', '\xE7', '\x9D', '\x80', ' ', '\xE7', '\xBD', '\xAE', ' ', '\xE8', '\x80', '\x85', ' ', '\xE8', '\x87', '\xAA', ' ', '\xE8', '\x91', '\x97', ' ', '\xE8', '\xA3', '\xA1', ' ', '\xE8', '\xBF', '\x87', ' ', '\xE8', '\xBF', '\x98', ' ', '\xE8', '\xBF', '\x9B', ' ', '\xE9', '\x80', '\xB2', ' ', '\xE9', '\x81', '\x8E', ' ', '\xE9', '\x81', '\x93', ' ', '\xE9', '\x82', '\x84', ' ', '\xE9', '\x87', '\x8C', ' ', '\xE9', '\x9D', '\xA2', #line 196 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.c" '\0', }; const AF_Blue_StringRec af_blue_stringsets[] = { { AF_BLUE_STRING_ARABIC_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_ARABIC_BOTTOM, 0 }, { AF_BLUE_STRING_ARABIC_JOIN, ( 1U << 2 ) }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_BENGALI_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_BENGALI_HEAD, ( 1U << 0 ) }, { AF_BLUE_STRING_BENGALI_BASE, ( 1U << 0 ) | ( 1U << 2 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_BENGALI_BASE, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_CYRILLIC_CAPITAL_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_CYRILLIC_CAPITAL_BOTTOM, 0 }, { AF_BLUE_STRING_CYRILLIC_SMALL, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_CYRILLIC_SMALL, 0 }, { AF_BLUE_STRING_CYRILLIC_SMALL_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_DEVANAGARI_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_DEVANAGARI_HEAD, ( 1U << 0 ) }, { AF_BLUE_STRING_DEVANAGARI_BASE, ( 1U << 0 ) | ( 1U << 2 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_DEVANAGARI_BASE, 0 }, { AF_BLUE_STRING_DEVANAGARI_BOTTOM, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_GREEK_CAPITAL_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM, 0 }, { AF_BLUE_STRING_GREEK_SMALL_BETA_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_GREEK_SMALL, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_GREEK_SMALL, 0 }, { AF_BLUE_STRING_GREEK_SMALL_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_HEBREW_TOP, ( 1U << 0 ) | ( 1U << 4 ) }, { AF_BLUE_STRING_HEBREW_BOTTOM, 0 }, { AF_BLUE_STRING_HEBREW_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_KANNADA_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_KANNADA_BOTTOM, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_KHMER_TOP, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_KHMER_SUBSCRIPT_TOP, ( 1U << 1 ) }, { AF_BLUE_STRING_KHMER_BOTTOM, 0 }, { AF_BLUE_STRING_KHMER_DESCENDER, 0 }, { AF_BLUE_STRING_KHMER_LARGE_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_KHMER_SYMBOLS_WAXING_TOP, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_KHMER_SYMBOLS_WANING_BOTTOM, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_LAO_TOP, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_LAO_BOTTOM, 0 }, { AF_BLUE_STRING_LAO_ASCENDER, ( 1U << 0 ) }, { AF_BLUE_STRING_LAO_LARGE_ASCENDER, ( 1U << 0 ) }, { AF_BLUE_STRING_LAO_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_LATIN_CAPITAL_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_LATIN_CAPITAL_BOTTOM, 0 }, { AF_BLUE_STRING_LATIN_SMALL_F_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_LATIN_SMALL, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_LATIN_SMALL, 0 }, { AF_BLUE_STRING_LATIN_SMALL_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_LATIN_SUBS_CAPITAL_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_LATIN_SUBS_CAPITAL_BOTTOM, 0 }, { AF_BLUE_STRING_LATIN_SUBS_SMALL_F_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_LATIN_SUBS_SMALL, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_LATIN_SUBS_SMALL, 0 }, { AF_BLUE_STRING_LATIN_SUBS_SMALL_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_LATIN_SUPS_CAPITAL_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_LATIN_SUPS_CAPITAL_BOTTOM, 0 }, { AF_BLUE_STRING_LATIN_SUPS_SMALL_F_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_LATIN_SUPS_SMALL, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_LATIN_SUPS_SMALL, 0 }, { AF_BLUE_STRING_LATIN_SUPS_SMALL_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_MYANMAR_TOP, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_MYANMAR_BOTTOM, 0 }, { AF_BLUE_STRING_MYANMAR_ASCENDER, ( 1U << 0 ) }, { AF_BLUE_STRING_MYANMAR_DESCENDER, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_TELUGU_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_TELUGU_BOTTOM, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_THAI_TOP, ( 1U << 0 ) | ( 1U << 3 ) }, { AF_BLUE_STRING_THAI_BOTTOM, 0 }, { AF_BLUE_STRING_THAI_ASCENDER, ( 1U << 0 ) }, { AF_BLUE_STRING_THAI_LARGE_ASCENDER, ( 1U << 0 ) }, { AF_BLUE_STRING_THAI_DESCENDER, 0 }, { AF_BLUE_STRING_THAI_LARGE_DESCENDER, 0 }, { AF_BLUE_STRING_THAI_DIGIT_TOP, 0 }, { AF_BLUE_STRING_MAX, 0 }, { AF_BLUE_STRING_CJK_TOP, ( 1U << 0 ) }, { AF_BLUE_STRING_CJK_BOTTOM, 0 }, { AF_BLUE_STRING_MAX, 0 }, #line 318 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afblue.c" }; #line 24 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_arab_uniranges[]; #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_beng_uniranges[]; #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_deva_uniranges[]; #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_grek_uniranges[]; #line 63 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_hebr_uniranges[]; #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_knda_uniranges[]; #line 75 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_khmr_uniranges[]; #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_khms_uniranges[]; #line 88 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_lao_uniranges[]; #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_latn_uniranges[]; #line 101 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_latb_uniranges[]; #line 107 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_latp_uniranges[]; #line 113 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_mymr_uniranges[]; #line 119 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_none_uniranges[]; #line 125 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_telu_uniranges[]; #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_thai_uniranges[]; #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_gujr_uniranges[]; #line 146 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_guru_uniranges[]; #line 152 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_limb_uniranges[]; #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_mlym_uniranges[]; #line 164 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_orya_uniranges[]; #line 170 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_sinh_uniranges[]; #line 176 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_sund_uniranges[]; #line 182 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_sylo_uniranges[]; #line 188 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_taml_uniranges[]; #line 194 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_tibt_uniranges[]; #line 200 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 202 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_hani_uniranges[]; #line 210 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 212 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 33 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_arab_nonbase_uniranges[]; #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_beng_nonbase_uniranges[]; #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_deva_nonbase_uniranges[]; #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_grek_nonbase_uniranges[]; #line 63 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_hebr_nonbase_uniranges[]; #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_knda_nonbase_uniranges[]; #line 75 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_khmr_nonbase_uniranges[]; #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_khms_nonbase_uniranges[]; #line 88 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_lao_nonbase_uniranges[]; #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_latn_nonbase_uniranges[]; #line 101 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_latb_nonbase_uniranges[]; #line 107 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_latp_nonbase_uniranges[]; #line 113 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_mymr_nonbase_uniranges[]; #line 119 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_none_nonbase_uniranges[]; #line 125 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_telu_nonbase_uniranges[]; #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_thai_nonbase_uniranges[]; #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_gujr_nonbase_uniranges[]; #line 146 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_guru_nonbase_uniranges[]; #line 152 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_limb_nonbase_uniranges[]; #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_mlym_nonbase_uniranges[]; #line 164 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_orya_nonbase_uniranges[]; #line 170 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_sinh_nonbase_uniranges[]; #line 176 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_sund_nonbase_uniranges[]; #line 182 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_sylo_nonbase_uniranges[]; #line 188 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_taml_nonbase_uniranges[]; #line 194 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_tibt_nonbase_uniranges[]; #line 200 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 202 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" extern const AF_Script_UniRangeRec af_hani_nonbase_uniranges[]; #line 210 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 212 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 39 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.h" #line 45 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.h" #line 21 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afdummy.h" extern const AF_WritingSystemClassRec af_dummy_writing_system_class; #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afdummy.h" #line 26 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.h" typedef enum AF_Dimension_ { AF_DIMENSION_HORZ = 0, AF_DIMENSION_VERT = 1, AF_DIMENSION_MAX } AF_Dimension; typedef enum AF_Direction_ { AF_DIR_NONE = 4, AF_DIR_RIGHT = 1, AF_DIR_LEFT = -1, AF_DIR_UP = 2, AF_DIR_DOWN = -2 } AF_Direction; typedef struct AF_PointRec_* AF_Point; typedef struct AF_SegmentRec_* AF_Segment; typedef struct AF_EdgeRec_* AF_Edge; typedef struct AF_PointRec_ { FT_UShort flags; FT_Char in_dir; FT_Char out_dir; FT_Pos ox, oy; FT_Short fx, fy; FT_Pos x, y; FT_Pos u, v; AF_Point next; AF_Point prev; } AF_PointRec; typedef struct AF_SegmentRec_ { FT_Byte flags; FT_Char dir; FT_Short pos; FT_Short min_coord; FT_Short max_coord; FT_Short height; AF_Edge edge; AF_Segment edge_next; AF_Segment link; AF_Segment serif; FT_Pos num_linked; FT_Pos score; FT_Pos len; AF_Point first; AF_Point last; } AF_SegmentRec; typedef struct AF_EdgeRec_ { FT_Short fpos; FT_Pos opos; FT_Pos pos; FT_Byte flags; FT_Char dir; FT_Fixed scale; AF_Width blue_edge; AF_Edge link; AF_Edge serif; FT_Short num_linked; FT_Int score; AF_Segment first; AF_Segment last; } AF_EdgeRec; typedef struct AF_AxisHintsRec_ { FT_Int num_segments; FT_Int max_segments; AF_Segment segments; FT_Int num_edges; FT_Int max_edges; AF_Edge edges; AF_Direction major_dir; struct { AF_SegmentRec segments[18]; AF_EdgeRec edges[12]; } embedded; } AF_AxisHintsRec, *AF_AxisHints; typedef struct AF_GlyphHintsRec_ { FT_Memory memory; FT_Fixed x_scale; FT_Pos x_delta; FT_Fixed y_scale; FT_Pos y_delta; FT_Int max_points; FT_Int num_points; AF_Point points; FT_Int max_contours; FT_Int num_contours; AF_Point* contours; AF_AxisHintsRec axis[AF_DIMENSION_MAX]; FT_UInt32 scaler_flags; FT_UInt32 other_flags; AF_StyleMetrics metrics; FT_Pos xmin_delta; FT_Pos xmax_delta; struct { AF_Point contours[8]; AF_PointRec points[96]; } embedded; } AF_GlyphHintsRec; #line 398 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.h" static AF_Direction af_direction_compute( FT_Pos dx, FT_Pos dy ); static FT_Error af_axis_hints_new_segment( AF_AxisHints axis, FT_Memory memory, AF_Segment *asegment ); static FT_Error af_axis_hints_new_edge( AF_AxisHints axis, FT_Int fpos, AF_Direction dir, FT_Bool top_to_bottom_hinting, FT_Memory memory, AF_Edge *edge ); static void af_glyph_hints_init( AF_GlyphHints hints, FT_Memory memory ); static void af_glyph_hints_rescale( AF_GlyphHints hints, AF_StyleMetrics metrics ); static FT_Error af_glyph_hints_reload( AF_GlyphHints hints, FT_Outline* outline ); static void af_glyph_hints_save( AF_GlyphHints hints, FT_Outline* outline ); static void af_glyph_hints_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ); static void af_glyph_hints_align_strong_points( AF_GlyphHints hints, AF_Dimension dim ); static void af_glyph_hints_align_weak_points( AF_GlyphHints hints, AF_Dimension dim ); static void af_glyph_hints_scale_dim( AF_GlyphHints hints, AF_Dimension dim, FT_Fixed scale, FT_Pos delta ); #line 461 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.h" static void af_glyph_hints_done( AF_GlyphHints hints ); #line 477 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.h" #line 24 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.h" extern const AF_WritingSystemClassRec af_latin_writing_system_class; typedef struct AF_LatinBlueRec_ { AF_WidthRec ref; AF_WidthRec shoot; FT_Pos ascender; FT_Pos descender; FT_UInt flags; } AF_LatinBlueRec, *AF_LatinBlue; typedef struct AF_LatinAxisRec_ { FT_Fixed scale; FT_Pos delta; FT_UInt width_count; AF_WidthRec widths[16]; FT_Pos edge_distance_threshold; FT_Pos standard_width; FT_Bool extra_light; FT_UInt blue_count; AF_LatinBlueRec blues[AF_BLUE_STRINGSET_MAX]; FT_Fixed org_scale; FT_Pos org_delta; } AF_LatinAxisRec, *AF_LatinAxis; typedef struct AF_LatinMetricsRec_ { AF_StyleMetricsRec root; FT_UInt units_per_em; AF_LatinAxisRec axis[AF_DIMENSION_MAX]; } AF_LatinMetricsRec, *AF_LatinMetrics; static FT_Error af_latin_metrics_init( AF_LatinMetrics metrics, FT_Face face ); static void af_latin_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ); static void af_latin_metrics_init_widths( AF_LatinMetrics metrics, FT_Face face ); static void af_latin_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ); static FT_Error af_latin_hints_compute_segments( AF_GlyphHints hints, AF_Dimension dim ); static void af_latin_hints_link_segments( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ); static FT_Error af_latin_hints_compute_edges( AF_GlyphHints hints, AF_Dimension dim ); static FT_Error af_latin_hints_detect_features( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ); #line 192 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.h" #line 27 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.h" extern const AF_WritingSystemClassRec af_cjk_writing_system_class; typedef struct AF_CJKBlueRec_ { AF_WidthRec ref; AF_WidthRec shoot; FT_UInt flags; } AF_CJKBlueRec, *AF_CJKBlue; typedef struct AF_CJKAxisRec_ { FT_Fixed scale; FT_Pos delta; FT_UInt width_count; AF_WidthRec widths[16]; FT_Pos edge_distance_threshold; FT_Pos standard_width; FT_Bool extra_light; FT_Bool control_overshoot; FT_UInt blue_count; AF_CJKBlueRec blues[AF_BLUE_STRINGSET_MAX]; FT_Fixed org_scale; FT_Pos org_delta; } AF_CJKAxisRec, *AF_CJKAxis; typedef struct AF_CJKMetricsRec_ { AF_StyleMetricsRec root; FT_UInt units_per_em; AF_CJKAxisRec axis[AF_DIMENSION_MAX]; } AF_CJKMetricsRec, *AF_CJKMetrics; static FT_Error af_cjk_metrics_init( AF_CJKMetrics metrics, FT_Face face ); static void af_cjk_metrics_scale( AF_CJKMetrics metrics, AF_Scaler scaler ); static FT_Error af_cjk_hints_init( AF_GlyphHints hints, AF_CJKMetrics metrics ); static FT_Error af_cjk_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_CJKMetrics metrics ); static void af_cjk_metrics_check_digits( AF_CJKMetrics metrics, FT_Face face ); static void af_cjk_metrics_init_widths( AF_CJKMetrics metrics, FT_Face face ); #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.h" #line 139 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.h" #line 28 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.h" extern const AF_WritingSystemClassRec af_indic_writing_system_class; #line 39 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.h" #line 29 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" #line 34 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" #line 39 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_arab_script_class = { AF_SCRIPT_ARAB, af_arab_uniranges, af_arab_nonbase_uniranges, 0, "\xD9\x84 \xD8\xAD \xD9\x80", }; #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_beng_script_class = { AF_SCRIPT_BENG, af_beng_uniranges, af_beng_nonbase_uniranges, 1, "\xE0\xA7\xA6 \xE0\xA7\xAA", }; #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_deva_script_class = { AF_SCRIPT_DEVA, af_deva_uniranges, af_deva_nonbase_uniranges, 1, "\xE0\xA4\xA0 \xE0\xA4\xB5 \xE0\xA4\x9F", }; #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_grek_script_class = { AF_SCRIPT_GREK, af_grek_uniranges, af_grek_nonbase_uniranges, 0, "\xCE\xBF \xCE\x9F", }; #line 63 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_hebr_script_class = { AF_SCRIPT_HEBR, af_hebr_uniranges, af_hebr_nonbase_uniranges, 0, "\xD7\x9D", }; #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_knda_script_class = { AF_SCRIPT_KNDA, af_knda_uniranges, af_knda_nonbase_uniranges, 0, "\xE0\xB3\xA6 \xE0\xB2\xAC", }; #line 75 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_khmr_script_class = { AF_SCRIPT_KHMR, af_khmr_uniranges, af_khmr_nonbase_uniranges, 0, "\xE1\x9F\xA0", }; #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_khms_script_class = { AF_SCRIPT_KHMS, af_khms_uniranges, af_khms_nonbase_uniranges, 0, "\xE1\xA7\xA1 \xE1\xA7\xAA", }; #line 88 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_lao_script_class = { AF_SCRIPT_LAO, af_lao_uniranges, af_lao_nonbase_uniranges, 0, "\xE0\xBB\x90", }; #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_latn_script_class = { AF_SCRIPT_LATN, af_latn_uniranges, af_latn_nonbase_uniranges, 0, "o O 0", }; #line 101 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_latb_script_class = { AF_SCRIPT_LATB, af_latb_uniranges, af_latb_nonbase_uniranges, 0, "\xE2\x82\x92 \xE2\x82\x80", }; #line 107 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_latp_script_class = { AF_SCRIPT_LATP, af_latp_uniranges, af_latp_nonbase_uniranges, 0, "\xE1\xB5\x92 \xE1\xB4\xBC \xE2\x81\xB0", }; #line 113 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_mymr_script_class = { AF_SCRIPT_MYMR, af_mymr_uniranges, af_mymr_nonbase_uniranges, 0, "\xE1\x80\x9D \xE1\x80\x84 \xE1\x80\x82", }; #line 119 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_none_script_class = { AF_SCRIPT_NONE, af_none_uniranges, af_none_nonbase_uniranges, 0, "", }; #line 125 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_telu_script_class = { AF_SCRIPT_TELU, af_telu_uniranges, af_telu_nonbase_uniranges, 0, "\xE0\xB1\xA6 \xE0\xB1\xA7", }; #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_thai_script_class = { AF_SCRIPT_THAI, af_thai_uniranges, af_thai_nonbase_uniranges, 0, "\xE0\xB8\xB2 \xE0\xB9\x85 \xE0\xB9\x90", }; #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_gujr_script_class = { AF_SCRIPT_GUJR, af_gujr_uniranges, af_gujr_nonbase_uniranges, 0, "o", }; #line 146 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_guru_script_class = { AF_SCRIPT_GURU, af_guru_uniranges, af_guru_nonbase_uniranges, 0, "o", }; #line 152 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_limb_script_class = { AF_SCRIPT_LIMB, af_limb_uniranges, af_limb_nonbase_uniranges, 0, "o", }; #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_mlym_script_class = { AF_SCRIPT_MLYM, af_mlym_uniranges, af_mlym_nonbase_uniranges, 0, "o", }; #line 164 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_orya_script_class = { AF_SCRIPT_ORYA, af_orya_uniranges, af_orya_nonbase_uniranges, 0, "o", }; #line 170 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_sinh_script_class = { AF_SCRIPT_SINH, af_sinh_uniranges, af_sinh_nonbase_uniranges, 0, "o", }; #line 176 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_sund_script_class = { AF_SCRIPT_SUND, af_sund_uniranges, af_sund_nonbase_uniranges, 0, "o", }; #line 182 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_sylo_script_class = { AF_SCRIPT_SYLO, af_sylo_uniranges, af_sylo_nonbase_uniranges, 0, "o", }; #line 188 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_taml_script_class = { AF_SCRIPT_TAML, af_taml_uniranges, af_taml_nonbase_uniranges, 0, "o", }; #line 194 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_tibt_script_class = { AF_SCRIPT_TIBT, af_tibt_uniranges, af_tibt_nonbase_uniranges, 0, "o", }; #line 200 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 202 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" const AF_ScriptClassRec af_hani_script_class = { AF_SCRIPT_HANI, af_hani_uniranges, af_hani_nonbase_uniranges, 0, "\xE7\x94\xB0 \xE5\x9B\x97", }; #line 210 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 212 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 55 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_arab_dflt_style_class = { AF_STYLE_ARAB_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_ARAB, AF_BLUE_STRINGSET_ARAB, AF_COVERAGE_DEFAULT }; #line 92 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_beng_dflt_style_class = { AF_STYLE_BENG_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_BENG, AF_BLUE_STRINGSET_BENG, AF_COVERAGE_DEFAULT }; #line 99 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_cyrl_c2cp_style_class = { AF_STYLE_CYRL_C2CP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_PETITE_CAPITALS_FROM_CAPITALS }; const AF_StyleClassRec af_cyrl_c2sc_style_class = { AF_STYLE_CYRL_C2SC, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_SMALL_CAPITALS_FROM_CAPITALS }; const AF_StyleClassRec af_cyrl_ordn_style_class = { AF_STYLE_CYRL_ORDN, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_ORDINALS }; const AF_StyleClassRec af_cyrl_pcap_style_class = { AF_STYLE_CYRL_PCAP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_PETITE_CAPITALS }; const AF_StyleClassRec af_cyrl_sinf_style_class = { AF_STYLE_CYRL_SINF, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_SCIENTIFIC_INFERIORS }; const AF_StyleClassRec af_cyrl_smcp_style_class = { AF_STYLE_CYRL_SMCP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_SMALL_CAPITALS }; const AF_StyleClassRec af_cyrl_subs_style_class = { AF_STYLE_CYRL_SUBS, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_SUBSCRIPT }; const AF_StyleClassRec af_cyrl_sups_style_class = { AF_STYLE_CYRL_SUPS, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_SUPERSCRIPT }; const AF_StyleClassRec af_cyrl_titl_style_class = { AF_STYLE_CYRL_TITL, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_TITLING }; const AF_StyleClassRec af_cyrl_dflt_style_class = { AF_STYLE_CYRL_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, AF_BLUE_STRINGSET_CYRL, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_deva_dflt_style_class = { AF_STYLE_DEVA_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_DEVA, AF_BLUE_STRINGSET_DEVA, AF_COVERAGE_DEFAULT }; #line 108 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_grek_c2cp_style_class = { AF_STYLE_GREK_C2CP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_PETITE_CAPITALS_FROM_CAPITALS }; const AF_StyleClassRec af_grek_c2sc_style_class = { AF_STYLE_GREK_C2SC, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_SMALL_CAPITALS_FROM_CAPITALS }; const AF_StyleClassRec af_grek_ordn_style_class = { AF_STYLE_GREK_ORDN, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_ORDINALS }; const AF_StyleClassRec af_grek_pcap_style_class = { AF_STYLE_GREK_PCAP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_PETITE_CAPITALS }; const AF_StyleClassRec af_grek_sinf_style_class = { AF_STYLE_GREK_SINF, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_SCIENTIFIC_INFERIORS }; const AF_StyleClassRec af_grek_smcp_style_class = { AF_STYLE_GREK_SMCP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_SMALL_CAPITALS }; const AF_StyleClassRec af_grek_subs_style_class = { AF_STYLE_GREK_SUBS, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_SUBSCRIPT }; const AF_StyleClassRec af_grek_sups_style_class = { AF_STYLE_GREK_SUPS, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_SUPERSCRIPT }; const AF_StyleClassRec af_grek_titl_style_class = { AF_STYLE_GREK_TITL, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_TITLING }; const AF_StyleClassRec af_grek_dflt_style_class = { AF_STYLE_GREK_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, AF_BLUE_STRINGSET_GREK, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_hebr_dflt_style_class = { AF_STYLE_HEBR_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_HEBR, AF_BLUE_STRINGSET_HEBR, AF_COVERAGE_DEFAULT }; #line 117 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_knda_dflt_style_class = { AF_STYLE_KNDA_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_KNDA, AF_BLUE_STRINGSET_KNDA, AF_COVERAGE_DEFAULT }; #line 124 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_khmr_dflt_style_class = { AF_STYLE_KHMR_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_KHMR, AF_BLUE_STRINGSET_KHMR, AF_COVERAGE_DEFAULT }; #line 131 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_khms_dflt_style_class = { AF_STYLE_KHMS_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_KHMS, AF_BLUE_STRINGSET_KHMS, AF_COVERAGE_DEFAULT }; #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_lao_dflt_style_class = { AF_STYLE_LAO_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LAO, AF_BLUE_STRINGSET_LAO, AF_COVERAGE_DEFAULT }; #line 145 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_latn_c2cp_style_class = { AF_STYLE_LATN_C2CP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_PETITE_CAPITALS_FROM_CAPITALS }; const AF_StyleClassRec af_latn_c2sc_style_class = { AF_STYLE_LATN_C2SC, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_SMALL_CAPITALS_FROM_CAPITALS }; const AF_StyleClassRec af_latn_ordn_style_class = { AF_STYLE_LATN_ORDN, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_ORDINALS }; const AF_StyleClassRec af_latn_pcap_style_class = { AF_STYLE_LATN_PCAP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_PETITE_CAPITALS }; const AF_StyleClassRec af_latn_sinf_style_class = { AF_STYLE_LATN_SINF, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_SCIENTIFIC_INFERIORS }; const AF_StyleClassRec af_latn_smcp_style_class = { AF_STYLE_LATN_SMCP, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_SMALL_CAPITALS }; const AF_StyleClassRec af_latn_subs_style_class = { AF_STYLE_LATN_SUBS, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_SUBSCRIPT }; const AF_StyleClassRec af_latn_sups_style_class = { AF_STYLE_LATN_SUPS, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_SUPERSCRIPT }; const AF_StyleClassRec af_latn_titl_style_class = { AF_STYLE_LATN_TITL, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_TITLING }; const AF_StyleClassRec af_latn_dflt_style_class = { AF_STYLE_LATN_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, AF_BLUE_STRINGSET_LATN, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_latb_dflt_style_class = { AF_STYLE_LATB_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATB, AF_BLUE_STRINGSET_LATB, AF_COVERAGE_DEFAULT }; #line 154 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_latp_dflt_style_class = { AF_STYLE_LATP_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATP, AF_BLUE_STRINGSET_LATP, AF_COVERAGE_DEFAULT }; #line 161 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_mymr_dflt_style_class = { AF_STYLE_MYMR_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_MYMR, AF_BLUE_STRINGSET_MYMR, AF_COVERAGE_DEFAULT }; #line 177 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_none_dflt_style_class = { AF_STYLE_NONE_DFLT, AF_WRITING_SYSTEM_DUMMY, AF_SCRIPT_NONE, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; #line 184 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_telu_dflt_style_class = { AF_STYLE_TELU_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_TELU, AF_BLUE_STRINGSET_TELU, AF_COVERAGE_DEFAULT }; #line 191 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_thai_dflt_style_class = { AF_STYLE_THAI_DFLT, AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_THAI, AF_BLUE_STRINGSET_THAI, AF_COVERAGE_DEFAULT }; #line 198 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_gujr_dflt_style_class = { AF_STYLE_GUJR_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_GUJR, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_guru_dflt_style_class = { AF_STYLE_GURU_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_GURU, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_limb_dflt_style_class = { AF_STYLE_LIMB_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_LIMB, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_mlym_dflt_style_class = { AF_STYLE_MLYM_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_MLYM, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_orya_dflt_style_class = { AF_STYLE_ORYA_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_ORYA, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_sinh_dflt_style_class = { AF_STYLE_SINH_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_SINH, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_sund_dflt_style_class = { AF_STYLE_SUND_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_SUND, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_sylo_dflt_style_class = { AF_STYLE_SYLO_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_SYLO, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_taml_dflt_style_class = { AF_STYLE_TAML_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_TAML, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; const AF_StyleClassRec af_tibt_dflt_style_class = { AF_STYLE_TIBT_DFLT, AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_TIBT, (AF_Blue_Stringset)0, AF_COVERAGE_DEFAULT }; #line 223 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" const AF_StyleClassRec af_hani_dflt_style_class = { AF_STYLE_HANI_DFLT, AF_WRITING_SYSTEM_CJK, AF_SCRIPT_HANI, AF_BLUE_STRINGSET_HANI, AF_COVERAGE_DEFAULT }; #line 232 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 234 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 68 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" const AF_WritingSystemClass af_writing_system_classes[] = { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwrtsys.h" &af_dummy_writing_system_class, &af_latin_writing_system_class, &af_cjk_writing_system_class, &af_indic_writing_system_class, #line 81 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" ((void *)0) }; const AF_ScriptClass af_script_classes[] = { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_arab_script_class, #line 38 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_beng_script_class, #line 51 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_deva_script_class, #line 57 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_grek_script_class, #line 63 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_hebr_script_class, #line 69 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_knda_script_class, #line 75 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_khmr_script_class, #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_khms_script_class, #line 88 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_lao_script_class, #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_latn_script_class, #line 101 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_latb_script_class, #line 107 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_latp_script_class, #line 113 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_mymr_script_class, #line 119 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_none_script_class, #line 125 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_telu_script_class, #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_thai_script_class, #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_gujr_script_class, #line 146 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_guru_script_class, #line 152 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_limb_script_class, #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_mlym_script_class, #line 164 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_orya_script_class, #line 170 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_sinh_script_class, #line 176 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_sund_script_class, #line 182 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_sylo_script_class, #line 188 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_taml_script_class, #line 194 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_tibt_script_class, #line 200 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 202 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" &af_hani_script_class, #line 210 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 212 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afscript.h" #line 95 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" ((void *)0) }; const AF_StyleClass af_style_classes[] = { #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_arab_dflt_style_class, #line 92 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_beng_dflt_style_class, #line 99 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_cyrl_c2cp_style_class, &af_cyrl_c2sc_style_class, &af_cyrl_ordn_style_class, &af_cyrl_pcap_style_class, &af_cyrl_sinf_style_class, &af_cyrl_smcp_style_class, &af_cyrl_subs_style_class, &af_cyrl_sups_style_class, &af_cyrl_titl_style_class, &af_cyrl_dflt_style_class, &af_deva_dflt_style_class, #line 108 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_grek_c2cp_style_class, &af_grek_c2sc_style_class, &af_grek_ordn_style_class, &af_grek_pcap_style_class, &af_grek_sinf_style_class, &af_grek_smcp_style_class, &af_grek_subs_style_class, &af_grek_sups_style_class, &af_grek_titl_style_class, &af_grek_dflt_style_class, &af_hebr_dflt_style_class, #line 117 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_knda_dflt_style_class, #line 124 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_khmr_dflt_style_class, #line 131 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_khms_dflt_style_class, #line 138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_lao_dflt_style_class, #line 145 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_latn_c2cp_style_class, &af_latn_c2sc_style_class, &af_latn_ordn_style_class, &af_latn_pcap_style_class, &af_latn_sinf_style_class, &af_latn_smcp_style_class, &af_latn_subs_style_class, &af_latn_sups_style_class, &af_latn_titl_style_class, &af_latn_dflt_style_class, &af_latb_dflt_style_class, #line 154 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_latp_dflt_style_class, #line 161 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_mymr_dflt_style_class, #line 177 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_none_dflt_style_class, #line 184 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_telu_dflt_style_class, #line 191 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_thai_dflt_style_class, #line 198 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_gujr_dflt_style_class, &af_guru_dflt_style_class, &af_limb_dflt_style_class, &af_mlym_dflt_style_class, &af_orya_dflt_style_class, &af_sinh_dflt_style_class, &af_sund_dflt_style_class, &af_sylo_dflt_style_class, &af_taml_dflt_style_class, &af_tibt_dflt_style_class, #line 223 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" &af_hani_dflt_style_class, #line 232 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 234 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afstyles.h" #line 109 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" ((void *)0) }; #line 114 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" static FT_Error af_face_globals_compute_style_coverage( AF_FaceGlobals globals ) { FT_Error error; FT_Face face = globals->face; FT_CharMap old_charmap = face->charmap; FT_UShort* gstyles = globals->glyph_styles; FT_UInt ss; FT_UInt i; FT_UInt dflt = ~0U; for ( i = 0; i < (FT_UInt)globals->glyph_count; i++ ) gstyles[i] = 0x3FFF; error = FT_Select_Charmap( face, FT_ENCODING_UNICODE ); if ( error ) { error = FT_Err_Ok; goto Exit; } for ( ss = 0; af_style_classes[ss]; ss++ ) { AF_StyleClass style_class = af_style_classes[ss]; AF_ScriptClass script_class = af_script_classes[style_class->script]; AF_Script_UniRange range; if ( script_class->script_uni_ranges == ((void *)0) ) continue; if ( style_class->coverage == AF_COVERAGE_DEFAULT ) { if ( (FT_UInt)style_class->script == globals->module->default_script ) dflt = ss; for ( range = script_class->script_uni_ranges; range->first != 0; range++ ) { FT_ULong charcode = range->first; FT_UInt gindex; gindex = FT_Get_Char_Index( face, charcode ); if ( gindex != 0 && gindex < (FT_ULong)globals->glyph_count && ( gstyles[gindex] & 0x3FFF ) == 0x3FFF ) gstyles[gindex] = (FT_UShort)ss; for (;;) { charcode = FT_Get_Next_Char( face, charcode, &gindex ); if ( gindex == 0 || charcode > range->last ) break; if ( gindex < (FT_ULong)globals->glyph_count && ( gstyles[gindex] & 0x3FFF ) == 0x3FFF ) gstyles[gindex] = (FT_UShort)ss; } } for ( range = script_class->script_uni_nonbase_ranges; range->first != 0; range++ ) { FT_ULong charcode = range->first; FT_UInt gindex; gindex = FT_Get_Char_Index( face, charcode ); if ( gindex != 0 && gindex < (FT_ULong)globals->glyph_count && ( gstyles[gindex] & 0x3FFF ) == (FT_UShort)ss ) gstyles[gindex] |= 0x4000U; for (;;) { charcode = FT_Get_Next_Char( face, charcode, &gindex ); if ( gindex == 0 || charcode > range->last ) break; if ( gindex < (FT_ULong)globals->glyph_count && ( gstyles[gindex] & 0x3FFF ) == (FT_UShort)ss ) gstyles[gindex] |= 0x4000U; } } } else { af_shaper_get_coverage( globals, style_class, gstyles, 0 ); } } for ( ss = 0; af_style_classes[ss]; ss++ ) { AF_StyleClass style_class = af_style_classes[ss]; if ( style_class->coverage == AF_COVERAGE_DEFAULT ) af_shaper_get_coverage( globals, style_class, gstyles, 0 ); } af_shaper_get_coverage( globals, af_style_classes[dflt], gstyles, 1 ); for ( i = 0x30; i <= 0x39; i++ ) { FT_UInt gindex = FT_Get_Char_Index( face, i ); if ( gindex != 0 && gindex < (FT_ULong)globals->glyph_count ) gstyles[gindex] |= 0x8000U; } Exit: if ( globals->module->fallback_style != 0x3FFF ) { FT_Long nn; for ( nn = 0; nn < globals->glyph_count; nn++ ) { if ( ( gstyles[nn] & 0x3FFF ) == 0x3FFF ) { gstyles[nn] &= ~0x3FFF; gstyles[nn] |= globals->module->fallback_style; } } } FT_Set_Charmap( face, old_charmap ); return error; } static FT_Error af_face_globals_new( FT_Face face, AF_FaceGlobals *aglobals, AF_Module module ) { FT_Error error; FT_Memory memory; AF_FaceGlobals globals = ((void *)0); memory = face->memory; if ( ( ((globals) = (ft_mem_alloc( memory, (FT_Long)(sizeof ( *globals ) + (FT_ULong)face->num_glyphs * sizeof ( FT_UShort )), &error ))), error != 0 ) ) #line 352 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afglobal.c" goto Exit; globals->face = face; globals->glyph_count = face->num_glyphs; globals->glyph_styles = (FT_UShort*)( globals + 1 ); globals->module = module; globals->stem_darkening_for_ppem = 0; globals->darken_x = 0; globals->darken_y = 0; globals->standard_vertical_width = 0; globals->standard_horizontal_width = 0; globals->scale_down_factor = 0; error = af_face_globals_compute_style_coverage( globals ); if ( error ) { af_face_globals_free( globals ); globals = ((void *)0); } else globals->increase_x_height = 0; Exit: *aglobals = globals; return error; } static void af_face_globals_free( AF_FaceGlobals globals ) { if ( globals ) { FT_Memory memory = globals->face->memory; FT_UInt nn; for ( nn = 0; nn < AF_STYLE_MAX; nn++ ) { if ( globals->metrics[nn] ) { AF_StyleClass style_class = af_style_classes[nn]; AF_WritingSystemClass writing_system_class = af_writing_system_classes[style_class->writing_system]; if ( writing_system_class->style_metrics_done ) writing_system_class->style_metrics_done( globals->metrics[nn] ); do { ft_mem_free( memory, (globals->metrics[nn]) ); (globals->metrics[nn]) = ((void *)0); } while ( 0 ); } } globals->glyph_count = 0; globals->stem_darkening_for_ppem = 0; globals->darken_x = 0; globals->darken_y = 0; globals->standard_vertical_width = 0; globals->standard_horizontal_width = 0; globals->scale_down_factor = 0; globals->glyph_styles = ((void *)0); globals->face = ((void *)0); do { ft_mem_free( memory, (globals) ); (globals) = ((void *)0); } while ( 0 ); } } static FT_Error af_face_globals_get_metrics( AF_FaceGlobals globals, FT_UInt gindex, FT_UInt options, AF_StyleMetrics *ametrics ) { AF_StyleMetrics metrics = ((void *)0); AF_Style style = (AF_Style)options; AF_WritingSystemClass writing_system_class; AF_StyleClass style_class; FT_Error error = FT_Err_Ok; if ( gindex >= (FT_ULong)globals->glyph_count ) { error = AF_Err_Invalid_Argument; goto Exit; } if ( style == AF_STYLE_NONE_DFLT || style + 1 >= AF_STYLE_MAX ) style = (AF_Style)( globals->glyph_styles[gindex] & 0x3FFF ); style_class = af_style_classes[style]; writing_system_class = af_writing_system_classes [style_class->writing_system]; metrics = globals->metrics[style]; if ( metrics == ((void *)0) ) { FT_Memory memory = globals->face->memory; if ( ( ((metrics) = (ft_mem_alloc( memory, (FT_Long)(writing_system_class->style_metrics_size), &error ))), error != 0 ) ) goto Exit; metrics->style_class = style_class; metrics->globals = globals; if ( writing_system_class->style_metrics_init ) { error = writing_system_class->style_metrics_init( metrics, globals->face ); if ( error ) { if ( writing_system_class->style_metrics_done ) writing_system_class->style_metrics_done( metrics ); do { ft_mem_free( memory, (metrics) ); (metrics) = ((void *)0); } while ( 0 ); goto Exit; } } globals->metrics[style] = metrics; } Exit: *ametrics = metrics; return error; } static FT_Bool af_face_globals_is_digit( AF_FaceGlobals globals, FT_UInt gindex ) { if ( gindex < (FT_ULong)globals->glyph_count ) return (FT_Bool)( globals->glyph_styles[gindex] & 0x8000U ); return (FT_Bool)0; } #line 25 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 67 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 178 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 238 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 240 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 247 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" extern FT_Long FT_MulDiv_No_Round( FT_Long a, FT_Long b, FT_Long c ); extern void FT_Matrix_Multiply_Scaled( const FT_Matrix* a, FT_Matrix *b, FT_Long scaling ); extern void FT_Vector_Transform_Scaled( FT_Vector* vector, const FT_Matrix* matrix, FT_Long scaling ); extern FT_UInt32 FT_Vector_NormLen( FT_Vector* vector ); extern FT_Int ft_corner_orientation( FT_Pos in_x, FT_Pos in_y, FT_Pos out_x, FT_Pos out_y ); extern FT_Int ft_corner_is_flat( FT_Pos in_x, FT_Pos in_y, FT_Pos out_x, FT_Pos out_y ); #line 358 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 359 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" extern FT_Int FT_MSB( FT_UInt32 z ); #line 366 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" extern FT_Fixed FT_Hypot( FT_Fixed x, FT_Fixed y ); #line 400 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 416 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/ftcalc.h" #line 22 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.c" static FT_Error af_axis_hints_new_segment( AF_AxisHints axis, FT_Memory memory, AF_Segment *asegment ) { FT_Error error = FT_Err_Ok; AF_Segment segment = ((void *)0); if ( axis->num_segments < 18 ) { if ( axis->segments == ((void *)0) ) { axis->segments = axis->embedded.segments; axis->max_segments = 18; } } else if ( axis->num_segments >= axis->max_segments ) { FT_Int old_max = axis->max_segments; FT_Int new_max = old_max; FT_Int big_max = (FT_Int)( 2147483647 / sizeof ( *segment ) ); if ( old_max >= big_max ) { error = AF_Err_Out_Of_Memory; goto Exit; } new_max += ( new_max >> 2 ) + 4; if ( new_max < old_max || new_max > big_max ) new_max = big_max; if ( axis->segments == axis->embedded.segments ) { if ( ( ((axis->segments) = (ft_mem_realloc( memory, sizeof ( *(axis->segments) ), 0, (FT_Long)(new_max), ((void *)0), &error ))), error != 0 ) ) goto Exit; memcpy( axis->segments, axis->embedded.segments, sizeof ( axis->embedded.segments ) ); } else { if ( ( ((axis->segments) = (ft_mem_realloc( memory, sizeof ( *(axis->segments) ), (FT_Long)(old_max), (FT_Long)(new_max), (axis->segments), &error ))), error != 0 ) ) goto Exit; } axis->max_segments = new_max; } segment = axis->segments + axis->num_segments++; Exit: *asegment = segment; return error; } static FT_Error af_axis_hints_new_edge( AF_AxisHints axis, FT_Int fpos, AF_Direction dir, FT_Bool top_to_bottom_hinting, FT_Memory memory, AF_Edge *anedge ) { FT_Error error = FT_Err_Ok; AF_Edge edge = ((void *)0); AF_Edge edges; if ( axis->num_edges < 12 ) { if ( axis->edges == ((void *)0) ) { axis->edges = axis->embedded.edges; axis->max_edges = 12; } } else if ( axis->num_edges >= axis->max_edges ) { FT_Int old_max = axis->max_edges; FT_Int new_max = old_max; FT_Int big_max = (FT_Int)( 2147483647 / sizeof ( *edge ) ); if ( old_max >= big_max ) { error = AF_Err_Out_Of_Memory; goto Exit; } new_max += ( new_max >> 2 ) + 4; if ( new_max < old_max || new_max > big_max ) new_max = big_max; if ( axis->edges == axis->embedded.edges ) { if ( ( ((axis->edges) = (ft_mem_realloc( memory, sizeof ( *(axis->edges) ), 0, (FT_Long)(new_max), ((void *)0), &error ))), error != 0 ) ) goto Exit; memcpy( axis->edges, axis->embedded.edges, sizeof ( axis->embedded.edges ) ); } else { if ( ( ((axis->edges) = (ft_mem_realloc( memory, sizeof ( *(axis->edges) ), (FT_Long)(old_max), (FT_Long)(new_max), (axis->edges), &error ))), error != 0 ) ) goto Exit; } axis->max_edges = new_max; } edges = axis->edges; edge = edges + axis->num_edges; while ( edge > edges ) { if ( top_to_bottom_hinting ? ( edge[-1].fpos > fpos ) : ( edge[-1].fpos < fpos ) ) break; if ( edge[-1].fpos == fpos && dir == axis->major_dir ) break; edge[0] = edge[-1]; edge--; } axis->num_edges++; Exit: *anedge = edge; return error; } static AF_Direction af_direction_compute( FT_Pos dx, FT_Pos dy ) { FT_Pos ll, ss; AF_Direction dir; if ( dy >= dx ) { if ( dy >= -dx ) { dir = AF_DIR_UP; ll = dy; ss = dx; } else { dir = AF_DIR_LEFT; ll = -dx; ss = dy; } } else { if ( dy >= -dx ) { dir = AF_DIR_RIGHT; ll = dx; ss = dy; } else { dir = AF_DIR_DOWN; ll = -dy; ss = dx; } } if ( ll <= 14 * ( (ss) < 0 ? -(ss) : (ss) ) ) dir = AF_DIR_NONE; return dir; } static void af_glyph_hints_init( AF_GlyphHints hints, FT_Memory memory ) { memset( hints, 0, (FT_Offset)(sizeof ( *hints ) - sizeof ( hints->embedded )) ); hints->memory = memory; } static void af_glyph_hints_done( AF_GlyphHints hints ) { FT_Memory memory; int dim; if ( !( hints && hints->memory ) ) return; memory = hints->memory; for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { AF_AxisHints axis = &hints->axis[dim]; axis->num_segments = 0; axis->max_segments = 0; if ( axis->segments != axis->embedded.segments ) do { ft_mem_free( memory, (axis->segments) ); (axis->segments) = ((void *)0); } while ( 0 ); axis->num_edges = 0; axis->max_edges = 0; if ( axis->edges != axis->embedded.edges ) do { ft_mem_free( memory, (axis->edges) ); (axis->edges) = ((void *)0); } while ( 0 ); } if ( hints->contours != hints->embedded.contours ) do { ft_mem_free( memory, (hints->contours) ); (hints->contours) = ((void *)0); } while ( 0 ); hints->max_contours = 0; hints->num_contours = 0; if ( hints->points != hints->embedded.points ) do { ft_mem_free( memory, (hints->points) ); (hints->points) = ((void *)0); } while ( 0 ); hints->max_points = 0; hints->num_points = 0; hints->memory = ((void *)0); } static void af_glyph_hints_rescale( AF_GlyphHints hints, AF_StyleMetrics metrics ) { hints->metrics = metrics; hints->scaler_flags = metrics->scaler.flags; } static FT_Error af_glyph_hints_reload( AF_GlyphHints hints, FT_Outline* outline ) { FT_Error error = FT_Err_Ok; AF_Point points; FT_UInt old_max, new_max; FT_Fixed x_scale = hints->x_scale; FT_Fixed y_scale = hints->y_scale; FT_Pos x_delta = hints->x_delta; FT_Pos y_delta = hints->y_delta; FT_Memory memory = hints->memory; hints->num_points = 0; hints->num_contours = 0; hints->axis[0].num_segments = 0; hints->axis[0].num_edges = 0; hints->axis[1].num_segments = 0; hints->axis[1].num_edges = 0; new_max = (FT_UInt)outline->n_contours; old_max = (FT_UInt)hints->max_contours; if ( new_max <= 8 ) { if ( hints->contours == ((void *)0) ) { hints->contours = hints->embedded.contours; hints->max_contours = 8; } } else if ( new_max > old_max ) { if ( hints->contours == hints->embedded.contours ) hints->contours = ((void *)0); new_max = ( new_max + 3 ) & ~3U; if ( ( ((hints->contours) = (ft_mem_realloc( memory, sizeof ( *(hints->contours) ), (FT_Long)(old_max), (FT_Long)(new_max), (hints->contours), &error ))), error != 0 ) ) goto Exit; hints->max_contours = (FT_Int)new_max; } new_max = (FT_UInt)( outline->n_points + 2 ); old_max = (FT_UInt)hints->max_points; if ( new_max <= 96 ) { if ( hints->points == ((void *)0) ) { hints->points = hints->embedded.points; hints->max_points = 96; } } else if ( new_max > old_max ) { if ( hints->points == hints->embedded.points ) hints->points = ((void *)0); new_max = ( new_max + 2 + 7 ) & ~7U; if ( ( ((hints->points) = (ft_mem_realloc( memory, sizeof ( *(hints->points) ), (FT_Long)(old_max), (FT_Long)(new_max), (hints->points), &error ))), error != 0 ) ) goto Exit; hints->max_points = (FT_Int)new_max; } hints->num_points = outline->n_points; hints->num_contours = outline->n_contours; hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_UP; hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_LEFT; if ( FT_Outline_Get_Orientation( outline ) == FT_ORIENTATION_POSTSCRIPT ) { hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_DOWN; hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_RIGHT; } hints->x_scale = x_scale; hints->y_scale = y_scale; hints->x_delta = x_delta; hints->y_delta = y_delta; hints->xmin_delta = 0; hints->xmax_delta = 0; points = hints->points; if ( hints->num_points == 0 ) goto Exit; { AF_Point point; AF_Point point_limit = points + hints->num_points; { FT_Vector* vec = outline->points; char* tag = outline->tags; AF_Point end = points + outline->contours[0]; AF_Point prev = end; FT_Int contour_index = 0; for ( point = points; point < point_limit; point++, vec++, tag++ ) { point->in_dir = (FT_Char)AF_DIR_NONE; point->out_dir = (FT_Char)AF_DIR_NONE; point->fx = (FT_Short)vec->x; point->fy = (FT_Short)vec->y; point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; switch ( ( *tag & 3 ) ) { case 0: point->flags = ( 1U << 0 ); break; case 2: point->flags = ( 1U << 1 ); break; default: point->flags = 0; } point->prev = prev; prev->next = point; prev = point; if ( point == end ) { if ( ++contour_index < outline->n_contours ) { end = points + outline->contours[contour_index]; prev = end; } } } } { AF_Point* contour = hints->contours; AF_Point* contour_limit = contour + hints->num_contours; short* end = outline->contours; short idx = 0; for ( ; contour < contour_limit; contour++, end++ ) { contour[0] = points + idx; idx = (short)( end[0] + 1 ); } } { FT_UInt units_per_em = hints->metrics->scaler.face->units_per_EM; FT_Int near_limit = 20 * units_per_em / 2048; FT_Int near_limit2 = 2 * near_limit - 1; AF_Point* contour; AF_Point* contour_limit = hints->contours + hints->num_contours; for ( contour = hints->contours; contour < contour_limit; contour++ ) { AF_Point first = *contour; AF_Point next, prev, curr; FT_Pos out_x, out_y; point = first; prev = first->prev; while ( prev != first ) { out_x = point->fx - prev->fx; out_y = point->fy - prev->fy; if ( ( (out_x) < 0 ? -(out_x) : (out_x) ) + ( (out_y) < 0 ? -(out_y) : (out_y) ) >= near_limit2 ) break; point = prev; prev = prev->prev; } first = point; curr = first; curr->u = (FT_Pos)( first - curr ); first->v = -curr->u; out_x = 0; out_y = 0; next = first; do { AF_Direction out_dir; point = next; next = point->next; out_x += next->fx - point->fx; out_y += next->fy - point->fy; if ( ( (out_x) < 0 ? -(out_x) : (out_x) ) + ( (out_y) < 0 ? -(out_y) : (out_y) ) < near_limit ) { next->flags |= ( 1U << 4 ); continue; } curr->u = (FT_Pos)( next - curr ); next->v = -curr->u; out_dir = af_direction_compute( out_x, out_y ); curr->out_dir = (FT_Char)out_dir; for ( curr = curr->next; curr != next; curr = curr->next ) { curr->in_dir = (FT_Char)out_dir; curr->out_dir = (FT_Char)out_dir; } next->in_dir = (FT_Char)out_dir; curr->u = (FT_Pos)( first - curr ); first->v = -curr->u; out_x = 0; out_y = 0; } while ( next != first ); } for ( point = points; point < point_limit; point++ ) { if ( point->flags & ( 1U << 4 ) ) continue; if ( point->in_dir == AF_DIR_NONE && point->out_dir == AF_DIR_NONE ) { FT_Pos in_x, in_y; FT_Pos out_x, out_y; AF_Point next_u = point + point->u; AF_Point prev_v = point + point->v; in_x = point->fx - prev_v->fx; in_y = point->fy - prev_v->fy; out_x = next_u->fx - point->fx; out_y = next_u->fy - point->fy; if ( ( in_x ^ out_x ) >= 0 && ( in_y ^ out_y ) >= 0 ) { point->flags |= ( 1U << 4 ); prev_v->u = (FT_Pos)( next_u - prev_v ); next_u->v = -prev_v->u; } } } for ( point = points; point < point_limit; point++ ) { if ( point->flags & ( 1U << 4 ) ) continue; if ( point->flags & ( ( 1U << 0 ) | ( 1U << 1 ) ) ) { Is_Weak_Point: point->flags |= ( 1U << 4 ); } else if ( point->out_dir == point->in_dir ) { if ( point->out_dir != AF_DIR_NONE ) { goto Is_Weak_Point; } { AF_Point next_u = point + point->u; AF_Point prev_v = point + point->v; if ( ft_corner_is_flat( point->fx - prev_v->fx, point->fy - prev_v->fy, next_u->fx - point->fx, next_u->fy - point->fy ) ) { prev_v->u = (FT_Pos)( next_u - prev_v ); next_u->v = -prev_v->u; goto Is_Weak_Point; } } } else if ( point->in_dir == -point->out_dir ) { goto Is_Weak_Point; } } } } Exit: return error; } static void af_glyph_hints_save( AF_GlyphHints hints, FT_Outline* outline ) { AF_Point point = hints->points; AF_Point limit = point + hints->num_points; FT_Vector* vec = outline->points; char* tag = outline->tags; for ( ; point < limit; point++, vec++, tag++ ) { vec->x = point->x; vec->y = point->y; if ( point->flags & ( 1U << 0 ) ) tag[0] = 0; else if ( point->flags & ( 1U << 1 ) ) tag[0] = 2; else tag[0] = 1; } } static void af_glyph_hints_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = & hints->axis[dim]; AF_Segment segments = axis->segments; AF_Segment segment_limit = segments + axis->num_segments; AF_Segment seg; if ( dim == AF_DIMENSION_HORZ ) { for ( seg = segments; seg < segment_limit; seg++ ) { AF_Edge edge = seg->edge; AF_Point point, first, last; if ( edge == ((void *)0) ) continue; first = seg->first; last = seg->last; point = first; for (;;) { point->x = edge->pos; point->flags |= ( 1U << 2 ); if ( point == last ) break; point = point->next; } } } else { for ( seg = segments; seg < segment_limit; seg++ ) { AF_Edge edge = seg->edge; AF_Point point, first, last; if ( edge == ((void *)0) ) continue; first = seg->first; last = seg->last; point = first; for (;;) { point->y = edge->pos; point->flags |= ( 1U << 3 ); if ( point == last ) break; point = point->next; } } } } static void af_glyph_hints_align_strong_points( AF_GlyphHints hints, AF_Dimension dim ) { AF_Point points = hints->points; AF_Point point_limit = points + hints->num_points; AF_AxisHints axis = &hints->axis[dim]; AF_Edge edges = axis->edges; AF_Edge edge_limit = edges + axis->num_edges; FT_UInt touch_flag; if ( dim == AF_DIMENSION_HORZ ) touch_flag = ( 1U << 2 ); else touch_flag = ( 1U << 3 ); if ( edges < edge_limit ) { AF_Point point; AF_Edge edge; for ( point = points; point < point_limit; point++ ) { FT_Pos u, ou, fu; FT_Pos delta; if ( point->flags & touch_flag ) continue; if ( ( point->flags & ( 1U << 4 ) ) ) continue; if ( dim == AF_DIMENSION_VERT ) { u = point->fy; ou = point->oy; } else { u = point->fx; ou = point->ox; } fu = u; edge = edges; delta = edge->fpos - u; if ( delta >= 0 ) { u = edge->pos - ( edge->opos - ou ); goto Store_Point; } edge = edge_limit - 1; delta = u - edge->fpos; if ( delta >= 0 ) { u = edge->pos + ( ou - edge->opos ); goto Store_Point; } { FT_PtrDist min, max, mid; FT_Pos fpos; min = 0; max = edge_limit - edges; if ( max <= 8 ) { FT_PtrDist nn; for ( nn = 0; nn < max; nn++ ) if ( edges[nn].fpos >= u ) break; if ( edges[nn].fpos == u ) { u = edges[nn].pos; goto Store_Point; } min = nn; } else #line 1314 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.c" while ( min < max ) { mid = ( max + min ) >> 1; edge = edges + mid; fpos = edge->fpos; if ( u < fpos ) max = mid; else if ( u > fpos ) min = mid + 1; else { u = edge->pos; goto Store_Point; } } { AF_Edge before = edges + min - 1; AF_Edge after = edges + min + 0; if ( before->scale == 0 ) before->scale = FT_DivFix( after->pos - before->pos, after->fpos - before->fpos ); u = before->pos + FT_MulFix( fu - before->fpos, before->scale ); } } Store_Point: if ( dim == AF_DIMENSION_HORZ ) point->x = u; else point->y = u; point->flags |= touch_flag; } } } static void af_iup_shift( AF_Point p1, AF_Point p2, AF_Point ref ) { AF_Point p; FT_Pos delta = ref->u - ref->v; if ( delta == 0 ) return; for ( p = p1; p < ref; p++ ) p->u = p->v + delta; for ( p = ref + 1; p <= p2; p++ ) p->u = p->v + delta; } static void af_iup_interp( AF_Point p1, AF_Point p2, AF_Point ref1, AF_Point ref2 ) { AF_Point p; FT_Pos u, v1, v2, u1, u2, d1, d2; if ( p1 > p2 ) return; if ( ref1->v > ref2->v ) { p = ref1; ref1 = ref2; ref2 = p; } v1 = ref1->v; v2 = ref2->v; u1 = ref1->u; u2 = ref2->u; d1 = u1 - v1; d2 = u2 - v2; if ( u1 == u2 || v1 == v2 ) { for ( p = p1; p <= p2; p++ ) { u = p->v; if ( u <= v1 ) u += d1; else if ( u >= v2 ) u += d2; else u = u1; p->u = u; } } else { FT_Fixed scale = FT_DivFix( u2 - u1, v2 - v1 ); for ( p = p1; p <= p2; p++ ) { u = p->v; if ( u <= v1 ) u += d1; else if ( u >= v2 ) u += d2; else u = u1 + FT_MulFix( u - v1, scale ); p->u = u; } } } static void af_glyph_hints_align_weak_points( AF_GlyphHints hints, AF_Dimension dim ) { AF_Point points = hints->points; AF_Point point_limit = points + hints->num_points; AF_Point* contour = hints->contours; AF_Point* contour_limit = contour + hints->num_contours; FT_UInt touch_flag; AF_Point point; AF_Point end_point; AF_Point first_point; if ( dim == AF_DIMENSION_HORZ ) { touch_flag = ( 1U << 2 ); for ( point = points; point < point_limit; point++ ) { point->u = point->x; point->v = point->ox; } } else { touch_flag = ( 1U << 3 ); for ( point = points; point < point_limit; point++ ) { point->u = point->y; point->v = point->oy; } } for ( ; contour < contour_limit; contour++ ) { AF_Point first_touched, last_touched; point = *contour; end_point = point->prev; first_point = point; for (;;) { if ( point > end_point ) goto NextContour; if ( point->flags & touch_flag ) break; point++; } first_touched = point; for (;;) { do { } while ( 0 ); #line 1531 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.c" while ( point < end_point && ( point[1].flags & touch_flag ) != 0 ) point++; last_touched = point; point++; for (;;) { if ( point > end_point ) goto EndContour; if ( ( point->flags & touch_flag ) != 0 ) break; point++; } af_iup_interp( last_touched + 1, point - 1, last_touched, point ); } EndContour: if ( last_touched == first_touched ) af_iup_shift( first_point, end_point, first_touched ); else { if ( last_touched < end_point ) af_iup_interp( last_touched + 1, end_point, last_touched, first_touched ); if ( first_touched > points ) af_iup_interp( first_point, first_touched - 1, last_touched, first_touched ); } NextContour: ; } if ( dim == AF_DIMENSION_HORZ ) { for ( point = points; point < point_limit; point++ ) point->x = point->u; } else { for ( point = points; point < point_limit; point++ ) point->y = point->u; } } static void af_glyph_hints_scale_dim( AF_GlyphHints hints, AF_Dimension dim, FT_Fixed scale, FT_Pos delta ) { AF_Point points = hints->points; AF_Point points_limit = points + hints->num_points; AF_Point point; if ( dim == AF_DIMENSION_HORZ ) { for ( point = points; point < points_limit; point++ ) point->x = FT_MulFix( point->fx, scale ) + delta; } else { for ( point = points; point < points_limit; point++ ) point->y = FT_MulFix( point->fy, scale ) + delta; } } #line 1619 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afhints.c" #line 26 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.c" const AF_Script_UniRangeRec af_arab_uniranges[] = { { (FT_UInt32)(0x0600UL), (FT_UInt32)(0x06FFUL) }, { (FT_UInt32)(0x0750UL), (FT_UInt32)(0x07FFUL) }, { (FT_UInt32)(0x08A0UL), (FT_UInt32)(0x08FFUL) }, { (FT_UInt32)(0xFB50UL), (FT_UInt32)(0xFDFFUL) }, { (FT_UInt32)(0xFE70UL), (FT_UInt32)(0xFEFFUL) }, { (FT_UInt32)(0x1EE00UL), (FT_UInt32)(0x1EEFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_arab_nonbase_uniranges[] = { { (FT_UInt32)(0x0600UL), (FT_UInt32)(0x0605UL) }, { (FT_UInt32)(0x0610UL), (FT_UInt32)(0x061AUL) }, { (FT_UInt32)(0x064BUL), (FT_UInt32)(0x065FUL) }, { (FT_UInt32)(0x0670UL), (FT_UInt32)(0x0670UL) }, { (FT_UInt32)(0x06D6UL), (FT_UInt32)(0x06DCUL) }, { (FT_UInt32)(0x06DFUL), (FT_UInt32)(0x06E4UL) }, { (FT_UInt32)(0x06E7UL), (FT_UInt32)(0x06E8UL) }, { (FT_UInt32)(0x06EAUL), (FT_UInt32)(0x06EDUL) }, { (FT_UInt32)(0x08E3UL), (FT_UInt32)(0x08FFUL) }, { (FT_UInt32)(0xFBB2UL), (FT_UInt32)(0xFBC1UL) }, { (FT_UInt32)(0xFE70UL), (FT_UInt32)(0xFE70UL) }, { (FT_UInt32)(0xFE72UL), (FT_UInt32)(0xFE72UL) }, { (FT_UInt32)(0xFE74UL), (FT_UInt32)(0xFE74UL) }, { (FT_UInt32)(0xFE76UL), (FT_UInt32)(0xFE76UL) }, { (FT_UInt32)(0xFE78UL), (FT_UInt32)(0xFE78UL) }, { (FT_UInt32)(0xFE7AUL), (FT_UInt32)(0xFE7AUL) }, { (FT_UInt32)(0xFE7CUL), (FT_UInt32)(0xFE7CUL) }, { (FT_UInt32)(0xFE7EUL), (FT_UInt32)(0xFE7EUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_beng_uniranges[] = { { (FT_UInt32)(0x0980UL), (FT_UInt32)(0x09FFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_beng_nonbase_uniranges[] = { { (FT_UInt32)(0x0981UL), (FT_UInt32)(0x0981UL) }, { (FT_UInt32)(0x09BCUL), (FT_UInt32)(0x09BCUL) }, { (FT_UInt32)(0x09C1UL), (FT_UInt32)(0x09C4UL) }, { (FT_UInt32)(0x09CDUL), (FT_UInt32)(0x09CDUL) }, { (FT_UInt32)(0x09E2UL), (FT_UInt32)(0x09E3UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_cyrl_uniranges[] = { { (FT_UInt32)(0x0400UL), (FT_UInt32)(0x04FFUL) }, { (FT_UInt32)(0x0500UL), (FT_UInt32)(0x052FUL) }, { (FT_UInt32)(0x2DE0UL), (FT_UInt32)(0x2DFFUL) }, { (FT_UInt32)(0xA640UL), (FT_UInt32)(0xA69FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_cyrl_nonbase_uniranges[] = { { (FT_UInt32)(0x0483UL), (FT_UInt32)(0x0489UL) }, { (FT_UInt32)(0x2DE0UL), (FT_UInt32)(0x2DFFUL) }, { (FT_UInt32)(0xA66FUL), (FT_UInt32)(0xA67FUL) }, { (FT_UInt32)(0xA69EUL), (FT_UInt32)(0xA69FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_deva_uniranges[] = { { (FT_UInt32)(0x0900UL), (FT_UInt32)(0x093BUL) }, { (FT_UInt32)(0x093DUL), (FT_UInt32)(0x0950UL) }, { (FT_UInt32)(0x0953UL), (FT_UInt32)(0x0963UL) }, { (FT_UInt32)(0x0966UL), (FT_UInt32)(0x097FUL) }, { (FT_UInt32)(0x20B9UL), (FT_UInt32)(0x20B9UL) }, { (FT_UInt32)(0xA8E0UL), (FT_UInt32)(0xA8FFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_deva_nonbase_uniranges[] = { { (FT_UInt32)(0x0900UL), (FT_UInt32)(0x0902UL) }, { (FT_UInt32)(0x093AUL), (FT_UInt32)(0x093AUL) }, { (FT_UInt32)(0x0941UL), (FT_UInt32)(0x0948UL) }, { (FT_UInt32)(0x094DUL), (FT_UInt32)(0x094DUL) }, { (FT_UInt32)(0x0953UL), (FT_UInt32)(0x0957UL) }, { (FT_UInt32)(0x0962UL), (FT_UInt32)(0x0963UL) }, { (FT_UInt32)(0xA8E0UL), (FT_UInt32)(0xA8F1UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_grek_uniranges[] = { { (FT_UInt32)(0x0370UL), (FT_UInt32)(0x03FFUL) }, { (FT_UInt32)(0x1F00UL), (FT_UInt32)(0x1FFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_grek_nonbase_uniranges[] = { { (FT_UInt32)(0x037AUL), (FT_UInt32)(0x037AUL) }, { (FT_UInt32)(0x0384UL), (FT_UInt32)(0x0385UL) }, { (FT_UInt32)(0x1FBDUL), (FT_UInt32)(0x1FC1UL) }, { (FT_UInt32)(0x1FCDUL), (FT_UInt32)(0x1FCFUL) }, { (FT_UInt32)(0x1FDDUL), (FT_UInt32)(0x1FDFUL) }, { (FT_UInt32)(0x1FEDUL), (FT_UInt32)(0x1FEFUL) }, { (FT_UInt32)(0x1FFDUL), (FT_UInt32)(0x1FFEUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_hebr_uniranges[] = { { (FT_UInt32)(0x0590UL), (FT_UInt32)(0x05FFUL) }, { (FT_UInt32)(0xFB1DUL), (FT_UInt32)(0xFB4FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_hebr_nonbase_uniranges[] = { { (FT_UInt32)(0x0591UL), (FT_UInt32)(0x05BFUL) }, { (FT_UInt32)(0x05C1UL), (FT_UInt32)(0x05C2UL) }, { (FT_UInt32)(0x05C4UL), (FT_UInt32)(0x05C5UL) }, { (FT_UInt32)(0x05C7UL), (FT_UInt32)(0x05C7UL) }, { (FT_UInt32)(0xFB1EUL), (FT_UInt32)(0xFB1EUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_knda_uniranges[] = { { (FT_UInt32)(0x0C80UL), (FT_UInt32)(0x0CFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_knda_nonbase_uniranges[] = { { (FT_UInt32)(0x0C81UL), (FT_UInt32)(0x0C81UL) }, { (FT_UInt32)(0x0CBCUL), (FT_UInt32)(0x0CBCUL) }, { (FT_UInt32)(0x0CBFUL), (FT_UInt32)(0x0CBFUL) }, { (FT_UInt32)(0x0CC6UL), (FT_UInt32)(0x0CC6UL) }, { (FT_UInt32)(0x0CCCUL), (FT_UInt32)(0x0CCDUL) }, { (FT_UInt32)(0x0CE2UL), (FT_UInt32)(0x0CE3UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_khmr_uniranges[] = { { (FT_UInt32)(0x1780UL), (FT_UInt32)(0x17FFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_khmr_nonbase_uniranges[] = { { (FT_UInt32)(0x17B7UL), (FT_UInt32)(0x17BDUL) }, { (FT_UInt32)(0x17C6UL), (FT_UInt32)(0x17C6UL) }, { (FT_UInt32)(0x17C9UL), (FT_UInt32)(0x17D3UL) }, { (FT_UInt32)(0x17DDUL), (FT_UInt32)(0x17DDUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_khms_uniranges[] = { { (FT_UInt32)(0x19E0UL), (FT_UInt32)(0x19FFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_khms_nonbase_uniranges[] = { { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_lao_uniranges[] = { { (FT_UInt32)(0x0E80UL), (FT_UInt32)(0x0EFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_lao_nonbase_uniranges[] = { { (FT_UInt32)(0x0EB1UL), (FT_UInt32)(0x0EB1UL) }, { (FT_UInt32)(0x0EB4UL), (FT_UInt32)(0x0EBCUL) }, { (FT_UInt32)(0x0EC8UL), (FT_UInt32)(0x0ECDUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_latn_uniranges[] = { { (FT_UInt32)(0x0020UL), (FT_UInt32)(0x007FUL) }, { (FT_UInt32)(0x00A0UL), (FT_UInt32)(0x00A9UL) }, { (FT_UInt32)(0x00ABUL), (FT_UInt32)(0x00B1UL) }, { (FT_UInt32)(0x00B4UL), (FT_UInt32)(0x00B8UL) }, { (FT_UInt32)(0x00BBUL), (FT_UInt32)(0x00FFUL) }, { (FT_UInt32)(0x0100UL), (FT_UInt32)(0x017FUL) }, { (FT_UInt32)(0x0180UL), (FT_UInt32)(0x024FUL) }, { (FT_UInt32)(0x0250UL), (FT_UInt32)(0x02AFUL) }, { (FT_UInt32)(0x02B9UL), (FT_UInt32)(0x02DFUL) }, { (FT_UInt32)(0x02E5UL), (FT_UInt32)(0x02FFUL) }, { (FT_UInt32)(0x0300UL), (FT_UInt32)(0x036FUL) }, { (FT_UInt32)(0x1AB0UL), (FT_UInt32)(0x1ABEUL) }, { (FT_UInt32)(0x1D00UL), (FT_UInt32)(0x1D2BUL) }, { (FT_UInt32)(0x1D6BUL), (FT_UInt32)(0x1D77UL) }, { (FT_UInt32)(0x1D79UL), (FT_UInt32)(0x1D7FUL) }, { (FT_UInt32)(0x1D80UL), (FT_UInt32)(0x1D9AUL) }, { (FT_UInt32)(0x1DC0UL), (FT_UInt32)(0x1DFFUL) }, { (FT_UInt32)(0x1E00UL), (FT_UInt32)(0x1EFFUL) }, { (FT_UInt32)(0x2000UL), (FT_UInt32)(0x206FUL) }, { (FT_UInt32)(0x20A0UL), (FT_UInt32)(0x20B8UL) }, { (FT_UInt32)(0x20BAUL), (FT_UInt32)(0x20CFUL) }, { (FT_UInt32)(0x2150UL), (FT_UInt32)(0x218FUL) }, { (FT_UInt32)(0x2C60UL), (FT_UInt32)(0x2C7BUL) }, { (FT_UInt32)(0x2C7EUL), (FT_UInt32)(0x2C7FUL) }, { (FT_UInt32)(0x2E00UL), (FT_UInt32)(0x2E7FUL) }, { (FT_UInt32)(0xA720UL), (FT_UInt32)(0xA76FUL) }, { (FT_UInt32)(0xA771UL), (FT_UInt32)(0xA7F7UL) }, { (FT_UInt32)(0xA7FAUL), (FT_UInt32)(0xA7FFUL) }, { (FT_UInt32)(0xAB30UL), (FT_UInt32)(0xAB5BUL) }, { (FT_UInt32)(0xAB60UL), (FT_UInt32)(0xAB6FUL) }, { (FT_UInt32)(0xFB00UL), (FT_UInt32)(0xFB06UL) }, { (FT_UInt32)(0x1D400UL), (FT_UInt32)(0x1D7FFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_latn_nonbase_uniranges[] = { { (FT_UInt32)(0x005EUL), (FT_UInt32)(0x0060UL) }, { (FT_UInt32)(0x007EUL), (FT_UInt32)(0x007EUL) }, { (FT_UInt32)(0x00A8UL), (FT_UInt32)(0x00A9UL) }, { (FT_UInt32)(0x00AEUL), (FT_UInt32)(0x00B0UL) }, { (FT_UInt32)(0x00B4UL), (FT_UInt32)(0x00B4UL) }, { (FT_UInt32)(0x00B8UL), (FT_UInt32)(0x00B8UL) }, { (FT_UInt32)(0x00BCUL), (FT_UInt32)(0x00BEUL) }, { (FT_UInt32)(0x02B9UL), (FT_UInt32)(0x02DFUL) }, { (FT_UInt32)(0x02E5UL), (FT_UInt32)(0x02FFUL) }, { (FT_UInt32)(0x0300UL), (FT_UInt32)(0x036FUL) }, { (FT_UInt32)(0x1AB0UL), (FT_UInt32)(0x1ABEUL) }, { (FT_UInt32)(0x1DC0UL), (FT_UInt32)(0x1DFFUL) }, { (FT_UInt32)(0x2017UL), (FT_UInt32)(0x2017UL) }, { (FT_UInt32)(0x203EUL), (FT_UInt32)(0x203EUL) }, { (FT_UInt32)(0xA788UL), (FT_UInt32)(0xA788UL) }, { (FT_UInt32)(0xA7F8UL), (FT_UInt32)(0xA7FAUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_latb_uniranges[] = { { (FT_UInt32)(0x1D62UL), (FT_UInt32)(0x1D6AUL) }, { (FT_UInt32)(0x2080UL), (FT_UInt32)(0x209CUL) }, { (FT_UInt32)(0x2C7CUL), (FT_UInt32)(0x2C7CUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_latb_nonbase_uniranges[] = { { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_latp_uniranges[] = { { (FT_UInt32)(0x00AAUL), (FT_UInt32)(0x00AAUL) }, { (FT_UInt32)(0x00B2UL), (FT_UInt32)(0x00B3UL) }, { (FT_UInt32)(0x00B9UL), (FT_UInt32)(0x00BAUL) }, { (FT_UInt32)(0x02B0UL), (FT_UInt32)(0x02B8UL) }, { (FT_UInt32)(0x02E0UL), (FT_UInt32)(0x02E4UL) }, { (FT_UInt32)(0x1D2CUL), (FT_UInt32)(0x1D61UL) }, { (FT_UInt32)(0x1D78UL), (FT_UInt32)(0x1D78UL) }, { (FT_UInt32)(0x1D9BUL), (FT_UInt32)(0x1DBFUL) }, { (FT_UInt32)(0x2070UL), (FT_UInt32)(0x207FUL) }, { (FT_UInt32)(0x2C7DUL), (FT_UInt32)(0x2C7DUL) }, { (FT_UInt32)(0xA770UL), (FT_UInt32)(0xA770UL) }, { (FT_UInt32)(0xA7F8UL), (FT_UInt32)(0xA7F9UL) }, { (FT_UInt32)(0xAB5CUL), (FT_UInt32)(0xAB5FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_latp_nonbase_uniranges[] = { { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_mymr_uniranges[] = { { (FT_UInt32)(0x1000UL), (FT_UInt32)(0x109FUL) }, { (FT_UInt32)(0xA9E0UL), (FT_UInt32)(0xA9FFUL) }, { (FT_UInt32)(0xAA60UL), (FT_UInt32)(0xAA7FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_mymr_nonbase_uniranges[] = { { (FT_UInt32)(0x102DUL), (FT_UInt32)(0x1030UL) }, { (FT_UInt32)(0x1032UL), (FT_UInt32)(0x1037UL) }, { (FT_UInt32)(0x103AUL), (FT_UInt32)(0x103AUL) }, { (FT_UInt32)(0x103DUL), (FT_UInt32)(0x103EUL) }, { (FT_UInt32)(0x1058UL), (FT_UInt32)(0x1059UL) }, { (FT_UInt32)(0x105EUL), (FT_UInt32)(0x1060UL) }, { (FT_UInt32)(0x1071UL), (FT_UInt32)(0x1074UL) }, { (FT_UInt32)(0x1082UL), (FT_UInt32)(0x1082UL) }, { (FT_UInt32)(0x1085UL), (FT_UInt32)(0x1086UL) }, { (FT_UInt32)(0x108DUL), (FT_UInt32)(0x108DUL) }, { (FT_UInt32)(0xA9E5UL), (FT_UInt32)(0xA9E5UL) }, { (FT_UInt32)(0xAA7CUL), (FT_UInt32)(0xAA7CUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_none_uniranges[] = { { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_none_nonbase_uniranges[] = { { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_telu_uniranges[] = { { (FT_UInt32)(0x0C00UL), (FT_UInt32)(0x0C7FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_telu_nonbase_uniranges[] = { { (FT_UInt32)(0x0C00UL), (FT_UInt32)(0x0C00UL) }, { (FT_UInt32)(0x0C3EUL), (FT_UInt32)(0x0C40UL) }, { (FT_UInt32)(0x0C46UL), (FT_UInt32)(0x0C56UL) }, { (FT_UInt32)(0x0C62UL), (FT_UInt32)(0x0C63UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_thai_uniranges[] = { { (FT_UInt32)(0x0E00UL), (FT_UInt32)(0x0E7FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_thai_nonbase_uniranges[] = { { (FT_UInt32)(0x0E31UL), (FT_UInt32)(0x0E31UL) }, { (FT_UInt32)(0x0E34UL), (FT_UInt32)(0x0E3AUL) }, { (FT_UInt32)(0x0E47UL), (FT_UInt32)(0x0E4EUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_gujr_uniranges[] = { { (FT_UInt32)(0x0A80UL), (FT_UInt32)(0x0AFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_gujr_nonbase_uniranges[] = { { (FT_UInt32)(0x0A81UL), (FT_UInt32)(0x0A82UL) }, { (FT_UInt32)(0x0ABCUL), (FT_UInt32)(0x0ABCUL) }, { (FT_UInt32)(0x0AC1UL), (FT_UInt32)(0x0AC8UL) }, { (FT_UInt32)(0x0ACDUL), (FT_UInt32)(0x0ACDUL) }, { (FT_UInt32)(0x0AE2UL), (FT_UInt32)(0x0AE3UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_guru_uniranges[] = { { (FT_UInt32)(0x0A00UL), (FT_UInt32)(0x0A7FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_guru_nonbase_uniranges[] = { { (FT_UInt32)(0x0A01UL), (FT_UInt32)(0x0A02UL) }, { (FT_UInt32)(0x0A3CUL), (FT_UInt32)(0x0A3EUL) }, { (FT_UInt32)(0x0A41UL), (FT_UInt32)(0x0A51UL) }, { (FT_UInt32)(0x0A70UL), (FT_UInt32)(0x0A71UL) }, { (FT_UInt32)(0x0A75UL), (FT_UInt32)(0x0A75UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_limb_uniranges[] = { { (FT_UInt32)(0x1900UL), (FT_UInt32)(0x194FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_limb_nonbase_uniranges[] = { { (FT_UInt32)(0x1920UL), (FT_UInt32)(0x1922UL) }, { (FT_UInt32)(0x1927UL), (FT_UInt32)(0x1934UL) }, { (FT_UInt32)(0x1937UL), (FT_UInt32)(0x193BUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_mlym_uniranges[] = { { (FT_UInt32)(0x0D00UL), (FT_UInt32)(0x0D7FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_mlym_nonbase_uniranges[] = { { (FT_UInt32)(0x0D01UL), (FT_UInt32)(0x0D01UL) }, { (FT_UInt32)(0x0D4DUL), (FT_UInt32)(0x0D4EUL) }, { (FT_UInt32)(0x0D62UL), (FT_UInt32)(0x0D63UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_orya_uniranges[] = { { (FT_UInt32)(0x0B00UL), (FT_UInt32)(0x0B7FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_orya_nonbase_uniranges[] = { { (FT_UInt32)(0x0B01UL), (FT_UInt32)(0x0B02UL) }, { (FT_UInt32)(0x0B3CUL), (FT_UInt32)(0x0B3CUL) }, { (FT_UInt32)(0x0B3FUL), (FT_UInt32)(0x0B3FUL) }, { (FT_UInt32)(0x0B41UL), (FT_UInt32)(0x0B44UL) }, { (FT_UInt32)(0x0B4DUL), (FT_UInt32)(0x0B56UL) }, { (FT_UInt32)(0x0B62UL), (FT_UInt32)(0x0B63UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_sinh_uniranges[] = { { (FT_UInt32)(0x0D80UL), (FT_UInt32)(0x0DFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_sinh_nonbase_uniranges[] = { { (FT_UInt32)(0x0DCAUL), (FT_UInt32)(0x0DCAUL) }, { (FT_UInt32)(0x0DD2UL), (FT_UInt32)(0x0DD6UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_sund_uniranges[] = { { (FT_UInt32)(0x1B80UL), (FT_UInt32)(0x1BBFUL) }, { (FT_UInt32)(0x1CC0UL), (FT_UInt32)(0x1CCFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_sund_nonbase_uniranges[] = { { (FT_UInt32)(0x1B80UL), (FT_UInt32)(0x1B82UL) }, { (FT_UInt32)(0x1BA1UL), (FT_UInt32)(0x1BADUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_sylo_uniranges[] = { { (FT_UInt32)(0xA800UL), (FT_UInt32)(0xA82FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_sylo_nonbase_uniranges[] = { { (FT_UInt32)(0xA802UL), (FT_UInt32)(0xA802UL) }, { (FT_UInt32)(0xA806UL), (FT_UInt32)(0xA806UL) }, { (FT_UInt32)(0xA80BUL), (FT_UInt32)(0xA80BUL) }, { (FT_UInt32)(0xA825UL), (FT_UInt32)(0xA826UL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_taml_uniranges[] = { { (FT_UInt32)(0x0B80UL), (FT_UInt32)(0x0BFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_taml_nonbase_uniranges[] = { { (FT_UInt32)(0x0B82UL), (FT_UInt32)(0x0B82UL) }, { (FT_UInt32)(0x0BC0UL), (FT_UInt32)(0x0BC2UL) }, { (FT_UInt32)(0x0BCDUL), (FT_UInt32)(0x0BCDUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_tibt_uniranges[] = { { (FT_UInt32)(0x0F00UL), (FT_UInt32)(0x0FFFUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_tibt_nonbase_uniranges[] = { { (FT_UInt32)(0x0F18UL), (FT_UInt32)(0x0F19UL) }, { (FT_UInt32)(0x0F35UL), (FT_UInt32)(0x0F35UL) }, { (FT_UInt32)(0x0F37UL), (FT_UInt32)(0x0F37UL) }, { (FT_UInt32)(0x0F39UL), (FT_UInt32)(0x0F39UL) }, { (FT_UInt32)(0x0F3EUL), (FT_UInt32)(0x0F3FUL) }, { (FT_UInt32)(0x0F71UL), (FT_UInt32)(0x0F7EUL) }, { (FT_UInt32)(0x0F80UL), (FT_UInt32)(0x0F84UL) }, { (FT_UInt32)(0x0F86UL), (FT_UInt32)(0x0F87UL) }, { (FT_UInt32)(0x0F8DUL), (FT_UInt32)(0x0FBCUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; #line 590 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.c" const AF_Script_UniRangeRec af_hani_uniranges[] = { { (FT_UInt32)(0x1100UL), (FT_UInt32)(0x11FFUL) }, { (FT_UInt32)(0x2E80UL), (FT_UInt32)(0x2EFFUL) }, { (FT_UInt32)(0x2F00UL), (FT_UInt32)(0x2FDFUL) }, { (FT_UInt32)(0x2FF0UL), (FT_UInt32)(0x2FFFUL) }, { (FT_UInt32)(0x3000UL), (FT_UInt32)(0x303FUL) }, { (FT_UInt32)(0x3040UL), (FT_UInt32)(0x309FUL) }, { (FT_UInt32)(0x30A0UL), (FT_UInt32)(0x30FFUL) }, { (FT_UInt32)(0x3100UL), (FT_UInt32)(0x312FUL) }, { (FT_UInt32)(0x3130UL), (FT_UInt32)(0x318FUL) }, { (FT_UInt32)(0x3190UL), (FT_UInt32)(0x319FUL) }, { (FT_UInt32)(0x31A0UL), (FT_UInt32)(0x31BFUL) }, { (FT_UInt32)(0x31C0UL), (FT_UInt32)(0x31EFUL) }, { (FT_UInt32)(0x31F0UL), (FT_UInt32)(0x31FFUL) }, { (FT_UInt32)(0x3300UL), (FT_UInt32)(0x33FFUL) }, { (FT_UInt32)(0x3400UL), (FT_UInt32)(0x4DBFUL) }, { (FT_UInt32)(0x4DC0UL), (FT_UInt32)(0x4DFFUL) }, { (FT_UInt32)(0x4E00UL), (FT_UInt32)(0x9FFFUL) }, { (FT_UInt32)(0xA960UL), (FT_UInt32)(0xA97FUL) }, { (FT_UInt32)(0xAC00UL), (FT_UInt32)(0xD7AFUL) }, { (FT_UInt32)(0xD7B0UL), (FT_UInt32)(0xD7FFUL) }, { (FT_UInt32)(0xF900UL), (FT_UInt32)(0xFAFFUL) }, { (FT_UInt32)(0xFE10UL), (FT_UInt32)(0xFE1FUL) }, { (FT_UInt32)(0xFE30UL), (FT_UInt32)(0xFE4FUL) }, { (FT_UInt32)(0xFF00UL), (FT_UInt32)(0xFFEFUL) }, { (FT_UInt32)(0x1B000UL), (FT_UInt32)(0x1B0FFUL) }, { (FT_UInt32)(0x1D300UL), (FT_UInt32)(0x1D35FUL) }, { (FT_UInt32)(0x20000UL), (FT_UInt32)(0x2A6DFUL) }, { (FT_UInt32)(0x2A700UL), (FT_UInt32)(0x2B73FUL) }, { (FT_UInt32)(0x2B740UL), (FT_UInt32)(0x2B81FUL) }, { (FT_UInt32)(0x2F800UL), (FT_UInt32)(0x2FA1FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; const AF_Script_UniRangeRec af_hani_nonbase_uniranges[] = { { (FT_UInt32)(0x302AUL), (FT_UInt32)(0x302FUL) }, { (FT_UInt32)(0x3190UL), (FT_UInt32)(0x319FUL) }, { (FT_UInt32)(0UL), (FT_UInt32)(0UL) } }; #line 638 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afranges.c" #line 28 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afdummy.c" static FT_Error af_dummy_hints_init( AF_GlyphHints hints, AF_StyleMetrics metrics ) { af_glyph_hints_rescale( hints, metrics ); hints->x_scale = metrics->scaler.x_scale; hints->y_scale = metrics->scaler.y_scale; hints->x_delta = metrics->scaler.x_delta; hints->y_delta = metrics->scaler.y_delta; return FT_Err_Ok; } static FT_Error af_dummy_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline ) { FT_Error error; ( (glyph_index) = (glyph_index) ); error = af_glyph_hints_reload( hints, outline ); if ( !error ) af_glyph_hints_save( hints, outline ); return error; } const AF_WritingSystemClassRec af_dummy_writing_system_class = { AF_WRITING_SYSTEM_DUMMY, sizeof ( AF_StyleMetricsRec ), (AF_WritingSystem_InitMetricsFunc) ((void *)0), (AF_WritingSystem_ScaleMetricsFunc)((void *)0), (AF_WritingSystem_DoneMetricsFunc) ((void *)0), (AF_WritingSystem_GetStdWidthsFunc)((void *)0), (AF_WritingSystem_InitHintsFunc) af_dummy_hints_init, (AF_WritingSystem_ApplyHintsFunc) af_dummy_hints_apply }; #line 73 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afdummy.c" #line 30 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftadvanc.h" extern FT_Error FT_Get_Advance( FT_Face face, FT_UInt gindex, FT_Int32 load_flags, FT_Fixed *padvance ); extern FT_Error FT_Get_Advances( FT_Face face, FT_UInt start, FT_UInt count, FT_Int32 load_flags, FT_Fixed *padvances ); #line 185 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftadvanc.h" #line 21 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.h" typedef FT_Int32 AF_WarpScore; typedef struct AF_WarperRec_ { FT_Pos x1, x2; FT_Pos t1, t2; FT_Pos x1min, x1max; FT_Pos x2min, x2max; FT_Pos w0, wmin, wmax; FT_Fixed best_scale; FT_Pos best_delta; AF_WarpScore best_score; AF_WarpScore best_distort; } AF_WarperRec, *AF_Warper; static void af_warper_compute( AF_Warper warper, AF_GlyphHints hints, AF_Dimension dim, FT_Fixed *a_scale, FT_Fixed *a_delta ); #line 62 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.h" #line 31 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" #line 32 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" static void af_latin_metrics_init_widths( AF_LatinMetrics metrics, FT_Face face ) { AF_GlyphHintsRec hints[1]; do { } while ( 0 ); #line 73 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" af_glyph_hints_init( hints, face->memory ); metrics->axis[AF_DIMENSION_HORZ].width_count = 0; metrics->axis[AF_DIMENSION_VERT].width_count = 0; { FT_Error error; FT_ULong glyph_index; int dim; AF_LatinMetricsRec dummy[1]; AF_Scaler scaler = &dummy->root.scaler; AF_StyleClass style_class = metrics->root.style_class; AF_ScriptClass script_class = af_script_classes [style_class->script]; void* shaper_buf; const char* p; p = script_class->standard_charstring; shaper_buf = af_shaper_buf_create( face ); glyph_index = 0; while ( *p ) { unsigned int num_idx; while ( *p == ' ' ) p++; p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); if ( num_idx > 1 ) continue; glyph_index = af_shaper_get_elem( &metrics->root, shaper_buf, 0, ((void *)0), ((void *)0) ); if ( glyph_index ) break; } af_shaper_buf_destroy( face, shaper_buf ); if ( !glyph_index ) goto Exit; do { } while ( 0 ); #line 151 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" error = FT_Load_Glyph( face, glyph_index, ( 1L << 0 ) ); if ( error || face->glyph->outline.n_points <= 0 ) goto Exit; memset( dummy, 0, (FT_Offset)(sizeof ( *(dummy) )) ); dummy->units_per_em = metrics->units_per_em; scaler->x_scale = 0x10000L; scaler->y_scale = 0x10000L; scaler->x_delta = 0; scaler->y_delta = 0; scaler->face = face; scaler->render_mode = FT_RENDER_MODE_NORMAL; scaler->flags = 0; af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); error = af_glyph_hints_reload( hints, &face->glyph->outline ); if ( error ) goto Exit; for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { AF_LatinAxis axis = &metrics->axis[dim]; AF_AxisHints axhints = &hints->axis[dim]; AF_Segment seg, limit, link; FT_UInt num_widths = 0; error = af_latin_hints_compute_segments( hints, (AF_Dimension)dim ); if ( error ) goto Exit; af_latin_hints_link_segments( hints, 0, ((void *)0), (AF_Dimension)dim ); seg = axhints->segments; limit = seg + axhints->num_segments; for ( ; seg < limit; seg++ ) { link = seg->link; if ( link && link->link == seg && link > seg ) { FT_Pos dist; dist = seg->pos - link->pos; if ( dist < 0 ) dist = -dist; if ( num_widths < 16 ) axis->widths[num_widths++].org = dist; } } af_sort_and_quantize_widths( &num_widths, axis->widths, dummy->units_per_em / 100 ); axis->width_count = num_widths; } Exit: for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { AF_LatinAxis axis = &metrics->axis[dim]; FT_Pos stdw; stdw = ( axis->width_count > 0 ) ? axis->widths[0].org : ( ( (50) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 ); axis->edge_distance_threshold = stdw / 5; axis->standard_width = stdw; axis->extra_light = 0; } } do { } while ( 0 ); af_glyph_hints_done( hints ); } static void af_latin_metrics_init_blues( AF_LatinMetrics metrics, FT_Face face ) { FT_Pos flats [51]; FT_Pos rounds[51]; FT_UInt num_flats; FT_UInt num_rounds; AF_LatinBlue blue; FT_Error error; AF_LatinAxis axis = &metrics->axis[AF_DIMENSION_VERT]; FT_Outline outline; AF_StyleClass sc = metrics->root.style_class; AF_Blue_Stringset bss = sc->blue_stringset; const AF_Blue_StringRec* bs = &af_blue_stringsets[bss]; FT_Pos flat_threshold = ( metrics->units_per_em / 14 ); void* shaper_buf; do { } while ( 0 ); #line 302 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" shaper_buf = af_shaper_buf_create( face ); for ( ; bs->string != AF_BLUE_STRING_MAX; bs++ ) { const char* p = &af_blue_strings[bs->string]; FT_Pos* blue_ref; FT_Pos* blue_shoot; FT_Pos ascender; FT_Pos descender; num_flats = 0; num_rounds = 0; ascender = 0; descender = 0; while ( *p ) { FT_ULong glyph_index; FT_Long y_offset; FT_Int best_point, best_contour_first, best_contour_last; FT_Vector* points; FT_Pos best_y_extremum; FT_Bool best_round = 0; unsigned int i, num_idx; while ( *p == ' ' ) p++; p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); if ( !num_idx ) { do { } while ( 0 ); continue; } if ( ( (bs)->properties & ( 1U << 0 ) ) ) best_y_extremum = (-2147483647 - 1); else best_y_extremum = 2147483647; for ( i = 0; i < num_idx; i++ ) { FT_Pos best_y; FT_Bool round = 0; glyph_index = af_shaper_get_elem( &metrics->root, shaper_buf, i, ((void *)0), &y_offset ); if ( glyph_index == 0 ) { do { } while ( 0 ); continue; } error = FT_Load_Glyph( face, glyph_index, ( 1L << 0 ) ); outline = face->glyph->outline; if ( error || outline.n_points <= 2 ) { continue; } points = outline.points; best_point = -1; best_y = 0; best_contour_first = 0; best_contour_last = 0; { FT_Int nn; FT_Int first = 0; FT_Int last = -1; for ( nn = 0; nn < outline.n_contours; first = last + 1, nn++ ) { FT_Int old_best_point = best_point; FT_Int pp; last = outline.contours[nn]; if ( last <= first ) continue; if ( ( (bs)->properties & ( 1U << 0 ) ) || ( (bs)->properties & ( 1U << 1 ) ) ) { for ( pp = first; pp <= last; pp++ ) { if ( best_point < 0 || points[pp].y > best_y ) { best_point = pp; best_y = points[pp].y; ascender = ( (ascender) > (best_y + y_offset) ? (ascender) : (best_y + y_offset) ); } else descender = ( (descender) < (points[pp].y + y_offset) ? (descender) : (points[pp].y + y_offset) ); } } else { for ( pp = first; pp <= last; pp++ ) { if ( best_point < 0 || points[pp].y < best_y ) { best_point = pp; best_y = points[pp].y; descender = ( (descender) < (best_y + y_offset) ? (descender) : (best_y + y_offset) ); } else ascender = ( (ascender) > (points[pp].y + y_offset) ? (ascender) : (points[pp].y + y_offset) ); } } if ( best_point != old_best_point ) { best_contour_first = first; best_contour_last = last; } } } if ( best_point >= 0 ) { FT_Pos best_x = points[best_point].x; FT_Int prev, next; FT_Int best_segment_first, best_segment_last; FT_Int best_on_point_first, best_on_point_last; FT_Pos dist; best_segment_first = best_point; best_segment_last = best_point; if ( ( outline.tags[best_point] & 3 ) == 1 ) { best_on_point_first = best_point; best_on_point_last = best_point; } else { best_on_point_first = -1; best_on_point_last = -1; } prev = best_point; next = prev; do { if ( prev > best_contour_first ) prev--; else prev = best_contour_last; dist = ( (points[prev].y - best_y) < 0 ? -(points[prev].y - best_y) : (points[prev].y - best_y) ); if ( dist > 5 ) if ( ( (points[prev].x - best_x) < 0 ? -(points[prev].x - best_x) : (points[prev].x - best_x) ) <= 20 * dist ) break; best_segment_first = prev; if ( ( outline.tags[prev] & 3 ) == 1 ) { best_on_point_first = prev; if ( best_on_point_last < 0 ) best_on_point_last = prev; } } while ( prev != best_point ); do { if ( next < best_contour_last ) next++; else next = best_contour_first; dist = ( (points[next].y - best_y) < 0 ? -(points[next].y - best_y) : (points[next].y - best_y) ); if ( dist > 5 ) if ( ( (points[next].x - best_x) < 0 ? -(points[next].x - best_x) : (points[next].x - best_x) ) <= 20 * dist ) break; best_segment_last = next; if ( ( outline.tags[next] & 3 ) == 1 ) { best_on_point_last = next; if ( best_on_point_first < 0 ) best_on_point_first = next; } } while ( next != best_point ); if ( ( (bs)->properties & ( 1U << 4 ) ) ) { FT_Pos length_threshold = metrics->units_per_em / 25; dist = ( (points[best_segment_last].x - points[best_segment_first].x) < 0 ? -(points[best_segment_last].x - points[best_segment_first].x) : (points[best_segment_last].x - points[best_segment_first].x) ); #line 613 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( dist < length_threshold && best_segment_last - best_segment_first + 2 <= best_contour_last - best_contour_first ) { FT_Pos height_threshold = metrics->units_per_em / 4; FT_Int first; FT_Int last; FT_Bool hit; FT_Int p_first = 0; FT_Int p_last = 0; FT_Bool left2right; prev = best_point; do { if ( prev > best_contour_first ) prev--; else prev = best_contour_last; if ( points[prev].x != best_x ) break; } while ( prev != best_point ); if ( prev == best_point ) continue; left2right = ( (FT_Bool)( points[prev].x < points[best_point].x ) ); first = best_segment_last; last = first; hit = 0; do { FT_Bool l2r; FT_Pos d; if ( !hit ) { first = last; if ( ( outline.tags[first] & 3 ) == 1 ) { p_first = first; p_last = first; } else { p_first = -1; p_last = -1; } hit = 1; } if ( last < best_contour_last ) last++; else last = best_contour_first; if ( ( (best_y - points[first].y) < 0 ? -(best_y - points[first].y) : (best_y - points[first].y) ) > height_threshold ) { hit = 0; continue; } dist = ( (points[last].y - points[first].y) < 0 ? -(points[last].y - points[first].y) : (points[last].y - points[first].y) ); if ( dist > 5 ) if ( ( (points[last].x - points[first].x) < 0 ? -(points[last].x - points[first].x) : (points[last].x - points[first].x) ) <= 20 * dist ) { hit = 0; continue; } if ( ( outline.tags[last] & 3 ) == 1 ) { p_last = last; if ( p_first < 0 ) p_first = last; } l2r = ( (FT_Bool)( points[first].x < points[last].x ) ); d = ( (points[last].x - points[first].x) < 0 ? -(points[last].x - points[first].x) : (points[last].x - points[first].x) ); if ( l2r == left2right && d >= length_threshold ) { do { if ( last < best_contour_last ) last++; else last = best_contour_first; d = ( (points[last].y - points[first].y) < 0 ? -(points[last].y - points[first].y) : (points[last].y - points[first].y) ); if ( d > 5 ) if ( ( (points[next].x - points[first].x) < 0 ? -(points[next].x - points[first].x) : (points[next].x - points[first].x) ) <= 20 * dist ) { if ( last > best_contour_first ) last--; else last = best_contour_last; break; } p_last = last; if ( ( outline.tags[last] & 3 ) == 1 ) { p_last = last; if ( p_first < 0 ) p_first = last; } } while ( last != best_segment_first ); best_y = points[first].y; best_segment_first = first; best_segment_last = last; best_on_point_first = p_first; best_on_point_last = p_last; break; } } while ( last != best_segment_first ); } } best_y += y_offset; if ( best_on_point_first >= 0 && best_on_point_last >= 0 && ( ( (points[best_on_point_last].x - points[best_on_point_first].x) < 0 ? -(points[best_on_point_last].x - points[best_on_point_first].x) : (points[best_on_point_last].x - points[best_on_point_first].x) ) ) > #line 796 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" flat_threshold ) round = 0; else round = ( (FT_Bool)( ( outline.tags[best_segment_first] & 3 ) != 1 || ( outline.tags[best_segment_last] & 3 ) != 1 ) ); #line 804 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( round && ( (bs)->properties & ( 1U << 2 ) ) ) { do { } while ( 0 ); continue; } do { } while ( 0 ); } if ( ( (bs)->properties & ( 1U << 0 ) ) ) { if ( best_y > best_y_extremum ) { best_y_extremum = best_y; best_round = round; } } else { if ( best_y < best_y_extremum ) { best_y_extremum = best_y; best_round = round; } } } if ( !( best_y_extremum == (-2147483647 - 1) || best_y_extremum == 2147483647 ) ) { if ( best_round ) rounds[num_rounds++] = best_y_extremum; else flats[num_flats++] = best_y_extremum; } } if ( num_flats == 0 && num_rounds == 0 ) { do { } while ( 0 ); continue; } af_sort_pos( num_rounds, rounds ); af_sort_pos( num_flats, flats ); blue = &axis->blues[axis->blue_count]; blue_ref = &blue->ref.org; blue_shoot = &blue->shoot.org; axis->blue_count++; if ( num_flats == 0 ) { *blue_ref = *blue_shoot = rounds[num_rounds / 2]; } else if ( num_rounds == 0 ) { *blue_ref = *blue_shoot = flats[num_flats / 2]; } else { *blue_ref = flats [num_flats / 2]; *blue_shoot = rounds[num_rounds / 2]; } if ( *blue_shoot != *blue_ref ) { FT_Pos ref = *blue_ref; FT_Pos shoot = *blue_shoot; FT_Bool over_ref = ( (FT_Bool)( shoot > ref ) ); if ( ( ( (bs)->properties & ( 1U << 0 ) ) || ( (bs)->properties & ( 1U << 1 ) ) ) ^ over_ref ) { *blue_ref = *blue_shoot = ( shoot + ref ) / 2; do { } while ( 0 ); #line 901 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } } blue->ascender = ascender; blue->descender = descender; blue->flags = 0; if ( ( (bs)->properties & ( 1U << 0 ) ) ) blue->flags |= ( 1U << 1 ); if ( ( (bs)->properties & ( 1U << 1 ) ) ) blue->flags |= ( 1U << 2 ); if ( ( (bs)->properties & ( 1U << 2 ) ) ) blue->flags |= ( 1U << 3 ); if ( ( (bs)->properties & ( 1U << 3 ) ) ) blue->flags |= ( 1U << 4 ); do { } while ( 0 ); #line 926 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } af_shaper_buf_destroy( face, shaper_buf ); do { } while ( 0 ); return; } static void af_latin_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) { FT_Bool started = 0, same_width = 1; FT_Fixed advance, old_advance = 0; void* shaper_buf; const char digits[] = "0 1 2 3 4 5 6 7 8 9"; const char* p; p = digits; shaper_buf = af_shaper_buf_create( face ); while ( *p ) { FT_ULong glyph_index; unsigned int num_idx; p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); if ( num_idx > 1 ) continue; glyph_index = af_shaper_get_elem( &metrics->root, shaper_buf, 0, &advance, ((void *)0) ); if ( !glyph_index ) continue; if ( started ) { if ( advance != old_advance ) { same_width = 0; break; } } else { old_advance = advance; started = 1; } } af_shaper_buf_destroy( face, shaper_buf ); metrics->root.digits_have_same_width = same_width; } static FT_Error af_latin_metrics_init( AF_LatinMetrics metrics, FT_Face face ) { FT_CharMap oldmap = face->charmap; metrics->units_per_em = face->units_per_EM; if ( !FT_Select_Charmap( face, FT_ENCODING_UNICODE ) ) { af_latin_metrics_init_widths( metrics, face ); af_latin_metrics_init_blues( metrics, face ); af_latin_metrics_check_digits( metrics, face ); } FT_Set_Charmap( face, oldmap ); return FT_Err_Ok; } static void af_latin_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) { FT_Fixed scale; FT_Pos delta; AF_LatinAxis axis; FT_UInt nn; if ( dim == AF_DIMENSION_HORZ ) { scale = scaler->x_scale; delta = scaler->x_delta; } else { scale = scaler->y_scale; delta = scaler->y_delta; } axis = &metrics->axis[dim]; if ( axis->org_scale == scale && axis->org_delta == delta ) return; axis->org_scale = scale; axis->org_delta = delta; { AF_LatinAxis Axis = &metrics->axis[AF_DIMENSION_VERT]; AF_LatinBlue blue = ((void *)0); for ( nn = 0; nn < Axis->blue_count; nn++ ) { if ( Axis->blues[nn].flags & ( 1U << 4 ) ) { blue = &Axis->blues[nn]; break; } } if ( blue ) { FT_Pos scaled; FT_Pos threshold; FT_Pos fitted; FT_UInt limit; FT_UInt ppem; scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); ppem = metrics->root.scaler.face->size->metrics.x_ppem; limit = metrics->root.globals->increase_x_height; threshold = 40; if ( limit && ppem <= limit && ppem >= 6 ) threshold = 52; fitted = ( scaled + threshold ) & ~63; if ( scaled != fitted ) { #line 1103 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( dim == AF_DIMENSION_VERT ) { FT_Pos max_height; FT_Pos dist; FT_Fixed new_scale; new_scale = FT_MulDiv( scale, fitted, scaled ); max_height = metrics->units_per_em; for ( nn = 0; nn < Axis->blue_count; nn++ ) { max_height = ( (max_height) > (Axis->blues[nn].ascender) ? (max_height) : (Axis->blues[nn].ascender) ); max_height = ( (max_height) > (-Axis->blues[nn].descender) ? (max_height) : (-Axis->blues[nn].descender) ); } dist = ( (FT_MulFix( max_height, new_scale - scale )) < 0 ? -(FT_MulFix( max_height, new_scale - scale )) : (FT_MulFix( max_height, new_scale - scale )) ); dist &= ~127; if ( dist == 0 ) { scale = new_scale; do { } while ( 0 ); #line 1138 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } } } } } axis->scale = scale; axis->delta = delta; if ( dim == AF_DIMENSION_HORZ ) { metrics->root.scaler.x_scale = scale; metrics->root.scaler.x_delta = delta; } else { metrics->root.scaler.y_scale = scale; metrics->root.scaler.y_delta = delta; } do { } while ( 0 ); #line 1173 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" for ( nn = 0; nn < axis->width_count; nn++ ) { AF_Width width = axis->widths + nn; width->cur = FT_MulFix( width->org, scale ); width->fit = width->cur; do { } while ( 0 ); #line 1186 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } do { } while ( 0 ); axis->extra_light = (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); if ( dim == AF_DIMENSION_VERT ) { for ( nn = 0; nn < axis->blue_count; nn++ ) { AF_LatinBlue blue = &axis->blues[nn]; FT_Pos dist; blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; blue->ref.fit = blue->ref.cur; blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; blue->shoot.fit = blue->shoot.cur; blue->flags &= ~( 1U << 0 ); dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); if ( dist <= 48 && dist >= -48 ) { #line 1230 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" FT_Pos delta2; #line 1259 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" delta2 = dist; if ( dist < 0 ) delta2 = -delta2; if ( delta2 < 32 ) delta2 = 0; else if ( delta2 < 48 ) delta2 = 32; else delta2 = 64; if ( dist < 0 ) delta2 = -delta2; blue->ref.fit = ( ((blue->ref.cur) + 32) & ~63 ); blue->shoot.fit = blue->ref.fit - delta2; #line 1279 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" blue->flags |= ( 1U << 0 ); } } for ( nn = 0; nn < axis->blue_count; nn++ ) { AF_LatinBlue blue = &axis->blues[nn]; FT_UInt i; if ( !( blue->flags & ( 1U << 2 ) ) ) continue; if ( !( blue->flags & ( 1U << 0 ) ) ) continue; for ( i = 0; i < axis->blue_count; i++ ) { AF_LatinBlue b = &axis->blues[i]; if ( b->flags & ( 1U << 2 ) ) continue; if ( !( b->flags & ( 1U << 0 ) ) ) continue; if ( b->ref.fit <= blue->shoot.fit && b->shoot.fit >= blue->ref.fit ) { blue->flags &= ~( 1U << 0 ); break; } } } } } static void af_latin_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) { metrics->root.scaler.render_mode = scaler->render_mode; metrics->root.scaler.face = scaler->face; metrics->root.scaler.flags = scaler->flags; af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_HORZ ); af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_VERT ); } static void af_latin_get_standard_widths( AF_LatinMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ) { if ( stdHW ) *stdHW = metrics->axis[AF_DIMENSION_VERT].standard_width; if ( stdVW ) *stdVW = metrics->axis[AF_DIMENSION_HORZ].standard_width; } static FT_Error af_latin_hints_compute_segments( AF_GlyphHints hints, AF_Dimension dim ) { AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; AF_AxisHints axis = &hints->axis[dim]; FT_Memory memory = hints->memory; FT_Error error = FT_Err_Ok; AF_Segment segment = ((void *)0); AF_SegmentRec seg0; AF_Point* contour = hints->contours; AF_Point* contour_limit = contour + hints->num_contours; AF_Direction major_dir, segment_dir; FT_Pos flat_threshold = ( metrics->units_per_em / 14 ); memset( &seg0, 0, (FT_Offset)(sizeof ( *(&seg0) )) ); seg0.score = 32000; seg0.flags = 0; major_dir = (AF_Direction)( (axis->major_dir) < 0 ? -(axis->major_dir) : (axis->major_dir) ); segment_dir = major_dir; axis->num_segments = 0; if ( dim == AF_DIMENSION_HORZ ) { AF_Point point = hints->points; AF_Point limit = point + hints->num_points; for ( ; point < limit; point++ ) { point->u = point->fx; point->v = point->fy; } } else { AF_Point point = hints->points; AF_Point limit = point + hints->num_points; for ( ; point < limit; point++ ) { point->u = point->fy; point->v = point->fx; } } for ( ; contour < contour_limit; contour++ ) { AF_Point point = contour[0]; AF_Point last = point->prev; int on_edge = 0; FT_Pos min_pos = 32000; FT_Pos max_pos = -32000; FT_Pos min_on_pos = 32000; FT_Pos max_on_pos = -32000; FT_Bool passed; if ( point == last ) continue; if ( ( (last->out_dir) < 0 ? -(last->out_dir) : (last->out_dir) ) == major_dir && ( (point->out_dir) < 0 ? -(point->out_dir) : (point->out_dir) ) == major_dir ) { last = point; for (;;) { point = point->prev; if ( ( (point->out_dir) < 0 ? -(point->out_dir) : (point->out_dir) ) != major_dir ) { point = point->next; break; } if ( point == last ) break; } } last = point; passed = 0; for (;;) { FT_Pos u, v; if ( on_edge ) { u = point->u; if ( u < min_pos ) min_pos = u; if ( u > max_pos ) max_pos = u; if ( !( point->flags & ( ( 1U << 0 ) | ( 1U << 1 ) ) ) ) { v = point->v; if ( v < min_on_pos ) min_on_pos = v; if ( v > max_on_pos ) max_on_pos = v; } if ( point->out_dir != segment_dir || point == last ) { segment->last = point; segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); if ( ( segment->first->flags | point->flags ) & ( ( 1U << 0 ) | ( 1U << 1 ) ) && ( max_on_pos - min_on_pos ) < flat_threshold ) segment->flags |= ( 1U << 0 ); min_pos = max_pos = point->v; v = segment->first->v; if ( v < min_pos ) min_pos = v; if ( v > max_pos ) max_pos = v; segment->min_coord = (FT_Short)min_pos; segment->max_coord = (FT_Short)max_pos; segment->height = (FT_Short)( segment->max_coord - segment->min_coord ); on_edge = 0; segment = ((void *)0); } } if ( point == last ) { if ( passed ) break; passed = 1; } if ( !on_edge && ( (point->out_dir) < 0 ? -(point->out_dir) : (point->out_dir) ) == major_dir ) { segment_dir = (AF_Direction)point->out_dir; error = af_axis_hints_new_segment( axis, memory, &segment ); if ( error ) goto Exit; segment[0] = seg0; segment->dir = (FT_Char)segment_dir; segment->first = point; segment->last = point; min_pos = max_pos = point->u; if ( point->flags & ( ( 1U << 0 ) | ( 1U << 1 ) ) ) { min_on_pos = 32000; max_on_pos = -32000; } else min_on_pos = max_on_pos = point->v; on_edge = 1; } point = point->next; } } { AF_Segment segments = axis->segments; AF_Segment segments_end = segments + axis->num_segments; for ( segment = segments; segment < segments_end; segment++ ) { AF_Point first = segment->first; AF_Point last = segment->last; FT_Pos first_v = first->v; FT_Pos last_v = last->v; if ( first_v < last_v ) { AF_Point p; p = first->prev; if ( p->v < first_v ) segment->height = (FT_Short)( segment->height + ( ( first_v - p->v ) >> 1 ) ); p = last->next; if ( p->v > last_v ) segment->height = (FT_Short)( segment->height + ( ( p->v - last_v ) >> 1 ) ); } else { AF_Point p; p = first->prev; if ( p->v > first_v ) segment->height = (FT_Short)( segment->height + ( ( p->v - first_v ) >> 1 ) ); p = last->next; if ( p->v < last_v ) segment->height = (FT_Short)( segment->height + ( ( last_v - p->v ) >> 1 ) ); } } } Exit: return error; } static void af_latin_hints_link_segments( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; AF_Segment segments = axis->segments; AF_Segment segment_limit = segments + axis->num_segments; FT_Pos len_threshold, len_score, dist_score, max_width; AF_Segment seg1, seg2; if ( width_count ) max_width = widths[width_count - 1].org; else max_width = 0; len_threshold = ( ( (8) * (FT_Long)( (AF_LatinMetrics)(hints->metrics) )->units_per_em ) / 2048 ); if ( len_threshold == 0 ) len_threshold = 1; len_score = ( ( (6000) * (FT_Long)( (AF_LatinMetrics)(hints->metrics) )->units_per_em ) / 2048 ); dist_score = 3000; for ( seg1 = segments; seg1 < segment_limit; seg1++ ) { if ( seg1->dir != axis->major_dir ) continue; for ( seg2 = segments; seg2 < segment_limit; seg2++ ) { FT_Pos pos1 = seg1->pos; FT_Pos pos2 = seg2->pos; if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) { FT_Pos min = seg1->min_coord; FT_Pos max = seg1->max_coord; FT_Pos len; if ( min < seg2->min_coord ) min = seg2->min_coord; if ( max > seg2->max_coord ) max = seg2->max_coord; len = max - min; if ( len >= len_threshold ) { FT_Pos dist = pos2 - pos1; FT_Pos dist_demerit, score; if ( max_width ) { FT_Pos delta = ( dist << 10 ) / max_width - ( 1 << 10 ); if ( delta > 10000 ) dist_demerit = 32000; else if ( delta > 0 ) dist_demerit = delta * delta / dist_score; else dist_demerit = 0; } else dist_demerit = dist; score = dist_demerit + len_score / len; if ( score < seg1->score ) { seg1->score = score; seg1->link = seg2; } if ( score < seg2->score ) { seg2->score = score; seg2->link = seg1; } } } } } for ( seg1 = segments; seg1 < segment_limit; seg1++ ) { seg2 = seg1->link; if ( seg2 ) { if ( seg2->link != seg1 ) { seg1->link = 0; seg1->serif = seg2->link; } } } } static FT_Error af_latin_hints_compute_edges( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; FT_Error error = FT_Err_Ok; FT_Memory memory = hints->memory; AF_LatinAxis laxis = &((AF_LatinMetrics)hints->metrics)->axis[dim]; AF_StyleClass style_class = hints->metrics->style_class; AF_ScriptClass script_class = af_script_classes [style_class->script]; FT_Bool top_to_bottom_hinting = 0; AF_Segment segments = axis->segments; AF_Segment segment_limit = segments + axis->num_segments; AF_Segment seg; #line 1789 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" FT_Fixed scale; FT_Pos edge_distance_threshold; FT_Pos segment_length_threshold; axis->num_edges = 0; scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale : hints->y_scale; #line 1803 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( dim == AF_DIMENSION_VERT ) top_to_bottom_hinting = script_class->top_to_bottom_hinting; if ( dim == AF_DIMENSION_HORZ ) segment_length_threshold = FT_DivFix( 64, hints->y_scale ); else segment_length_threshold = 0; edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, scale ); if ( edge_distance_threshold > 64 / 4 ) edge_distance_threshold = 64 / 4; edge_distance_threshold = FT_DivFix( edge_distance_threshold, scale ); for ( seg = segments; seg < segment_limit; seg++ ) { AF_Edge found = ((void *)0); FT_Int ee; if ( seg->height < segment_length_threshold ) continue; if ( seg->serif && 2 * seg->height < 3 * segment_length_threshold ) continue; for ( ee = 0; ee < axis->num_edges; ee++ ) { AF_Edge edge = axis->edges + ee; FT_Pos dist; dist = seg->pos - edge->fpos; if ( dist < 0 ) dist = -dist; if ( dist < edge_distance_threshold && edge->dir == seg->dir ) { found = edge; break; } } if ( !found ) { AF_Edge edge; error = af_axis_hints_new_edge( axis, seg->pos, (AF_Direction)seg->dir, top_to_bottom_hinting, memory, &edge ); if ( error ) goto Exit; memset( edge, 0, (FT_Offset)(sizeof ( *(edge) )) ); edge->first = seg; edge->last = seg; edge->dir = seg->dir; edge->fpos = seg->pos; edge->opos = FT_MulFix( seg->pos, scale ); edge->pos = edge->opos; seg->edge_next = seg; } else { seg->edge_next = found->first; found->last->edge_next = seg; found->last = seg; } } { AF_Edge edges = axis->edges; AF_Edge edge_limit = edges + axis->num_edges; AF_Edge edge; for ( edge = edges; edge < edge_limit; edge++ ) { seg = edge->first; if ( seg ) do { seg->edge = edge; seg = seg->edge_next; } while ( seg != edge->first ); } for ( edge = edges; edge < edge_limit; edge++ ) { FT_Int is_round = 0; FT_Int is_straight = 0; #line 1958 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" seg = edge->first; do { FT_Bool is_serif; if ( seg->flags & ( 1U << 0 ) ) is_round++; else is_straight++; #line 1980 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" is_serif = (FT_Bool)( seg->serif && seg->serif->edge && seg->serif->edge != edge ); if ( ( seg->link && seg->link->edge != ((void *)0) ) || is_serif ) { AF_Edge edge2; AF_Segment seg2; edge2 = edge->link; seg2 = seg->link; if ( is_serif ) { seg2 = seg->serif; edge2 = edge->serif; } if ( edge2 ) { FT_Pos edge_delta; FT_Pos seg_delta; edge_delta = edge->fpos - edge2->fpos; if ( edge_delta < 0 ) edge_delta = -edge_delta; seg_delta = seg->pos - seg2->pos; if ( seg_delta < 0 ) seg_delta = -seg_delta; if ( seg_delta < edge_delta ) edge2 = seg2->edge; } else edge2 = seg2->edge; if ( is_serif ) { edge->serif = edge2; edge2->flags |= ( 1U << 1 ); } else edge->link = edge2; } seg = seg->edge_next; } while ( seg != edge->first ); edge->flags = 0; if ( is_round > 0 && is_round >= is_straight ) edge->flags |= ( 1U << 0 ); #line 2054 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( edge->serif && edge->link ) edge->serif = ((void *)0); } } Exit: return error; } static FT_Error af_latin_hints_detect_features( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ) { FT_Error error; error = af_latin_hints_compute_segments( hints, dim ); if ( !error ) { af_latin_hints_link_segments( hints, width_count, widths, dim ); error = af_latin_hints_compute_edges( hints, dim ); } return error; } static void af_latin_hints_compute_blue_edges( AF_GlyphHints hints, AF_LatinMetrics metrics ) { AF_AxisHints axis = &hints->axis[AF_DIMENSION_VERT]; AF_Edge edge = axis->edges; AF_Edge edge_limit = edge + axis->num_edges; AF_LatinAxis latin = &metrics->axis[AF_DIMENSION_VERT]; FT_Fixed scale = latin->scale; for ( ; edge < edge_limit; edge++ ) { FT_UInt bb; AF_Width best_blue = ((void *)0); FT_Bool best_blue_is_neutral = 0; FT_Pos best_dist; best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); if ( best_dist > 64 / 2 ) best_dist = 64 / 2; for ( bb = 0; bb < latin->blue_count; bb++ ) { AF_LatinBlue blue = latin->blues + bb; FT_Bool is_top_blue, is_neutral_blue, is_major_dir; if ( !( blue->flags & ( 1U << 0 ) ) ) continue; is_top_blue = (FT_Byte)( ( blue->flags & ( ( 1U << 1 ) | ( 1U << 2 ) ) ) != 0 ); is_neutral_blue = (FT_Byte)( ( blue->flags & ( 1U << 3 ) ) != 0); is_major_dir = ( (FT_Bool)( edge->dir == axis->major_dir ) ); if ( is_top_blue ^ is_major_dir || is_neutral_blue ) { FT_Pos dist; dist = edge->fpos - blue->ref.org; if ( dist < 0 ) dist = -dist; dist = FT_MulFix( dist, scale ); if ( dist < best_dist ) { best_dist = dist; best_blue = &blue->ref; best_blue_is_neutral = is_neutral_blue; } if ( edge->flags & ( 1U << 0 ) && dist != 0 && !is_neutral_blue ) { FT_Bool is_under_ref = ( (FT_Bool)( edge->fpos < blue->ref.org ) ); if ( is_top_blue ^ is_under_ref ) { dist = edge->fpos - blue->shoot.org; if ( dist < 0 ) dist = -dist; dist = FT_MulFix( dist, scale ); if ( dist < best_dist ) { best_dist = dist; best_blue = &blue->shoot; best_blue_is_neutral = is_neutral_blue; } } } } } if ( best_blue ) { edge->blue_edge = best_blue; if ( best_blue_is_neutral ) edge->flags |= ( 1U << 3 ); } } } static FT_Error af_latin_hints_init( AF_GlyphHints hints, AF_LatinMetrics metrics ) { FT_Render_Mode mode; FT_UInt32 scaler_flags, other_flags; FT_Face face = metrics->root.scaler.face; af_glyph_hints_rescale( hints, (AF_StyleMetrics)metrics ); hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; hints->x_delta = metrics->axis[AF_DIMENSION_HORZ].delta; hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; hints->y_delta = metrics->axis[AF_DIMENSION_VERT].delta; mode = metrics->root.scaler.render_mode; #line 2235 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" scaler_flags = hints->scaler_flags; other_flags = 0; if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD ) other_flags |= ( 1U << 0 ); if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD_V ) other_flags |= ( 1U << 1 ); if ( mode != FT_RENDER_MODE_LIGHT ) other_flags |= ( 1U << 2 ); if ( mode == FT_RENDER_MODE_MONO ) other_flags |= ( 1U << 3 ); if ( mode == FT_RENDER_MODE_LIGHT || ( face->style_flags & ( 1 << 0 ) ) != 0 ) scaler_flags |= 1U; if ( !metrics->root.globals->module->warping ) scaler_flags |= 8U; #line 2278 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" hints->scaler_flags = scaler_flags; hints->other_flags = other_flags; return FT_Err_Ok; } static FT_Pos af_latin_snap_width( AF_Width widths, FT_UInt count, FT_Pos width ) { FT_UInt n; FT_Pos best = 64 + 32 + 2; FT_Pos reference = width; FT_Pos scaled; for ( n = 0; n < count; n++ ) { FT_Pos w; FT_Pos dist; w = widths[n].cur; dist = width - w; if ( dist < 0 ) dist = -dist; if ( dist < best ) { best = dist; reference = w; } } scaled = ( ((reference) + 32) & ~63 ); if ( width >= reference ) { if ( width < scaled + 48 ) width = reference; } else { if ( width > scaled - 48 ) width = reference; } return width; } static FT_Pos af_latin_compute_stem_width( AF_GlyphHints hints, AF_Dimension dim, FT_Pos width, FT_UInt base_flags, FT_UInt stem_flags ) { AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; AF_LatinAxis axis = &metrics->axis[dim]; FT_Pos dist = width; FT_Int sign = 0; FT_Int vertical = ( dim == AF_DIMENSION_VERT ); if ( !( (hints)->other_flags & (( 1U << 2 )) ) || axis->extra_light ) return width; if ( dist < 0 ) { dist = -width; sign = 1; } if ( ( vertical && !( (hints)->other_flags & (( 1U << 1 )) ) ) || ( !vertical && !( (hints)->other_flags & (( 1U << 0 )) ) ) ) { if ( ( stem_flags & ( 1U << 1 ) ) && vertical && ( dist < 3 * 64 ) ) goto Done_Width; else if ( base_flags & ( 1U << 0 ) ) { if ( dist < 80 ) dist = 64; } else if ( dist < 56 ) dist = 56; if ( axis->width_count > 0 ) { FT_Pos delta; delta = dist - axis->widths[0].cur; if ( delta < 0 ) delta = -delta; if ( delta < 40 ) { dist = axis->widths[0].cur; if ( dist < 48 ) dist = 48; goto Done_Width; } if ( dist < 3 * 64 ) { delta = dist & 63; dist &= -64; if ( delta < 10 ) dist += delta; else if ( delta < 32 ) dist += 10; else if ( delta < 54 ) dist += 54; else dist += delta; } else dist = ( dist + 32 ) & ~63; } } else { FT_Pos org_dist = dist; dist = af_latin_snap_width( axis->widths, axis->width_count, dist ); if ( vertical ) { if ( dist >= 64 ) dist = ( dist + 16 ) & ~63; else dist = 64; } else { if ( ( (hints)->other_flags & (( 1U << 3 )) ) ) { if ( dist < 64 ) dist = 64; else dist = ( dist + 32 ) & ~63; } else { if ( dist < 48 ) dist = ( dist + 64 ) >> 1; else if ( dist < 128 ) { FT_Pos delta; dist = ( dist + 22 ) & ~63; delta = dist - org_dist; if ( delta < 0 ) delta = -delta; if ( delta >= 16 ) { dist = org_dist; if ( dist < 48 ) dist = ( dist + 64 ) >> 1; } } else dist = ( dist + 32 ) & ~63; } } } Done_Width: if ( sign ) dist = -dist; return dist; } static void af_latin_align_linked_edge( AF_GlyphHints hints, AF_Dimension dim, AF_Edge base_edge, AF_Edge stem_edge ) { FT_Pos dist = stem_edge->opos - base_edge->opos; FT_Pos fitted_width = af_latin_compute_stem_width( hints, dim, dist, base_edge->flags, stem_edge->flags ); stem_edge->pos = base_edge->pos + fitted_width; do { } while ( 0 ); #line 2529 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } static void af_latin_align_serif_edge( AF_GlyphHints hints, AF_Edge base, AF_Edge serif ) { ( (hints) = (hints) ); serif->pos = base->pos + ( serif->opos - base->opos ); } static void af_latin_hint_edges( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; AF_Edge edges = axis->edges; AF_Edge edge_limit = edges + axis->num_edges; FT_PtrDist n_edges; AF_Edge edge; AF_Edge anchor = ((void *)0); FT_Int has_serifs = 0; AF_StyleClass style_class = hints->metrics->style_class; AF_ScriptClass script_class = af_script_classes [style_class->script]; FT_Bool top_to_bottom_hinting = 0; do { } while ( 0 ); #line 2585 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( dim == AF_DIMENSION_VERT ) top_to_bottom_hinting = script_class->top_to_bottom_hinting; if ( dim == AF_DIMENSION_VERT && 1 ) { for ( edge = edges; edge < edge_limit; edge++ ) { AF_Width blue; AF_Edge edge1, edge2; if ( edge->flags & ( 1U << 2 ) ) continue; edge1 = ((void *)0); edge2 = edge->link; if ( edge->blue_edge && edge2 && edge2->blue_edge ) { FT_Byte neutral = edge->flags & ( 1U << 3 ); FT_Byte neutral2 = edge2->flags & ( 1U << 3 ); if ( neutral2 ) { edge2->blue_edge = ((void *)0); edge2->flags &= ~( 1U << 3 ); } else if ( neutral ) { edge->blue_edge = ((void *)0); edge->flags &= ~( 1U << 3 ); } } blue = edge->blue_edge; if ( blue ) edge1 = edge; else if ( edge2 && edge2->blue_edge ) { blue = edge2->blue_edge; edge1 = edge2; edge2 = edge; } if ( !edge1 ) continue; edge1->pos = blue->fit; edge1->flags |= ( 1U << 2 ); if ( edge2 && !edge2->blue_edge ) { af_latin_align_linked_edge( hints, dim, edge1, edge2 ); edge2->flags |= ( 1U << 2 ); } if ( !anchor ) anchor = edge; } } for ( edge = edges; edge < edge_limit; edge++ ) { AF_Edge edge2; if ( edge->flags & ( 1U << 2 ) ) continue; edge2 = edge->link; if ( !edge2 ) { has_serifs++; continue; } if ( edge2->blue_edge ) { do { } while ( 0 ); af_latin_align_linked_edge( hints, dim, edge2, edge ); edge->flags |= ( 1U << 2 ); continue; } if ( !anchor ) { FT_Pos org_len, org_center, cur_len; FT_Pos cur_pos1, error1, error2, u_off, d_off; org_len = edge2->opos - edge->opos; cur_len = af_latin_compute_stem_width( hints, dim, org_len, edge->flags, edge2->flags ); if ( cur_len <= 64 ) { u_off = 32; d_off = 32; } else { u_off = 38; d_off = 26; } if ( cur_len < 96 ) { org_center = edge->opos + ( org_len >> 1 ); cur_pos1 = ( ((org_center) + 32) & ~63 ); error1 = org_center - ( cur_pos1 - u_off ); if ( error1 < 0 ) error1 = -error1; error2 = org_center - ( cur_pos1 + d_off ); if ( error2 < 0 ) error2 = -error2; if ( error1 < error2 ) cur_pos1 -= u_off; else cur_pos1 += d_off; edge->pos = cur_pos1 - cur_len / 2; edge2->pos = edge->pos + cur_len; } else edge->pos = ( ((edge->opos) + 32) & ~63 ); anchor = edge; edge->flags |= ( 1U << 2 ); do { } while ( 0 ); #line 2776 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" af_latin_align_linked_edge( hints, dim, edge, edge2 ); } else { FT_Pos org_pos, org_len, org_center, cur_len; FT_Pos cur_pos1, cur_pos2, delta1, delta2; org_pos = anchor->pos + ( edge->opos - anchor->opos ); org_len = edge2->opos - edge->opos; org_center = org_pos + ( org_len >> 1 ); cur_len = af_latin_compute_stem_width( hints, dim, org_len, edge->flags, edge2->flags ); if ( edge2->flags & ( 1U << 2 ) ) { do { } while ( 0 ); #line 2802 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" edge->pos = edge2->pos - cur_len; } else if ( cur_len < 96 ) { FT_Pos u_off, d_off; cur_pos1 = ( ((org_center) + 32) & ~63 ); if ( cur_len <= 64 ) { u_off = 32; d_off = 32; } else { u_off = 38; d_off = 26; } delta1 = org_center - ( cur_pos1 - u_off ); if ( delta1 < 0 ) delta1 = -delta1; delta2 = org_center - ( cur_pos1 + d_off ); if ( delta2 < 0 ) delta2 = -delta2; if ( delta1 < delta2 ) cur_pos1 -= u_off; else cur_pos1 += d_off; edge->pos = cur_pos1 - cur_len / 2; edge2->pos = cur_pos1 + cur_len / 2; do { } while ( 0 ); #line 2845 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } else { org_pos = anchor->pos + ( edge->opos - anchor->opos ); org_len = edge2->opos - edge->opos; org_center = org_pos + ( org_len >> 1 ); cur_len = af_latin_compute_stem_width( hints, dim, org_len, edge->flags, edge2->flags ); cur_pos1 = ( ((org_pos) + 32) & ~63 ); delta1 = cur_pos1 + ( cur_len >> 1 ) - org_center; if ( delta1 < 0 ) delta1 = -delta1; cur_pos2 = ( ((org_pos + org_len) + 32) & ~63 ) - cur_len; delta2 = cur_pos2 + ( cur_len >> 1 ) - org_center; if ( delta2 < 0 ) delta2 = -delta2; edge->pos = ( delta1 < delta2 ) ? cur_pos1 : cur_pos2; edge2->pos = edge->pos + cur_len; do { } while ( 0 ); #line 2875 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } edge->flags |= ( 1U << 2 ); edge2->flags |= ( 1U << 2 ); if ( edge > edges && ( top_to_bottom_hinting ? ( edge->pos > edge[-1].pos ) : ( edge->pos < edge[-1].pos ) ) ) { edge->pos = edge[-1].pos; } } } n_edges = edge_limit - edges; if ( dim == AF_DIMENSION_HORZ && ( n_edges == 6 || n_edges == 12 ) ) { AF_Edge edge1, edge2, edge3; FT_Pos dist1, dist2, span, delta; if ( n_edges == 6 ) { edge1 = edges; edge2 = edges + 2; edge3 = edges + 4; } else { edge1 = edges + 1; edge2 = edges + 5; edge3 = edges + 9; } dist1 = edge2->opos - edge1->opos; dist2 = edge3->opos - edge2->opos; span = dist1 - dist2; if ( span < 0 ) span = -span; if ( span < 8 ) { delta = edge3->pos - ( 2 * edge2->pos - edge1->pos ); edge3->pos -= delta; if ( edge3->link ) edge3->link->pos -= delta; if ( n_edges == 12 ) { ( edges + 8 )->pos -= delta; ( edges + 11 )->pos -= delta; } edge3->flags |= ( 1U << 2 ); if ( edge3->link ) edge3->link->flags |= ( 1U << 2 ); } } if ( has_serifs || !anchor ) { for ( edge = edges; edge < edge_limit; edge++ ) { FT_Pos delta; if ( edge->flags & ( 1U << 2 ) ) continue; delta = 1000; if ( edge->serif ) { delta = edge->serif->opos - edge->opos; if ( delta < 0 ) delta = -delta; } if ( delta < 64 + 16 ) { af_latin_align_serif_edge( hints, edge->serif, edge ); do { } while ( 0 ); #line 2993 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } else if ( !anchor ) { edge->pos = ( ((edge->opos) + 32) & ~63 ); anchor = edge; do { } while ( 0 ); #line 3001 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } else { AF_Edge before, after; for ( before = edge - 1; before >= edges; before-- ) if ( before->flags & ( 1U << 2 ) ) break; for ( after = edge + 1; after < edge_limit; after++ ) if ( after->flags & ( 1U << 2 ) ) break; if ( before >= edges && before < edge && after < edge_limit && after > edge ) { if ( after->opos == before->opos ) edge->pos = before->pos; else edge->pos = before->pos + FT_MulDiv( edge->opos - before->opos, after->pos - before->pos, after->opos - before->opos ); do { } while ( 0 ); #line 3031 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } else { edge->pos = anchor->pos + ( ( edge->opos - anchor->opos + 16 ) & ~31 ); do { } while ( 0 ); #line 3039 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" } } edge->flags |= ( 1U << 2 ); if ( edge > edges && ( top_to_bottom_hinting ? ( edge->pos > edge[-1].pos ) : ( edge->pos < edge[-1].pos ) ) ) { edge->pos = edge[-1].pos; } if ( edge + 1 < edge_limit && edge[1].flags & ( 1U << 2 ) && ( top_to_bottom_hinting ? ( edge->pos < edge[1].pos ) : ( edge->pos > edge[1].pos ) ) ) { edge->pos = edge[1].pos; } } } } static FT_Error af_latin_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_LatinMetrics metrics ) { FT_Error error; int dim; AF_LatinAxis axis; error = af_glyph_hints_reload( hints, outline ); if ( error ) goto Exit; if ( ( metrics->root.scaler.render_mode == FT_RENDER_MODE_LIGHT && !( (hints)->scaler_flags & (8U) ) ) || !( (hints)->scaler_flags & (1U) ) ) #line 3111 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" { axis = &metrics->axis[AF_DIMENSION_HORZ]; error = af_latin_hints_detect_features( hints, axis->width_count, axis->widths, AF_DIMENSION_HORZ ); if ( error ) goto Exit; } if ( !( (hints)->scaler_flags & (2U) ) ) { axis = &metrics->axis[AF_DIMENSION_VERT]; error = af_latin_hints_detect_features( hints, axis->width_count, axis->widths, AF_DIMENSION_VERT ); if ( error ) goto Exit; if ( !( metrics->root.globals->glyph_styles[glyph_index] & 0x4000U ) ) af_latin_hints_compute_blue_edges( hints, metrics ); } for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { if ( dim == AF_DIMENSION_HORZ && metrics->root.scaler.render_mode == FT_RENDER_MODE_LIGHT && !( (hints)->scaler_flags & (8U) ) ) { AF_WarperRec warper; FT_Fixed scale; FT_Pos delta; af_warper_compute( &warper, hints, (AF_Dimension)dim, &scale, &delta ); af_glyph_hints_scale_dim( hints, (AF_Dimension)dim, scale, delta ); continue; } #line 3156 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" if ( ( dim == AF_DIMENSION_HORZ && !( (hints)->scaler_flags & (1U) ) ) || ( dim == AF_DIMENSION_VERT && !( (hints)->scaler_flags & (2U) ) ) ) { af_latin_hint_edges( hints, (AF_Dimension)dim ); af_glyph_hints_align_edge_points( hints, (AF_Dimension)dim ); af_glyph_hints_align_strong_points( hints, (AF_Dimension)dim ); af_glyph_hints_align_weak_points( hints, (AF_Dimension)dim ); } } af_glyph_hints_save( hints, outline ); Exit: return error; } const AF_WritingSystemClassRec af_latin_writing_system_class = { AF_WRITING_SYSTEM_LATIN, sizeof ( AF_LatinMetricsRec ), (AF_WritingSystem_InitMetricsFunc) af_latin_metrics_init, (AF_WritingSystem_ScaleMetricsFunc)af_latin_metrics_scale, (AF_WritingSystem_DoneMetricsFunc) ((void *)0), (AF_WritingSystem_GetStdWidthsFunc)af_latin_get_standard_widths, (AF_WritingSystem_InitHintsFunc) af_latin_hints_init, (AF_WritingSystem_ApplyHintsFunc) af_latin_hints_apply }; #line 3198 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\aflatin.c" #line 31 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" #line 45 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" static void af_cjk_metrics_init_widths( AF_CJKMetrics metrics, FT_Face face ) { AF_GlyphHintsRec hints[1]; do { } while ( 0 ); #line 82 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" af_glyph_hints_init( hints, face->memory ); metrics->axis[AF_DIMENSION_HORZ].width_count = 0; metrics->axis[AF_DIMENSION_VERT].width_count = 0; { FT_Error error; FT_ULong glyph_index; int dim; AF_CJKMetricsRec dummy[1]; AF_Scaler scaler = &dummy->root.scaler; AF_StyleClass style_class = metrics->root.style_class; AF_ScriptClass script_class = af_script_classes [style_class->script]; void* shaper_buf; const char* p; p = script_class->standard_charstring; shaper_buf = af_shaper_buf_create( face ); glyph_index = 0; while ( *p ) { unsigned int num_idx; while ( *p == ' ' ) p++; p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); if ( num_idx > 1 ) continue; glyph_index = af_shaper_get_elem( &metrics->root, shaper_buf, 0, ((void *)0), ((void *)0) ); if ( glyph_index ) break; } af_shaper_buf_destroy( face, shaper_buf ); if ( !glyph_index ) goto Exit; if ( !glyph_index ) goto Exit; do { } while ( 0 ); #line 158 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" error = FT_Load_Glyph( face, glyph_index, ( 1L << 0 ) ); if ( error || face->glyph->outline.n_points <= 0 ) goto Exit; memset( dummy, 0, (FT_Offset)(sizeof ( *(dummy) )) ); dummy->units_per_em = metrics->units_per_em; scaler->x_scale = 0x10000L; scaler->y_scale = 0x10000L; scaler->x_delta = 0; scaler->y_delta = 0; scaler->face = face; scaler->render_mode = FT_RENDER_MODE_NORMAL; scaler->flags = 0; af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); error = af_glyph_hints_reload( hints, &face->glyph->outline ); if ( error ) goto Exit; for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { AF_CJKAxis axis = &metrics->axis[dim]; AF_AxisHints axhints = &hints->axis[dim]; AF_Segment seg, limit, link; FT_UInt num_widths = 0; error = af_latin_hints_compute_segments( hints, (AF_Dimension)dim ); if ( error ) goto Exit; af_latin_hints_link_segments( hints, 0, ((void *)0), (AF_Dimension)dim ); seg = axhints->segments; limit = seg + axhints->num_segments; for ( ; seg < limit; seg++ ) { link = seg->link; if ( link && link->link == seg && link > seg ) { FT_Pos dist; dist = seg->pos - link->pos; if ( dist < 0 ) dist = -dist; if ( num_widths < 16 ) axis->widths[num_widths++].org = dist; } } af_sort_and_quantize_widths( &num_widths, axis->widths, dummy->units_per_em / 100 ); axis->width_count = num_widths; } Exit: for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { AF_CJKAxis axis = &metrics->axis[dim]; FT_Pos stdw; stdw = ( axis->width_count > 0 ) ? axis->widths[0].org : ( ( (50) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 ); axis->edge_distance_threshold = stdw / 5; axis->standard_width = stdw; axis->extra_light = 0; } } do { } while ( 0 ); af_glyph_hints_done( hints ); } static void af_cjk_metrics_init_blues( AF_CJKMetrics metrics, FT_Face face ) { FT_Pos fills[51]; FT_Pos flats[51]; FT_UInt num_fills; FT_UInt num_flats; FT_Bool fill; AF_CJKBlue blue; FT_Error error; AF_CJKAxis axis; FT_Outline outline; AF_StyleClass sc = metrics->root.style_class; AF_Blue_Stringset bss = sc->blue_stringset; const AF_Blue_StringRec* bs = &af_blue_stringsets[bss]; void* shaper_buf; do { } while ( 0 ); #line 309 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" shaper_buf = af_shaper_buf_create( face ); for ( ; bs->string != AF_BLUE_STRING_MAX; bs++ ) { const char* p = &af_blue_strings[bs->string]; FT_Pos* blue_ref; FT_Pos* blue_shoot; if ( ( (bs)->properties & ( 1U << 1 ) ) ) axis = &metrics->axis[AF_DIMENSION_HORZ]; else axis = &metrics->axis[AF_DIMENSION_VERT]; num_fills = 0; num_flats = 0; fill = 1; do { } while ( 0 ); while ( *p ) { FT_ULong glyph_index; FT_Pos best_pos; FT_Int best_point; FT_Vector* points; unsigned int num_idx; while ( *p == ' ' ) p++; if ( *p == '|' ) { fill = 0; do { } while ( 0 ); p++; continue; } p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); if ( num_idx > 1 ) continue; glyph_index = af_shaper_get_elem( &metrics->root, shaper_buf, 0, ((void *)0), ((void *)0) ); if ( glyph_index == 0 ) { do { } while ( 0 ); continue; } error = FT_Load_Glyph( face, glyph_index, ( 1L << 0 ) ); outline = face->glyph->outline; if ( error || outline.n_points <= 2 ) { do { } while ( 0 ); continue; } points = outline.points; best_point = -1; best_pos = 0; { FT_Int nn; FT_Int first = 0; FT_Int last = -1; for ( nn = 0; nn < outline.n_contours; first = last + 1, nn++ ) { FT_Int pp; last = outline.contours[nn]; if ( last <= first ) continue; if ( ( (bs)->properties & ( 1U << 1 ) ) ) { if ( ( (bs)->properties & ( 1U << 0 ) ) ) { for ( pp = first; pp <= last; pp++ ) if ( best_point < 0 || points[pp].x > best_pos ) { best_point = pp; best_pos = points[pp].x; } } else { for ( pp = first; pp <= last; pp++ ) if ( best_point < 0 || points[pp].x < best_pos ) { best_point = pp; best_pos = points[pp].x; } } } else { if ( ( (bs)->properties & ( 1U << 0 ) ) ) { for ( pp = first; pp <= last; pp++ ) if ( best_point < 0 || points[pp].y > best_pos ) { best_point = pp; best_pos = points[pp].y; } } else { for ( pp = first; pp <= last; pp++ ) if ( best_point < 0 || points[pp].y < best_pos ) { best_point = pp; best_pos = points[pp].y; } } } } do { } while ( 0 ); } if ( fill ) fills[num_fills++] = best_pos; else flats[num_flats++] = best_pos; } if ( num_flats == 0 && num_fills == 0 ) { do { } while ( 0 ); continue; } af_sort_pos( num_fills, fills ); af_sort_pos( num_flats, flats ); blue = &axis->blues[axis->blue_count]; blue_ref = &blue->ref.org; blue_shoot = &blue->shoot.org; axis->blue_count++; if ( num_flats == 0 ) { *blue_ref = *blue_shoot = fills[num_fills / 2]; } else if ( num_fills == 0 ) { *blue_ref = *blue_shoot = flats[num_flats / 2]; } else { *blue_ref = fills[num_fills / 2]; *blue_shoot = flats[num_flats / 2]; } if ( *blue_shoot != *blue_ref ) { FT_Pos ref = *blue_ref; FT_Pos shoot = *blue_shoot; FT_Bool under_ref = ( (FT_Bool)( shoot < ref ) ); if ( ( (bs)->properties & ( 1U << 0 ) ) ^ under_ref ) { *blue_ref = *blue_shoot = ( shoot + ref ) / 2; do { } while ( 0 ); #line 538 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" } } blue->flags = 0; if ( ( (bs)->properties & ( 1U << 0 ) ) ) blue->flags |= ( 1U << 1 ); do { } while ( 0 ); #line 548 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" } af_shaper_buf_destroy( face, shaper_buf ); do { } while ( 0 ); return; } static void af_cjk_metrics_check_digits( AF_CJKMetrics metrics, FT_Face face ) { FT_Bool started = 0, same_width = 1; FT_Fixed advance, old_advance = 0; void* shaper_buf; const char digits[] = "0 1 2 3 4 5 6 7 8 9"; const char* p; p = digits; shaper_buf = af_shaper_buf_create( face ); while ( *p ) { FT_ULong glyph_index; unsigned int num_idx; p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); if ( num_idx > 1 ) continue; glyph_index = af_shaper_get_elem( &metrics->root, shaper_buf, 0, &advance, ((void *)0) ); if ( !glyph_index ) continue; if ( started ) { if ( advance != old_advance ) { same_width = 0; break; } } else { old_advance = advance; started = 1; } } af_shaper_buf_destroy( face, shaper_buf ); metrics->root.digits_have_same_width = same_width; } static FT_Error af_cjk_metrics_init( AF_CJKMetrics metrics, FT_Face face ) { FT_CharMap oldmap = face->charmap; metrics->units_per_em = face->units_per_EM; if ( !FT_Select_Charmap( face, FT_ENCODING_UNICODE ) ) { af_cjk_metrics_init_widths( metrics, face ); af_cjk_metrics_init_blues( metrics, face ); af_cjk_metrics_check_digits( metrics, face ); } FT_Set_Charmap( face, oldmap ); return FT_Err_Ok; } static void af_cjk_metrics_scale_dim( AF_CJKMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) { FT_Fixed scale; FT_Pos delta; AF_CJKAxis axis; FT_UInt nn; if ( dim == AF_DIMENSION_HORZ ) { scale = scaler->x_scale; delta = scaler->x_delta; } else { scale = scaler->y_scale; delta = scaler->y_delta; } axis = &metrics->axis[dim]; if ( axis->org_scale == scale && axis->org_delta == delta ) return; axis->org_scale = scale; axis->org_delta = delta; axis->scale = scale; axis->delta = delta; for ( nn = 0; nn < axis->blue_count; nn++ ) { AF_CJKBlue blue = &axis->blues[nn]; FT_Pos dist; blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; blue->ref.fit = blue->ref.cur; blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; blue->shoot.fit = blue->shoot.cur; blue->flags &= ~( 1U << 0 ); dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); if ( dist <= 48 && dist >= -48 ) { FT_Pos delta1, delta2; blue->ref.fit = ( ((blue->ref.cur) + 32) & ~63 ); delta1 = FT_DivFix( blue->ref.fit, scale ) - blue->shoot.org; delta2 = delta1; if ( delta1 < 0 ) delta2 = -delta2; delta2 = FT_MulFix( delta2, scale ); do { } while ( 0 ); if ( delta2 < 32 ) delta2 = 0; #line 714 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" else delta2 = ( ((delta2) + 32) & ~63 ); do { } while ( 0 ); if ( delta1 < 0 ) delta2 = -delta2; blue->shoot.fit = blue->ref.fit - delta2; do { } while ( 0 ); #line 730 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" blue->flags |= ( 1U << 0 ); } } } static void af_cjk_metrics_scale( AF_CJKMetrics metrics, AF_Scaler scaler ) { metrics->root.scaler = *scaler; af_cjk_metrics_scale_dim( metrics, scaler, AF_DIMENSION_HORZ ); af_cjk_metrics_scale_dim( metrics, scaler, AF_DIMENSION_VERT ); } static void af_cjk_get_standard_widths( AF_CJKMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ) { if ( stdHW ) *stdHW = metrics->axis[AF_DIMENSION_VERT].standard_width; if ( stdVW ) *stdVW = metrics->axis[AF_DIMENSION_HORZ].standard_width; } static FT_Error af_cjk_hints_compute_segments( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; AF_Segment segments = axis->segments; AF_Segment segment_limit = segments + axis->num_segments; FT_Error error; AF_Segment seg; error = af_latin_hints_compute_segments( hints, dim ); if ( error ) return error; for ( seg = segments; seg < segment_limit; seg++ ) { AF_Point pt = seg->first; AF_Point last = seg->last; FT_UInt f0 = pt->flags & ( ( 1U << 0 ) | ( 1U << 1 ) ); FT_UInt f1; seg->flags &= ~( 1U << 0 ); for ( ; pt != last; f0 = f1 ) { pt = pt->next; f1 = pt->flags & ( ( 1U << 0 ) | ( 1U << 1 ) ); if ( !f0 && !f1 ) break; if ( pt == last ) seg->flags |= ( 1U << 0 ); } } return FT_Err_Ok; } static void af_cjk_hints_link_segments( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; AF_Segment segments = axis->segments; AF_Segment segment_limit = segments + axis->num_segments; AF_Direction major_dir = axis->major_dir; AF_Segment seg1, seg2; FT_Pos len_threshold; FT_Pos dist_threshold; len_threshold = ( ( (8) * (FT_Long)( (AF_LatinMetrics)(hints->metrics) )->units_per_em ) / 2048 ); dist_threshold = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale : hints->y_scale; dist_threshold = FT_DivFix( 64 * 3, dist_threshold ); for ( seg1 = segments; seg1 < segment_limit; seg1++ ) { if ( seg1->dir != major_dir ) continue; for ( seg2 = segments; seg2 < segment_limit; seg2++ ) if ( seg2 != seg1 && seg1->dir + seg2->dir == 0 ) { FT_Pos dist = seg2->pos - seg1->pos; if ( dist < 0 ) continue; { FT_Pos min = seg1->min_coord; FT_Pos max = seg1->max_coord; FT_Pos len; if ( min < seg2->min_coord ) min = seg2->min_coord; if ( max > seg2->max_coord ) max = seg2->max_coord; len = max - min; if ( len >= len_threshold ) { if ( dist * 8 < seg1->score * 9 && ( dist * 8 < seg1->score * 7 || seg1->len < len ) ) { seg1->score = dist; seg1->len = len; seg1->link = seg2; } if ( dist * 8 < seg2->score * 9 && ( dist * 8 < seg2->score * 7 || seg2->len < len ) ) { seg2->score = dist; seg2->len = len; seg2->link = seg1; } } } } } { AF_Segment link1, link2; for ( seg1 = segments; seg1 < segment_limit; seg1++ ) { link1 = seg1->link; if ( !link1 || link1->link != seg1 || link1->pos <= seg1->pos ) continue; if ( seg1->score >= dist_threshold ) continue; for ( seg2 = segments; seg2 < segment_limit; seg2++ ) { if ( seg2->pos > seg1->pos || seg1 == seg2 ) continue; link2 = seg2->link; if ( !link2 || link2->link != seg2 || link2->pos < link1->pos ) continue; if ( seg1->pos == seg2->pos && link1->pos == link2->pos ) continue; if ( seg2->score <= seg1->score || seg1->score * 4 <= seg2->score ) continue; if ( seg1->len >= seg2->len * 3 ) { AF_Segment seg; for ( seg = segments; seg < segment_limit; seg++ ) { AF_Segment link = seg->link; if ( link == seg2 ) { seg->link = ((void *)0); seg->serif = link1; } else if ( link == link2 ) { seg->link = ((void *)0); seg->serif = seg1; } } } else { seg1->link = link1->link = ((void *)0); break; } } } } for ( seg1 = segments; seg1 < segment_limit; seg1++ ) { seg2 = seg1->link; if ( seg2 ) { seg2->num_linked++; if ( seg2->link != seg1 ) { seg1->link = ((void *)0); if ( seg2->score < dist_threshold || seg1->score < seg2->score * 4 ) seg1->serif = seg2->link; else seg2->num_linked--; } } } } static FT_Error af_cjk_hints_compute_edges( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; FT_Error error = FT_Err_Ok; FT_Memory memory = hints->memory; AF_CJKAxis laxis = &((AF_CJKMetrics)hints->metrics)->axis[dim]; AF_Segment segments = axis->segments; AF_Segment segment_limit = segments + axis->num_segments; AF_Segment seg; FT_Fixed scale; FT_Pos edge_distance_threshold; axis->num_edges = 0; scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale : hints->y_scale; edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, scale ); if ( edge_distance_threshold > 64 / 4 ) edge_distance_threshold = FT_DivFix( 64 / 4, scale ); else edge_distance_threshold = laxis->edge_distance_threshold; for ( seg = segments; seg < segment_limit; seg++ ) { AF_Edge found = ((void *)0); FT_Pos best = 0xFFFFU; FT_Int ee; for ( ee = 0; ee < axis->num_edges; ee++ ) { AF_Edge edge = axis->edges + ee; FT_Pos dist; if ( edge->dir != seg->dir ) continue; dist = seg->pos - edge->fpos; if ( dist < 0 ) dist = -dist; if ( dist < edge_distance_threshold && dist < best ) { AF_Segment link = seg->link; if ( link ) { AF_Segment seg1 = edge->first; FT_Pos dist2 = 0; do { AF_Segment link1 = seg1->link; if ( link1 ) { dist2 = ( ( (link)->pos > (link1)->pos ) ? (link)->pos - (link1)->pos : (link1)->pos - (link)->pos ); if ( dist2 >= edge_distance_threshold ) break; } } while ( ( seg1 = seg1->edge_next ) != edge->first ); if ( dist2 >= edge_distance_threshold ) continue; } best = dist; found = edge; } } if ( !found ) { AF_Edge edge; error = af_axis_hints_new_edge( axis, seg->pos, (AF_Direction)seg->dir, 0, memory, &edge ); if ( error ) goto Exit; memset( edge, 0, (FT_Offset)(sizeof ( *(edge) )) ); edge->first = seg; edge->last = seg; edge->dir = seg->dir; edge->fpos = seg->pos; edge->opos = FT_MulFix( seg->pos, scale ); edge->pos = edge->opos; seg->edge_next = seg; } else { seg->edge_next = found->first; found->last->edge_next = seg; found->last = seg; } } { AF_Edge edges = axis->edges; AF_Edge edge_limit = edges + axis->num_edges; AF_Edge edge; for ( edge = edges; edge < edge_limit; edge++ ) { seg = edge->first; if ( seg ) do { seg->edge = edge; seg = seg->edge_next; } while ( seg != edge->first ); } for ( edge = edges; edge < edge_limit; edge++ ) { FT_Int is_round = 0; FT_Int is_straight = 0; seg = edge->first; do { FT_Bool is_serif; if ( seg->flags & ( 1U << 0 ) ) is_round++; else is_straight++; is_serif = (FT_Bool)( seg->serif && seg->serif->edge != edge ); if ( seg->link || is_serif ) { AF_Edge edge2; AF_Segment seg2; edge2 = edge->link; seg2 = seg->link; if ( is_serif ) { seg2 = seg->serif; edge2 = edge->serif; } if ( edge2 ) { FT_Pos edge_delta; FT_Pos seg_delta; edge_delta = edge->fpos - edge2->fpos; if ( edge_delta < 0 ) edge_delta = -edge_delta; seg_delta = ( ( (seg)->pos > (seg2)->pos ) ? (seg)->pos - (seg2)->pos : (seg2)->pos - (seg)->pos ); if ( seg_delta < edge_delta ) edge2 = seg2->edge; } else edge2 = seg2->edge; if ( is_serif ) { edge->serif = edge2; edge2->flags |= ( 1U << 1 ); } else edge->link = edge2; } seg = seg->edge_next; } while ( seg != edge->first ); edge->flags = 0; if ( is_round > 0 && is_round >= is_straight ) edge->flags |= ( 1U << 0 ); if ( edge->serif && edge->link ) edge->serif = ((void *)0); } } Exit: return error; } static FT_Error af_cjk_hints_detect_features( AF_GlyphHints hints, AF_Dimension dim ) { FT_Error error; error = af_cjk_hints_compute_segments( hints, dim ); if ( !error ) { af_cjk_hints_link_segments( hints, dim ); error = af_cjk_hints_compute_edges( hints, dim ); } return error; } static void af_cjk_hints_compute_blue_edges( AF_GlyphHints hints, AF_CJKMetrics metrics, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; AF_Edge edge = axis->edges; AF_Edge edge_limit = edge + axis->num_edges; AF_CJKAxis cjk = &metrics->axis[dim]; FT_Fixed scale = cjk->scale; FT_Pos best_dist0; best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); if ( best_dist0 > 64 / 2 ) best_dist0 = 64 / 2; for ( ; edge < edge_limit; edge++ ) { FT_UInt bb; AF_Width best_blue = ((void *)0); FT_Pos best_dist = best_dist0; for ( bb = 0; bb < cjk->blue_count; bb++ ) { AF_CJKBlue blue = cjk->blues + bb; FT_Bool is_top_right_blue, is_major_dir; if ( !( blue->flags & ( 1U << 0 ) ) ) continue; is_top_right_blue = (FT_Byte)( ( blue->flags & ( 1U << 1 ) ) != 0 ); is_major_dir = ( (FT_Bool)( edge->dir == axis->major_dir ) ); if ( is_top_right_blue ^ is_major_dir ) { FT_Pos dist; AF_Width compare; if ( ( (edge->fpos - blue->ref.org) < 0 ? -(edge->fpos - blue->ref.org) : (edge->fpos - blue->ref.org) ) > ( (edge->fpos - blue->shoot.org) < 0 ? -(edge->fpos - blue->shoot.org) : (edge->fpos - blue->shoot.org) ) ) compare = &blue->shoot; else compare = &blue->ref; dist = edge->fpos - compare->org; if ( dist < 0 ) dist = -dist; dist = FT_MulFix( dist, scale ); if ( dist < best_dist ) { best_dist = dist; best_blue = compare; } } } if ( best_blue ) edge->blue_edge = best_blue; } } static FT_Error af_cjk_hints_init( AF_GlyphHints hints, AF_CJKMetrics metrics ) { FT_Render_Mode mode; FT_UInt32 scaler_flags, other_flags; af_glyph_hints_rescale( hints, (AF_StyleMetrics)metrics ); hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; hints->x_delta = metrics->axis[AF_DIMENSION_HORZ].delta; hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; hints->y_delta = metrics->axis[AF_DIMENSION_VERT].delta; mode = metrics->root.scaler.render_mode; #line 1385 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" scaler_flags = hints->scaler_flags; other_flags = 0; if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD ) other_flags |= ( 1U << 0 ); if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD_V ) other_flags |= ( 1U << 1 ); if ( mode != FT_RENDER_MODE_LIGHT ) other_flags |= ( 1U << 2 ); if ( mode == FT_RENDER_MODE_MONO ) other_flags |= ( 1U << 3 ); scaler_flags |= 4U; if ( !metrics->root.globals->module->warping ) scaler_flags |= 8U; #line 1419 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" hints->scaler_flags = scaler_flags; hints->other_flags = other_flags; return FT_Err_Ok; } static FT_Pos af_cjk_snap_width( AF_Width widths, FT_UInt count, FT_Pos width ) { FT_UInt n; FT_Pos best = 64 + 32 + 2; FT_Pos reference = width; FT_Pos scaled; for ( n = 0; n < count; n++ ) { FT_Pos w; FT_Pos dist; w = widths[n].cur; dist = width - w; if ( dist < 0 ) dist = -dist; if ( dist < best ) { best = dist; reference = w; } } scaled = ( ((reference) + 32) & ~63 ); if ( width >= reference ) { if ( width < scaled + 48 ) width = reference; } else { if ( width > scaled - 48 ) width = reference; } return width; } static FT_Pos af_cjk_compute_stem_width( AF_GlyphHints hints, AF_Dimension dim, FT_Pos width, FT_UInt base_flags, FT_UInt stem_flags ) { AF_CJKMetrics metrics = (AF_CJKMetrics)hints->metrics; AF_CJKAxis axis = &metrics->axis[dim]; FT_Pos dist = width; FT_Int sign = 0; FT_Bool vertical = ( (FT_Bool)( dim == AF_DIMENSION_VERT ) ); ( (base_flags) = (base_flags) ); ( (stem_flags) = (stem_flags) ); if ( !( (hints)->other_flags & (( 1U << 2 )) ) ) return width; if ( dist < 0 ) { dist = -width; sign = 1; } if ( ( vertical && !( (hints)->other_flags & (( 1U << 1 )) ) ) || ( !vertical && !( (hints)->other_flags & (( 1U << 0 )) ) ) ) { if ( axis->width_count > 0 ) { if ( ( (dist - axis->widths[0].cur) < 0 ? -(dist - axis->widths[0].cur) : (dist - axis->widths[0].cur) ) < 40 ) { dist = axis->widths[0].cur; if ( dist < 48 ) dist = 48; goto Done_Width; } } if ( dist < 54 ) dist += ( 54 - dist ) / 2 ; else if ( dist < 3 * 64 ) { FT_Pos delta; delta = dist & 63; dist &= -64; if ( delta < 10 ) dist += delta; else if ( delta < 22 ) dist += 10; else if ( delta < 42 ) dist += delta; else if ( delta < 54 ) dist += 54; else dist += delta; } } else { dist = af_cjk_snap_width( axis->widths, axis->width_count, dist ); if ( vertical ) { if ( dist >= 64 ) dist = ( dist + 16 ) & ~63; else dist = 64; } else { if ( ( (hints)->other_flags & (( 1U << 3 )) ) ) { if ( dist < 64 ) dist = 64; else dist = ( dist + 32 ) & ~63; } else { if ( dist < 48 ) dist = ( dist + 64 ) >> 1; else if ( dist < 128 ) dist = ( dist + 22 ) & ~63; else dist = ( dist + 32 ) & ~63; } } } Done_Width: if ( sign ) dist = -dist; return dist; } static void af_cjk_align_linked_edge( AF_GlyphHints hints, AF_Dimension dim, AF_Edge base_edge, AF_Edge stem_edge ) { FT_Pos dist = stem_edge->opos - base_edge->opos; FT_Pos fitted_width = af_cjk_compute_stem_width( hints, dim, dist, base_edge->flags, stem_edge->flags ); stem_edge->pos = base_edge->pos + fitted_width; do { } while ( 0 ); #line 1628 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" } static void af_cjk_align_serif_edge( AF_GlyphHints hints, AF_Edge base, AF_Edge serif ) { ( (hints) = (hints) ); serif->pos = base->pos + ( serif->opos - base->opos ); } static FT_Pos af_hint_normal_stem( AF_GlyphHints hints, AF_Edge edge, AF_Edge edge2, FT_Pos anchor, AF_Dimension dim ) { FT_Pos org_len, cur_len, org_center; FT_Pos cur_pos1, cur_pos2; FT_Pos d_off1, u_off1, d_off2, u_off2, delta; FT_Pos offset; FT_Pos threshold = 64; if ( !( (hints)->other_flags & (( 1U << 2 )) ) ) { if ( ( edge->flags & ( 1U << 0 ) ) && ( edge2->flags & ( 1U << 0 ) ) ) { if ( dim == AF_DIMENSION_VERT ) threshold = 64 - 9; else threshold = 64 - 15; } else { if ( dim == AF_DIMENSION_VERT ) threshold = 64 - 9 / 3; else threshold = 64 - 15 / 3; } } org_len = edge2->opos - edge->opos; cur_len = af_cjk_compute_stem_width( hints, dim, org_len, edge->flags, edge2->flags ); org_center = ( edge->opos + edge2->opos ) / 2 + anchor; cur_pos1 = org_center - cur_len / 2; cur_pos2 = cur_pos1 + cur_len; d_off1 = cur_pos1 - ( (cur_pos1) & ~63 ); d_off2 = cur_pos2 - ( (cur_pos2) & ~63 ); u_off1 = 64 - d_off1; u_off2 = 64 - d_off2; delta = 0; if ( d_off1 == 0 || d_off2 == 0 ) goto Exit; if ( cur_len <= threshold ) { if ( d_off2 < cur_len ) { if ( u_off1 <= d_off2 ) delta = u_off1; else delta = -d_off2; } goto Exit; } if ( threshold < 64 ) { if ( d_off1 >= threshold || u_off1 >= threshold || d_off2 >= threshold || u_off2 >= threshold ) goto Exit; } offset = cur_len & 63; if ( offset < 32 ) { if ( u_off1 <= offset || d_off2 <= offset ) goto Exit; } else offset = 64 - threshold; d_off1 = threshold - u_off1; u_off1 = u_off1 - offset; u_off2 = threshold - d_off2; d_off2 = d_off2 - offset; if ( d_off1 <= u_off1 ) u_off1 = -d_off1; if ( d_off2 <= u_off2 ) u_off2 = -d_off2; if ( ( (u_off1) < 0 ? -(u_off1) : (u_off1) ) <= ( (u_off2) < 0 ? -(u_off2) : (u_off2) ) ) delta = u_off1; else delta = u_off2; Exit: if ( !( (hints)->other_flags & (( 1U << 2 )) ) ) { if ( delta > 14 ) delta = 14; else if ( delta < -14 ) delta = -14; } #line 1769 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" cur_pos1 += delta; if ( edge->opos < edge2->opos ) { edge->pos = cur_pos1; edge2->pos = cur_pos1 + cur_len; } else { edge->pos = cur_pos1 + cur_len; edge2->pos = cur_pos1; } return delta; } static void af_cjk_hint_edges( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = &hints->axis[dim]; AF_Edge edges = axis->edges; AF_Edge edge_limit = edges + axis->num_edges; FT_PtrDist n_edges; AF_Edge edge; AF_Edge anchor = ((void *)0); FT_Pos delta = 0; FT_Int skipped = 0; FT_Bool has_last_stem = 0; FT_Pos last_stem_pos = 0; do { } while ( 0 ); #line 1812 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" if ( 1 ) { for ( edge = edges; edge < edge_limit; edge++ ) { AF_Width blue; AF_Edge edge1, edge2; if ( edge->flags & ( 1U << 2 ) ) continue; blue = edge->blue_edge; edge1 = ((void *)0); edge2 = edge->link; if ( blue ) { edge1 = edge; } else if ( edge2 && edge2->blue_edge ) { blue = edge2->blue_edge; edge1 = edge2; edge2 = edge; } if ( !edge1 ) continue; edge1->pos = blue->fit; edge1->flags |= ( 1U << 2 ); if ( edge2 && !edge2->blue_edge ) { af_cjk_align_linked_edge( hints, dim, edge1, edge2 ); edge2->flags |= ( 1U << 2 ); } if ( !anchor ) anchor = edge; } } for ( edge = edges; edge < edge_limit; edge++ ) { AF_Edge edge2; if ( edge->flags & ( 1U << 2 ) ) continue; edge2 = edge->link; if ( !edge2 ) { skipped++; continue; } if ( has_last_stem && ( edge->pos < last_stem_pos + 64 || edge2->pos < last_stem_pos + 64 ) ) { skipped++; continue; } if ( edge2->blue_edge ) { do { } while ( 0 ); af_cjk_align_linked_edge( hints, dim, edge2, edge ); edge->flags |= ( 1U << 2 ); continue; } if ( edge2 < edge ) { af_cjk_align_linked_edge( hints, dim, edge2, edge ); edge->flags |= ( 1U << 2 ); has_last_stem = 1; last_stem_pos = edge->pos; continue; } if ( dim != AF_DIMENSION_VERT && !anchor ) { #line 2011 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" delta = af_hint_normal_stem( hints, edge, edge2, 0, AF_DIMENSION_HORZ ); } else af_hint_normal_stem( hints, edge, edge2, delta, dim ); #line 2024 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" anchor = edge; edge->flags |= ( 1U << 2 ); edge2->flags |= ( 1U << 2 ); has_last_stem = 1; last_stem_pos = edge2->pos; } n_edges = edge_limit - edges; if ( dim == AF_DIMENSION_HORZ && ( n_edges == 6 || n_edges == 12 ) ) { AF_Edge edge1, edge2, edge3; FT_Pos dist1, dist2, span; if ( n_edges == 6 ) { edge1 = edges; edge2 = edges + 2; edge3 = edges + 4; } else { edge1 = edges + 1; edge2 = edges + 5; edge3 = edges + 9; } dist1 = edge2->opos - edge1->opos; dist2 = edge3->opos - edge2->opos; span = dist1 - dist2; if ( span < 0 ) span = -span; if ( edge1->link == edge1 + 1 && edge2->link == edge2 + 1 && edge3->link == edge3 + 1 && span < 8 ) { delta = edge3->pos - ( 2 * edge2->pos - edge1->pos ); edge3->pos -= delta; if ( edge3->link ) edge3->link->pos -= delta; if ( n_edges == 12 ) { ( edges + 8 )->pos -= delta; ( edges + 11 )->pos -= delta; } edge3->flags |= ( 1U << 2 ); if ( edge3->link ) edge3->link->flags |= ( 1U << 2 ); } } if ( !skipped ) goto Exit; for ( edge = edges; edge < edge_limit; edge++ ) { if ( edge->flags & ( 1U << 2 ) ) continue; if ( edge->serif ) { af_cjk_align_serif_edge( hints, edge->serif, edge ); edge->flags |= ( 1U << 2 ); skipped--; } } if ( !skipped ) goto Exit; for ( edge = edges; edge < edge_limit; edge++ ) { AF_Edge before, after; if ( edge->flags & ( 1U << 2 ) ) continue; before = after = edge; while ( --before >= edges ) if ( before->flags & ( 1U << 2 ) ) break; while ( ++after < edge_limit ) if ( after->flags & ( 1U << 2 ) ) break; if ( before >= edges || after < edge_limit ) { if ( before < edges ) af_cjk_align_serif_edge( hints, after, edge ); else if ( after >= edge_limit ) af_cjk_align_serif_edge( hints, before, edge ); else { if ( after->fpos == before->fpos ) edge->pos = before->pos; else edge->pos = before->pos + FT_MulDiv( edge->fpos - before->fpos, after->pos - before->pos, after->fpos - before->fpos ); } } } Exit: return; } static void af_cjk_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ) { AF_AxisHints axis = & hints->axis[dim]; AF_Edge edges = axis->edges; AF_Edge edge_limit = edges + axis->num_edges; AF_Edge edge; FT_Bool snapping; snapping = ( (FT_Bool)( ( dim == AF_DIMENSION_HORZ && ( (hints)->other_flags & (( 1U << 0 )) ) ) || ( dim == AF_DIMENSION_VERT && ( (hints)->other_flags & (( 1U << 1 )) ) ) ) ); #line 2183 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" for ( edge = edges; edge < edge_limit; edge++ ) { AF_Segment seg = edge->first; if ( snapping ) { do { AF_Point point = seg->first; for (;;) { if ( dim == AF_DIMENSION_HORZ ) { point->x = edge->pos; point->flags |= ( 1U << 2 ); } else { point->y = edge->pos; point->flags |= ( 1U << 3 ); } if ( point == seg->last ) break; point = point->next; } seg = seg->edge_next; } while ( seg != edge->first ); } else { FT_Pos delta = edge->pos - edge->opos; do { AF_Point point = seg->first; for (;;) { if ( dim == AF_DIMENSION_HORZ ) { point->x += delta; point->flags |= ( 1U << 2 ); } else { point->y += delta; point->flags |= ( 1U << 3 ); } if ( point == seg->last ) break; point = point->next; } seg = seg->edge_next; } while ( seg != edge->first ); } } } static FT_Error af_cjk_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_CJKMetrics metrics ) { FT_Error error; int dim; ( (metrics) = (metrics) ); ( (glyph_index) = (glyph_index) ); error = af_glyph_hints_reload( hints, outline ); if ( error ) goto Exit; if ( ( metrics->root.scaler.render_mode == FT_RENDER_MODE_LIGHT && !( (hints)->scaler_flags & (8U) ) ) || !( (hints)->scaler_flags & (1U) ) ) #line 2285 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" { error = af_cjk_hints_detect_features( hints, AF_DIMENSION_HORZ ); if ( error ) goto Exit; af_cjk_hints_compute_blue_edges( hints, metrics, AF_DIMENSION_HORZ ); } if ( !( (hints)->scaler_flags & (2U) ) ) { error = af_cjk_hints_detect_features( hints, AF_DIMENSION_VERT ); if ( error ) goto Exit; af_cjk_hints_compute_blue_edges( hints, metrics, AF_DIMENSION_VERT ); } for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) { if ( ( dim == AF_DIMENSION_HORZ && !( (hints)->scaler_flags & (1U) ) ) || ( dim == AF_DIMENSION_VERT && !( (hints)->scaler_flags & (2U) ) ) ) { if ( dim == AF_DIMENSION_HORZ && metrics->root.scaler.render_mode == FT_RENDER_MODE_LIGHT && !( (hints)->scaler_flags & (8U) ) ) { AF_WarperRec warper; FT_Fixed scale; FT_Pos delta; af_warper_compute( &warper, hints, (AF_Dimension)dim, &scale, &delta ); af_glyph_hints_scale_dim( hints, (AF_Dimension)dim, scale, delta ); continue; } #line 2326 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" af_cjk_hint_edges( hints, (AF_Dimension)dim ); af_cjk_align_edge_points( hints, (AF_Dimension)dim ); af_glyph_hints_align_strong_points( hints, (AF_Dimension)dim ); af_glyph_hints_align_weak_points( hints, (AF_Dimension)dim ); } } af_glyph_hints_save( hints, outline ); Exit: return error; } const AF_WritingSystemClassRec af_cjk_writing_system_class = { AF_WRITING_SYSTEM_CJK, sizeof ( AF_CJKMetricsRec ), (AF_WritingSystem_InitMetricsFunc) af_cjk_metrics_init, (AF_WritingSystem_ScaleMetricsFunc)af_cjk_metrics_scale, (AF_WritingSystem_DoneMetricsFunc) ((void *)0), (AF_WritingSystem_GetStdWidthsFunc)af_cjk_get_standard_widths, (AF_WritingSystem_InitHintsFunc) af_cjk_hints_init, (AF_WritingSystem_ApplyHintsFunc) af_cjk_hints_apply }; #line 2365 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" #line 2388 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afcjk.c" #line 35 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.c" #line 33 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.c" static FT_Error af_indic_metrics_init( AF_CJKMetrics metrics, FT_Face face ) { FT_CharMap oldmap = face->charmap; metrics->units_per_em = face->units_per_EM; if ( FT_Select_Charmap( face, FT_ENCODING_UNICODE ) ) face->charmap = ((void *)0); else { af_cjk_metrics_init_widths( metrics, face ); #line 54 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.c" af_cjk_metrics_check_digits( metrics, face ); } FT_Set_Charmap( face, oldmap ); return FT_Err_Ok; } static void af_indic_metrics_scale( AF_CJKMetrics metrics, AF_Scaler scaler ) { af_cjk_metrics_scale( metrics, scaler ); } static FT_Error af_indic_hints_init( AF_GlyphHints hints, AF_CJKMetrics metrics ) { return af_cjk_hints_init( hints, metrics ); } static FT_Error af_indic_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_CJKMetrics metrics ) { return af_cjk_hints_apply( glyph_index, hints, outline, metrics ); } static void af_indic_get_standard_widths( AF_CJKMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ) { if ( stdHW ) *stdHW = metrics->axis[AF_DIMENSION_VERT].standard_width; if ( stdVW ) *stdVW = metrics->axis[AF_DIMENSION_HORZ].standard_width; } const AF_WritingSystemClassRec af_indic_writing_system_class = { AF_WRITING_SYSTEM_INDIC, sizeof ( AF_CJKMetricsRec ), (AF_WritingSystem_InitMetricsFunc) af_indic_metrics_init, (AF_WritingSystem_ScaleMetricsFunc)af_indic_metrics_scale, (AF_WritingSystem_DoneMetricsFunc) ((void *)0), (AF_WritingSystem_GetStdWidthsFunc)af_indic_get_standard_widths, (AF_WritingSystem_InitHintsFunc) af_indic_hints_init, (AF_WritingSystem_ApplyHintsFunc) af_indic_hints_apply }; #line 132 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.c" #line 155 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afindic.c" #line 36 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afshaper.c" FT_Error af_shaper_get_coverage( AF_FaceGlobals globals, AF_StyleClass style_class, FT_UShort* gstyles, FT_Bool default_script ) { ( (globals) = (globals) ); ( (style_class) = (style_class) ); ( (gstyles) = (gstyles) ); ( (default_script) = (default_script) ); return FT_Err_Ok; } void* af_shaper_buf_create( FT_Face face ) { FT_Error error; FT_Memory memory = face->memory; FT_ULong* buf; (buf) = (ft_mem_alloc( memory, (FT_Long)(sizeof ( FT_ULong )), &error )); return (void*)buf; } void af_shaper_buf_destroy( FT_Face face, void* buf ) { FT_Memory memory = face->memory; do { ft_mem_free( memory, (buf) ); (buf) = ((void *)0); } while ( 0 ); } const char* af_shaper_get_cluster( const char* p, AF_StyleMetrics metrics, void* buf_, unsigned int* count ) { FT_Face face = metrics->globals->face; FT_ULong ch, dummy = 0; FT_ULong* buf = (FT_ULong*)buf_; while ( *p == ' ' ) p++; do { ch = (unsigned char)*p++; if ( ch >= 0x80 ) { FT_UInt len_; if ( ch < 0xE0 ) { len_ = 1; ch &= 0x1F; } else if ( ch < 0xF0 ) { len_ = 2; ch &= 0x0F; } else { len_ = 3; ch &= 0x07; } for ( ; len_ > 0; len_-- ) ch = ( ch << 6 ) | ( *p++ & 0x3F ); } } while ( 0 ); while ( !( *p == ' ' || *p == '\0' ) ) do { dummy = (unsigned char)*p++; if ( dummy >= 0x80 ) { FT_UInt len_; if ( dummy < 0xE0 ) { len_ = 1; dummy &= 0x1F; } else if ( dummy < 0xF0 ) { len_ = 2; dummy &= 0x0F; } else { len_ = 3; dummy &= 0x07; } for ( ; len_ > 0; len_-- ) dummy = ( dummy << 6 ) | ( *p++ & 0x3F ); } } while ( 0 ); if ( dummy ) { *buf = 0; *count = 0; } else { *buf = FT_Get_Char_Index( face, ch ); *count = 1; } return p; } FT_ULong af_shaper_get_elem( AF_StyleMetrics metrics, void* buf_, unsigned int idx, FT_Long* advance, FT_Long* y_offset ) { FT_Face face = metrics->globals->face; FT_ULong glyph_index = *(FT_ULong*)buf_; ( (idx) = (idx) ); if ( advance ) FT_Get_Advance( face, glyph_index, ( 1L << 0 ) | ( 1L << 1 ) | ( 1L << 11 ), advance ); if ( y_offset ) *y_offset = 0; return glyph_index; } #line 681 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afshaper.c" #line 38 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.h" typedef struct AF_LoaderRec_ { FT_Face face; AF_FaceGlobals globals; AF_GlyphHints hints; AF_StyleMetrics metrics; FT_Bool transformed; FT_Matrix trans_matrix; FT_Vector trans_delta; FT_Vector pp1; FT_Vector pp2; } AF_LoaderRec, *AF_Loader; static void af_loader_init( AF_Loader loader, AF_GlyphHints hints ); static FT_Error af_loader_reset( AF_Loader loader, AF_Module module, FT_Face face ); static void af_loader_done( AF_Loader loader ); static FT_Error af_loader_load_glyph( AF_Loader loader, AF_Module module, FT_Face face, FT_UInt gindex, FT_Int32 load_flags ); static FT_Int32 af_loader_compute_darkening( AF_Loader loader, FT_Face face, FT_Pos standard_width ); #line 89 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.h" #line 21 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" static void af_loader_init( AF_Loader loader, AF_GlyphHints hints ) { memset( loader, 0, (FT_Offset)(sizeof ( *(loader) )) ); loader->hints = hints; } static FT_Error af_loader_reset( AF_Loader loader, AF_Module module, FT_Face face ) { FT_Error error = FT_Err_Ok; loader->face = face; loader->globals = (AF_FaceGlobals)face->autohint.data; if ( loader->globals == ((void *)0) ) { error = af_face_globals_new( face, &loader->globals, module ); if ( !error ) { face->autohint.data = (FT_Pointer)loader->globals; face->autohint.finalizer = (FT_Generic_Finalizer)af_face_globals_free; } } return error; } static void af_loader_done( AF_Loader loader ) { loader->face = ((void *)0); loader->globals = ((void *)0); loader->hints = ((void *)0); } static FT_Error af_loader_load_g( AF_Loader loader, AF_Scaler scaler, FT_UInt glyph_index, FT_Int32 load_flags ) { AF_Module module = loader->globals->module; FT_Error error; FT_Face face = loader->face; AF_StyleMetrics metrics = loader->metrics; AF_GlyphHints hints = loader->hints; FT_GlyphSlot slot = face->glyph; FT_Slot_Internal internal = slot->internal; FT_GlyphLoader gloader = internal->loader; FT_Int32 flags; flags = load_flags | ( 1L << 13 ); error = FT_Load_Glyph( face, glyph_index, flags ); if ( error ) goto Exit; if ( !module->no_stem_darkening ) { AF_FaceGlobals globals = loader->globals; AF_WritingSystemClass writing_system_class; FT_Pos stdVW = 0; FT_Pos stdHW = 0; FT_Bool size_changed = face->size->metrics.x_ppem != globals->stem_darkening_for_ppem; FT_Fixed em_size = ( (FT_Fixed)( (FT_UInt32)(face->units_per_EM) << 16 ) ); FT_Fixed em_ratio = FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(1000) << 16 ) ), em_size ); FT_Matrix scale_down_matrix = { 0x10000L, 0, 0, 0x10000L }; if ( !face->units_per_EM ) goto After_Emboldening; writing_system_class = af_writing_system_classes[metrics->style_class->writing_system]; if ( writing_system_class->style_metrics_getstdw ) writing_system_class->style_metrics_getstdw( metrics, &stdHW, &stdVW ); else goto After_Emboldening; if ( size_changed || ( stdVW > 0 && stdVW != globals->standard_vertical_width ) ) { FT_Fixed darken_by_font_units_x, darken_x; darken_by_font_units_x = ( (FT_Fixed)( (FT_UInt32)(af_loader_compute_darkening( loader, face, stdVW )) << 16 ) ); #line 185 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" darken_x = FT_DivFix( FT_MulFix( darken_by_font_units_x, face->size->metrics.x_scale ), em_ratio ); globals->standard_vertical_width = stdVW; globals->stem_darkening_for_ppem = face->size->metrics.x_ppem; globals->darken_x = ( (FT_Short)( ( (FT_UInt32)(darken_x) + 0x8000U ) >> 16 ) ); } if ( size_changed || ( stdHW > 0 && stdHW != globals->standard_horizontal_width ) ) { FT_Fixed darken_by_font_units_y, darken_y; darken_by_font_units_y = ( (FT_Fixed)( (FT_UInt32)(af_loader_compute_darkening( loader, face, stdHW )) << 16 ) ); #line 204 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" darken_y = FT_DivFix( FT_MulFix( darken_by_font_units_y, face->size->metrics.y_scale ), em_ratio ); globals->standard_horizontal_width = stdHW; globals->stem_darkening_for_ppem = face->size->metrics.x_ppem; globals->darken_y = ( (FT_Short)( ( (FT_UInt32)(darken_y) + 0x8000U ) >> 16 ) ); globals->scale_down_factor = FT_DivFix( em_size - ( darken_by_font_units_y + ( (FT_Fixed)( (FT_UInt32)(8) << 16 ) ) ), em_size ); } FT_Outline_EmboldenXY( &slot->outline, globals->darken_x, globals->darken_y ); scale_down_matrix.yy = globals->scale_down_factor; FT_Outline_Transform( &slot->outline, &scale_down_matrix ); } After_Emboldening: loader->transformed = internal->glyph_transformed; if ( loader->transformed ) { FT_Matrix inverse; loader->trans_matrix = internal->glyph_matrix; loader->trans_delta = internal->glyph_delta; inverse = loader->trans_matrix; if ( !FT_Matrix_Invert( &inverse ) ) FT_Vector_Transform( &loader->trans_delta, &inverse ); } switch ( slot->format ) { case FT_GLYPH_FORMAT_OUTLINE: if ( loader->transformed ) FT_Outline_Translate( &slot->outline, loader->trans_delta.x, loader->trans_delta.y ); loader->pp1.x = hints->x_delta; loader->pp1.y = hints->y_delta; loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, hints->x_scale ) + hints->x_delta; loader->pp2.y = hints->y_delta; if ( slot->outline.n_points == 0 ) goto Hint_Metrics; { AF_StyleClass style_class = metrics->style_class; AF_WritingSystemClass writing_system_class = af_writing_system_classes[style_class->writing_system]; if ( writing_system_class->style_hints_apply ) writing_system_class->style_hints_apply( glyph_index, hints, &gloader->base.outline, metrics ); } if ( scaler->render_mode != FT_RENDER_MODE_LIGHT ) { FT_Pos old_rsb, old_lsb, new_lsb; FT_Pos pp1x_uh, pp2x_uh; AF_AxisHints axis = &hints->axis[AF_DIMENSION_HORZ]; AF_Edge edge1 = axis->edges; AF_Edge edge2 = edge1 + axis->num_edges - 1; if ( axis->num_edges > 1 && !( (hints)->scaler_flags & (4U) ) ) { old_rsb = loader->pp2.x - edge2->opos; old_lsb = edge1->opos; new_lsb = edge1->pos; pp1x_uh = new_lsb - old_lsb; pp2x_uh = edge2->pos + old_rsb; if ( old_lsb < 24 ) pp1x_uh -= 8; if ( old_rsb < 24 ) pp2x_uh += 8; loader->pp1.x = ( ((pp1x_uh) + 32) & ~63 ); loader->pp2.x = ( ((pp2x_uh) + 32) & ~63 ); if ( loader->pp1.x >= new_lsb && old_lsb > 0 ) loader->pp1.x -= 64; if ( loader->pp2.x <= edge2->pos && old_rsb > 0 ) loader->pp2.x += 64; slot->lsb_delta = loader->pp1.x - pp1x_uh; slot->rsb_delta = loader->pp2.x - pp2x_uh; } else { FT_Pos pp1x = loader->pp1.x; FT_Pos pp2x = loader->pp2.x; loader->pp1.x = ( ((pp1x) + 32) & ~63 ); loader->pp2.x = ( ((pp2x) + 32) & ~63 ); slot->lsb_delta = loader->pp1.x - pp1x; slot->rsb_delta = loader->pp2.x - pp2x; } } else { FT_Pos pp1x = loader->pp1.x; FT_Pos pp2x = loader->pp2.x; loader->pp1.x = ( ((pp1x + hints->xmin_delta) + 32) & ~63 ); loader->pp2.x = ( ((pp2x + hints->xmax_delta) + 32) & ~63 ); slot->lsb_delta = loader->pp1.x - pp1x; slot->rsb_delta = loader->pp2.x - pp2x; } break; default: error = AF_Err_Unimplemented_Feature; } Hint_Metrics: { FT_BBox bbox; FT_Vector vvector; vvector.x = slot->metrics.vertBearingX - slot->metrics.horiBearingX; vvector.y = slot->metrics.vertBearingY - slot->metrics.horiBearingY; vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); if ( loader->transformed ) { FT_Outline_Transform( &gloader->base.outline, &loader->trans_matrix ); FT_Vector_Transform( &vvector, &loader->trans_matrix ); } if ( loader->pp1.x ) FT_Outline_Translate( &gloader->base.outline, -loader->pp1.x, 0 ); #line 398 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" FT_Outline_Get_CBox( &gloader->base.outline, &bbox ); bbox.xMin = ( (bbox.xMin) & ~63 ); bbox.yMin = ( (bbox.yMin) & ~63 ); bbox.xMax = ( ((bbox.xMax) + 63) & ~63 ); bbox.yMax = ( ((bbox.yMax) + 63) & ~63 ); slot->metrics.width = bbox.xMax - bbox.xMin; slot->metrics.height = bbox.yMax - bbox.yMin; slot->metrics.horiBearingX = bbox.xMin; slot->metrics.horiBearingY = bbox.yMax; slot->metrics.vertBearingX = ( (bbox.xMin + vvector.x) & ~63 ); slot->metrics.vertBearingY = ( (bbox.yMax + vvector.y) & ~63 ); #line 423 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" if ( scaler->render_mode != FT_RENDER_MODE_LIGHT && ( ( slot->face->face_flags & ( 1L << 2 ) ) || ( af_face_globals_is_digit( loader->globals, glyph_index ) && metrics->digits_have_same_width ) ) ) { slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, metrics->scaler.x_scale ); slot->lsb_delta = 0; slot->rsb_delta = 0; } else { if ( slot->metrics.horiAdvance ) slot->metrics.horiAdvance = loader->pp2.x - loader->pp1.x; } #line 443 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" slot->metrics.vertAdvance = FT_MulFix( slot->metrics.vertAdvance, metrics->scaler.y_scale ); slot->metrics.horiAdvance = ( ((slot->metrics.horiAdvance) + 32) & ~63 ); slot->metrics.vertAdvance = ( ((slot->metrics.vertAdvance) + 32) & ~63 ); #line 458 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" slot->format = FT_GLYPH_FORMAT_OUTLINE; } Exit: return error; } static FT_Error af_loader_load_glyph( AF_Loader loader, AF_Module module, FT_Face face, FT_UInt gindex, FT_Int32 load_flags ) { FT_Error error; FT_Size size = face->size; AF_ScalerRec scaler; if ( !size ) return AF_Err_Invalid_Size_Handle; memset( &scaler, 0, (FT_Offset)(sizeof ( *(&scaler) )) ); scaler.face = face; scaler.x_scale = size->metrics.x_scale; scaler.x_delta = 0; scaler.y_scale = size->metrics.y_scale; scaler.y_delta = 0; scaler.render_mode = ( (FT_Render_Mode)( ( (load_flags) >> 16 ) & 15 ) ); scaler.flags = 0; error = af_loader_reset( loader, module, face ); if ( !error ) { AF_StyleMetrics metrics; FT_UInt options = AF_STYLE_NONE_DFLT; error = af_face_globals_get_metrics( loader->globals, gindex, options, &metrics ); if ( !error ) { AF_StyleClass style_class = metrics->style_class; AF_WritingSystemClass writing_system_class = af_writing_system_classes[style_class->writing_system]; loader->metrics = metrics; if ( writing_system_class->style_metrics_scale ) writing_system_class->style_metrics_scale( metrics, &scaler ); else metrics->scaler = scaler; load_flags |= ( 1L << 0 ) | ( 1L << 11 ); load_flags &= ~( 1L << 2 ); if ( writing_system_class->style_hints_init ) { error = writing_system_class->style_hints_init( loader->hints, metrics ); if ( error ) goto Exit; } error = af_loader_load_g( loader, &scaler, gindex, load_flags ); } } Exit: return error; } static FT_Int32 af_loader_compute_darkening( AF_Loader loader, FT_Face face, FT_Pos standard_width ) { AF_Module module = loader->globals->module; FT_UShort units_per_EM; FT_Fixed ppem, em_ratio; FT_Fixed stem_width, stem_width_per_1000, scaled_stem, darken_amount; FT_Int log_base_2; FT_Int x1, y1, x2, y2, x3, y3, x4, y4; ppem = ( (( (FT_Fixed)( (FT_UInt32)(4) << 16 ) )) > (( (FT_Fixed)( (FT_UInt32)(face->size->metrics.x_ppem) << 16 ) )) ? (( (FT_Fixed)( (FT_UInt32)(4) << 16 ) )) : (( (FT_Fixed)( (FT_UInt32)(face->size->metrics.x_ppem) << 16 ) )) ); #line 569 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afloader.c" units_per_EM = face->units_per_EM; em_ratio = FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(1000) << 16 ) ), ( (FT_Fixed)( (FT_UInt32)(units_per_EM) << 16 ) ) ); if ( em_ratio < ( (FT_Fixed)( (.01) * 65536.0 + 0.5 ) ) ) { return 0; } x1 = module->darken_params[0]; y1 = module->darken_params[1]; x2 = module->darken_params[2]; y2 = module->darken_params[3]; x3 = module->darken_params[4]; y3 = module->darken_params[5]; x4 = module->darken_params[6]; y4 = module->darken_params[7]; if ( standard_width <= 0 ) { stem_width = ( (FT_Fixed)( (FT_UInt32)(75) << 16 ) ); stem_width_per_1000 = stem_width; } else { stem_width = ( (FT_Fixed)( (FT_UInt32)(standard_width) << 16 ) ); stem_width_per_1000 = FT_MulFix( stem_width, em_ratio ); } log_base_2 = FT_MSB( (FT_UInt32)stem_width_per_1000 ) + FT_MSB( (FT_UInt32)ppem ); if ( log_base_2 >= 46 ) { scaled_stem = ( (FT_Fixed)( (FT_UInt32)(x4) << 16 ) ); } else scaled_stem = FT_MulFix( stem_width_per_1000, ppem ); if ( scaled_stem < ( (FT_Fixed)( (FT_UInt32)(x1) << 16 ) ) ) darken_amount = FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(y1) << 16 ) ), ppem ); else if ( scaled_stem < ( (FT_Fixed)( (FT_UInt32)(x2) << 16 ) ) ) { FT_Int xdelta = x2 - x1; FT_Int ydelta = y2 - y1; FT_Int x = stem_width_per_1000 - FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(x1) << 16 ) ), ppem ); if ( !xdelta ) goto Try_x3; darken_amount = FT_MulDiv( x, ydelta, xdelta ) + FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(y1) << 16 ) ), ppem ); } else if ( scaled_stem < ( (FT_Fixed)( (FT_UInt32)(x3) << 16 ) ) ) { Try_x3: { FT_Int xdelta = x3 - x2; FT_Int ydelta = y3 - y2; FT_Int x = stem_width_per_1000 - FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(x2) << 16 ) ), ppem ); if ( !xdelta ) goto Try_x4; darken_amount = FT_MulDiv( x, ydelta, xdelta ) + FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(y2) << 16 ) ), ppem ); } } else if ( scaled_stem < ( (FT_Fixed)( (FT_UInt32)(x4) << 16 ) ) ) { Try_x4: { FT_Int xdelta = x4 - x3; FT_Int ydelta = y4 - y3; FT_Int x = stem_width_per_1000 - FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(x3) << 16 ) ), ppem ); if ( !xdelta ) goto Use_y4; darken_amount = FT_MulDiv( x, ydelta, xdelta ) + FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(y3) << 16 ) ), ppem ); } } else { Use_y4: darken_amount = FT_DivFix( ( (FT_Fixed)( (FT_UInt32)(y4) << 16 ) ), ppem ); } return ( (FT_Short)( ( (FT_UInt32)(FT_DivFix( darken_amount, em_ratio )) + 0x8000U ) >> 16 ) ); } #line 40 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftautoh.h" typedef struct FT_Prop_GlyphToScriptMap_ { FT_Face face; FT_UShort* map; } FT_Prop_GlyphToScriptMap; typedef struct FT_Prop_IncreaseXHeight_ { FT_Face face; FT_UInt limit; } FT_Prop_IncreaseXHeight; #line 501 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/ftautoh.h" #line 60 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" #line 1 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/services/svprop.h" typedef FT_Error (*FT_Properties_SetFunc)( FT_Module module, const char* property_name, const void* value ); typedef FT_Error (*FT_Properties_GetFunc)( FT_Module module, const char* property_name, void* value ); typedef struct FT_Service_PropertiesRec_ FT_Service_PropertiesRec ; typedef struct FT_Service_PropertiesRec_ const * FT_Service_Properties ; struct FT_Service_PropertiesRec_ { FT_Properties_SetFunc set_property; FT_Properties_GetFunc get_property; }; #line 71 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/services/svprop.h" #line 79 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\include\\freetype/internal/services/svprop.h" #line 61 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" static FT_Error af_property_get_face_globals( FT_Face face, AF_FaceGlobals* aglobals, AF_Module module ) { FT_Error error = FT_Err_Ok; AF_FaceGlobals globals; if ( !face ) return AF_Err_Invalid_Face_Handle; globals = (AF_FaceGlobals)face->autohint.data; if ( !globals ) { error = af_face_globals_new( face, &globals, module ); if ( !error ) { face->autohint.data = (FT_Pointer)globals; face->autohint.finalizer = (FT_Generic_Finalizer)af_face_globals_free; } } if ( !error ) *aglobals = globals; return error; } static FT_Error af_property_set( FT_Module ft_module, const char* property_name, const void* value ) { FT_Error error = FT_Err_Ok; AF_Module module = (AF_Module)ft_module; if ( !strcmp( property_name, "fallback-script" ) ) { FT_UInt* fallback_script = (FT_UInt*)value; FT_UInt ss; for ( ss = 0; af_style_classes[ss]; ss++ ) { AF_StyleClass style_class = af_style_classes[ss]; if ( (FT_UInt)style_class->script == *fallback_script && style_class->coverage == AF_COVERAGE_DEFAULT ) { module->fallback_style = ss; break; } } if ( !af_style_classes[ss] ) { do { } while ( 0 ); #line 143 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" return AF_Err_Invalid_Argument; } return error; } else if ( !strcmp( property_name, "default-script" ) ) { FT_UInt* default_script = (FT_UInt*)value; module->default_script = *default_script; return error; } else if ( !strcmp( property_name, "increase-x-height" ) ) { FT_Prop_IncreaseXHeight* prop = (FT_Prop_IncreaseXHeight*)value; AF_FaceGlobals globals; error = af_property_get_face_globals( prop->face, &globals, module ); if ( !error ) globals->increase_x_height = prop->limit; return error; } else if ( !strcmp( property_name, "warping" ) ) { FT_Bool* warping = (FT_Bool*)value; module->warping = *warping; return error; } #line 180 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" else if ( !strcmp( property_name, "darkening-parameters" ) ) { FT_Int* darken_params = (FT_Int*)value; FT_Int x1 = darken_params[0]; FT_Int y1 = darken_params[1]; FT_Int x2 = darken_params[2]; FT_Int y2 = darken_params[3]; FT_Int x3 = darken_params[4]; FT_Int y3 = darken_params[5]; FT_Int x4 = darken_params[6]; FT_Int y4 = darken_params[7]; if ( x1 < 0 || x2 < 0 || x3 < 0 || x4 < 0 || y1 < 0 || y2 < 0 || y3 < 0 || y4 < 0 || x1 > x2 || x2 > x3 || x3 > x4 || y1 > 500 || y2 > 500 || y3 > 500 || y4 > 500 ) return AF_Err_Invalid_Argument; module->darken_params[0] = x1; module->darken_params[1] = y1; module->darken_params[2] = x2; module->darken_params[3] = y2; module->darken_params[4] = x3; module->darken_params[5] = y3; module->darken_params[6] = x4; module->darken_params[7] = y4; return error; } else if ( !strcmp( property_name, "no-stem-darkening" ) ) { FT_Bool* no_stem_darkening = (FT_Bool*)value; module->no_stem_darkening = *no_stem_darkening; return error; } do { } while ( 0 ); #line 223 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" return AF_Err_Missing_Property; } static FT_Error af_property_get( FT_Module ft_module, const char* property_name, void* value ) { FT_Error error = FT_Err_Ok; AF_Module module = (AF_Module)ft_module; FT_UInt fallback_style = module->fallback_style; FT_UInt default_script = module->default_script; FT_Bool warping = module->warping; #line 239 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" if ( !strcmp( property_name, "glyph-to-script-map" ) ) { FT_Prop_GlyphToScriptMap* prop = (FT_Prop_GlyphToScriptMap*)value; AF_FaceGlobals globals; error = af_property_get_face_globals( prop->face, &globals, module ); if ( !error ) prop->map = globals->glyph_styles; return error; } else if ( !strcmp( property_name, "fallback-script" ) ) { FT_UInt* val = (FT_UInt*)value; AF_StyleClass style_class = af_style_classes[fallback_style]; *val = style_class->script; return error; } else if ( !strcmp( property_name, "default-script" ) ) { FT_UInt* val = (FT_UInt*)value; *val = default_script; return error; } else if ( !strcmp( property_name, "increase-x-height" ) ) { FT_Prop_IncreaseXHeight* prop = (FT_Prop_IncreaseXHeight*)value; AF_FaceGlobals globals; error = af_property_get_face_globals( prop->face, &globals, module ); if ( !error ) prop->limit = globals->increase_x_height; return error; } else if ( !strcmp( property_name, "warping" ) ) { FT_Bool* val = (FT_Bool*)value; *val = warping; return error; } #line 296 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" else if ( !strcmp( property_name, "darkening-parameters" ) ) { FT_Int* darken_params = module->darken_params; FT_Int* val = (FT_Int*)value; val[0] = darken_params[0]; val[1] = darken_params[1]; val[2] = darken_params[2]; val[3] = darken_params[3]; val[4] = darken_params[4]; val[5] = darken_params[5]; val[6] = darken_params[6]; val[7] = darken_params[7]; return error; } else if ( !strcmp( property_name, "no-stem-darkening" ) ) { FT_Bool no_stem_darkening = module->no_stem_darkening; FT_Bool* val = (FT_Bool*)value; *val = no_stem_darkening; return error; } do { } while ( 0 ); #line 326 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" return AF_Err_Missing_Property; } static const FT_Service_PropertiesRec af_service_properties = { (FT_Properties_SetFunc)af_property_set, (FT_Properties_GetFunc)af_property_get }; #line 334 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" static const FT_ServiceDescRec af_services[] = { { "properties", &af_service_properties }, { ((void *)0), ((void *)0) } }; #line 339 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" static FT_Module_Interface af_get_interface( FT_Module module, const char* module_interface ) { ( (module) = (module) ); #line 358 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" return ft_service_list_lookup( af_services, module_interface ); } static FT_Error af_autofitter_init( FT_Module ft_module ) { AF_Module module = (AF_Module)ft_module; module->fallback_style = AF_STYLE_HANI_DFLT; module->default_script = AF_SCRIPT_LATN; module->warping = 0; #line 374 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" module->no_stem_darkening = 1; module->darken_params[0] = 500; module->darken_params[1] = 400; module->darken_params[2] = 1000; module->darken_params[3] = 275; module->darken_params[4] = 1667; module->darken_params[5] = 275; module->darken_params[6] = 2333; module->darken_params[7] = 0; return FT_Err_Ok; } static void af_autofitter_done( FT_Module ft_module ) { ( (ft_module) = (ft_module) ); } static FT_Error af_autofitter_load_glyph( AF_Module module, FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags ) { FT_Error error = FT_Err_Ok; FT_Memory memory = module->root.library->memory; AF_GlyphHintsRec hints[1]; AF_LoaderRec loader[1]; ( (size) = (size) ); af_glyph_hints_init( hints, memory ); af_loader_init( loader, hints ); error = af_loader_load_glyph( loader, module, slot->face, glyph_index, load_flags ); af_loader_done( loader ); af_glyph_hints_done( hints ); return error; #line 458 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" } const FT_AutoHinter_InterfaceRec af_autofitter_interface = { ((void *)0), ((void *)0), ((void *)0), (FT_AutoHinter_GlyphLoadFunc)af_autofitter_load_glyph }; #line 467 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" const FT_Module_Class autofit_module_class = { 4, sizeof ( AF_ModuleRec ), "autofitter", 0x10000L, 0x20000L, (const void*)&af_autofitter_interface, (FT_Module_Constructor)af_autofitter_init, (FT_Module_Destructor) af_autofitter_done, (FT_Module_Requester) af_get_interface, }; #line 484 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afmodule.c" #line 41 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 1 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.c" static const AF_WarpScore af_warper_weights[64] = { 35, 32, 30, 25, 20, 15, 12, 10, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -2, -5, -8,-10,-10,-20,-20,-30,-30, -30,-30,-20,-20,-10,-10, -8, -5, -2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 10, 12, 15, 20, 25, 30, 32, }; #line 64 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.c" static void af_warper_compute_line_best( AF_Warper warper, FT_Fixed scale, FT_Pos delta, FT_Pos xx1, FT_Pos xx2, AF_WarpScore base_distort, AF_Segment segments, FT_Int num_segments ) { FT_Int idx_min, idx_max, idx0; FT_Int nn; AF_WarpScore scores[65]; for ( nn = 0; nn < 65; nn++ ) scores[nn] = 0; idx0 = xx1 - warper->t1; { FT_Pos xx1min = warper->x1min; FT_Pos xx1max = warper->x1max; FT_Pos w = xx2 - xx1; if ( xx1min + w < warper->x2min ) xx1min = warper->x2min - w; xx1max = warper->x1max; if ( xx1max + w > warper->x2max ) xx1max = warper->x2max - w; idx_min = xx1min - warper->t1; idx_max = xx1max - warper->t1; if ( idx_min < 0 || idx_min > idx_max || idx_max > 64 ) { do { } while ( 0 ); #line 116 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.c" return; } } for ( nn = 0; nn < num_segments; nn++ ) { FT_Pos len = segments[nn].max_coord - segments[nn].min_coord; FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; FT_Pos y = y0 + ( idx_min - idx0 ); FT_Int idx; for ( idx = idx_min; idx <= idx_max; idx++, y++ ) scores[idx] += af_warper_weights[y & 63] * len; } { FT_Int idx; for ( idx = idx_min; idx <= idx_max; idx++ ) { AF_WarpScore score = scores[idx]; AF_WarpScore distort = base_distort + ( idx - idx0 ); if ( score > warper->best_score || ( score == warper->best_score && distort < warper->best_distort ) ) { warper->best_score = score; warper->best_distort = distort; warper->best_scale = scale; warper->best_delta = delta + ( idx - idx0 ); } } } } static void af_warper_compute( AF_Warper warper, AF_GlyphHints hints, AF_Dimension dim, FT_Fixed *a_scale, FT_Pos *a_delta ) { AF_AxisHints axis; AF_Point points; FT_Fixed org_scale; FT_Pos org_delta; FT_Int nn, num_points, num_segments; FT_Int X1, X2; FT_Int w; AF_WarpScore base_distort; AF_Segment segments; if ( dim == AF_DIMENSION_VERT ) { org_scale = hints->y_scale; org_delta = hints->y_delta; } else { org_scale = hints->x_scale; org_delta = hints->x_delta; } warper->best_scale = org_scale; warper->best_delta = org_delta; warper->best_score = (-2147483647 - 1); warper->best_distort = 0; axis = &hints->axis[dim]; segments = axis->segments; num_segments = axis->num_segments; points = hints->points; num_points = hints->num_points; *a_scale = org_scale; *a_delta = org_delta; if ( num_segments < 1 ) return; X1 = X2 = points[0].fx; for ( nn = 1; nn < num_points; nn++ ) { FT_Int X = points[nn].fx; if ( X < X1 ) X1 = X; if ( X > X2 ) X2 = X; } #line 237 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.c" if ( X1 >= X2 ) return; warper->x1 = FT_MulFix( X1, org_scale ) + org_delta; warper->x2 = FT_MulFix( X2, org_scale ) + org_delta; warper->t1 = ( (warper->x1) & ~63 ); warper->t2 = ( ((warper->x2) + 63) & ~63 ); warper->x1min = warper->x1 & ~31; warper->x1max = warper->x1min + 32; warper->x2min = warper->x2 & ~31; warper->x2max = warper->x2min + 32; if ( warper->x1max > warper->x2 ) warper->x1max = warper->x2; if ( warper->x2min < warper->x1 ) warper->x2min = warper->x1; warper->w0 = warper->x2 - warper->x1; if ( warper->w0 <= 64 ) { warper->x1max = warper->x1; warper->x2min = warper->x2; } warper->wmin = warper->x2min - warper->x1max; warper->wmax = warper->x2max - warper->x1min; { int margin = 16; if ( warper->w0 <= 128 ) { margin = 8; if ( warper->w0 <= 96 ) margin = 4; } if ( warper->wmin < warper->w0 - margin ) warper->wmin = warper->w0 - margin; if ( warper->wmax > warper->w0 + margin ) warper->wmax = warper->w0 + margin; } if ( warper->wmin < warper->w0 * 3 / 4 ) warper->wmin = warper->w0 * 3 / 4; if ( warper->wmax > warper->w0 * 5 / 4 ) warper->wmax = warper->w0 * 5 / 4; #line 300 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.c" for ( w = warper->wmin; w <= warper->wmax; w++ ) { FT_Fixed new_scale; FT_Pos new_delta; FT_Pos xx1, xx2; xx1 = warper->x1; xx2 = warper->x2; if ( w >= warper->w0 ) { xx1 -= w - warper->w0; if ( xx1 < warper->x1min ) { xx2 += warper->x1min - xx1; xx1 = warper->x1min; } } else { xx1 -= w - warper->w0; if ( xx1 > warper->x1max ) { xx2 -= xx1 - warper->x1max; xx1 = warper->x1max; } } if ( xx1 < warper->x1 ) base_distort = warper->x1 - xx1; else base_distort = xx1 - warper->x1; if ( xx2 < warper->x2 ) base_distort += warper->x2 - xx2; else base_distort += xx2 - warper->x2; base_distort *= 10; new_scale = org_scale + FT_DivFix( w - warper->w0, X2 - X1 ); new_delta = xx1 - FT_MulFix( X1, new_scale ); af_warper_compute_line_best( warper, new_scale, new_delta, xx1, xx2, base_distort, segments, num_segments ); } { FT_Fixed best_scale = warper->best_scale; FT_Pos best_delta = warper->best_delta; hints->xmin_delta = FT_MulFix( X1, best_scale - org_scale ) + best_delta; hints->xmax_delta = FT_MulFix( X2, best_scale - org_scale ) + best_delta; *a_scale = best_scale; *a_delta = best_delta; } } #line 373 "d:\\code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\afwarp.c" #line 44 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c" #line 45 "D:\\Code\\freetype-2.6.3\\freetype-2.6.3\\src\\autofit\\autofit.c"