forked from minhngoc25a/freetype2
Whitespace formatting.
This commit is contained in:
parent
d92aa23fd7
commit
78f2bd0bd3
|
@ -88,7 +88,7 @@
|
||||||
dlg_handler ft_default_log_handler = NULL;
|
dlg_handler ft_default_log_handler = NULL;
|
||||||
FT_Custom_Log_Handler custom_output_handler = NULL;
|
FT_Custom_Log_Handler custom_output_handler = NULL;
|
||||||
|
|
||||||
#endif /* FT_DEBUG_LOGGING*/
|
#endif /* FT_DEBUG_LOGGING */
|
||||||
|
|
||||||
|
|
||||||
#ifdef FT_DEBUG_LEVEL_ERROR
|
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||||
|
|
|
@ -154,7 +154,7 @@ above for consistency.
|
||||||
|
|
||||||
Note that there may be cases where having two asterisks or underscores
|
Note that there may be cases where having two asterisks or underscores
|
||||||
in a line may lead to text being picked up as italics or bold.
|
in a line may lead to text being picked up as italics or bold.
|
||||||
Although unintentional, this is correct markdown behavior.
|
Although unintentional, this is correct markdown behavior.
|
||||||
|
|
||||||
For inline code, wrap the sequence with backticks (see below). This
|
For inline code, wrap the sequence with backticks (see below). This
|
||||||
renders symbols correctly without modifications. If a symbol is
|
renders symbols correctly without modifications. If a symbol is
|
||||||
|
@ -201,7 +201,7 @@ Other sub-sections can be linked with the `@` symbol:
|
||||||
|
|
||||||
@description:
|
@description:
|
||||||
While FreeType's CFF driver doesn't expose API functions by
|
While FreeType's CFF driver doesn't expose API functions by
|
||||||
itself, it is possible to control its behaviour with
|
itself, it is possible to control its behaviour with
|
||||||
@FT_Property_Set and @FT_Property_Get.
|
@FT_Property_Set and @FT_Property_Get.
|
||||||
|
|
||||||
If a field in the `values` table of another sub-section is linked, the
|
If a field in the `values` table of another sub-section is linked, the
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
* tests/issue-1063/main.c (main): Fix uninitialized variable.
|
* tests/issue-1063/main.c (main): Fix uninitialized variable.
|
||||||
|
|
||||||
I tried running `meson test` but the test just crashed and gdb
|
I tried running `meson test` but the test just crashed and gdb
|
||||||
reported that the face argument to `FT_Get_Char_Index` was nonsense.
|
reported that the face argument to `FT_Get_Char_Index` was nonsense.
|
||||||
With this change the test prints 'Could not open file: ' as it
|
With this change the test prints 'Could not open file: ' as it
|
||||||
should.
|
should.
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
#ifndef FT_SIZEOF_LONG_LONG
|
#ifndef FT_SIZEOF_LONG_LONG
|
||||||
|
|
||||||
/* The size of a `long long` type if available*/
|
/* The size of a `long long` type if available */
|
||||||
#if defined( FT_ULLONG_MAX ) && FT_ULLONG_MAX >= 0xFFFFFFFFFFFFFFFFULL
|
#if defined( FT_ULLONG_MAX ) && FT_ULLONG_MAX >= 0xFFFFFFFFFFFFFFFFULL
|
||||||
#define FT_SIZEOF_LONG_LONG ( 64 / FT_CHAR_BIT )
|
#define FT_SIZEOF_LONG_LONG ( 64 / FT_CHAR_BIT )
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -44,7 +44,7 @@ FT_BEGIN_HEADER
|
||||||
* API to control subpixel rendering.
|
* API to control subpixel rendering.
|
||||||
*
|
*
|
||||||
* @description:
|
* @description:
|
||||||
* FreeType provides two alternative subpixel rendering technologies.
|
* FreeType provides two alternative subpixel rendering technologies.
|
||||||
* Should you define `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` in your
|
* Should you define `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` in your
|
||||||
* `ftoption.h` file, this enables ClearType-style rendering.
|
* `ftoption.h` file, this enables ClearType-style rendering.
|
||||||
* Otherwise, Harmony LCD rendering is enabled. These technologies are
|
* Otherwise, Harmony LCD rendering is enabled. These technologies are
|
||||||
|
|
|
@ -55,7 +55,7 @@ FT_BEGIN_HEADER
|
||||||
* FT_WinFNT_ID_XXX
|
* FT_WinFNT_ID_XXX
|
||||||
*
|
*
|
||||||
* @description:
|
* @description:
|
||||||
* A list of valid values for the `charset` byte in @FT_WinFNT_HeaderRec.
|
* A list of valid values for the `charset` byte in @FT_WinFNT_HeaderRec.
|
||||||
* Exact mapping tables for the various 'cpXXXX' encodings (except for
|
* Exact mapping tables for the various 'cpXXXX' encodings (except for
|
||||||
* 'cp1361') can be found at 'ftp://ftp.unicode.org/Public/' in the
|
* 'cp1361') can be found at 'ftp://ftp.unicode.org/Public/' in the
|
||||||
* `MAPPINGS/VENDORS/MICSFT/WINDOWS` subdirectory. 'cp1361' is roughly a
|
* `MAPPINGS/VENDORS/MICSFT/WINDOWS` subdirectory. 'cp1361' is roughly a
|
||||||
|
|
|
@ -591,7 +591,7 @@ FT_BEGIN_HEADER
|
||||||
#define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
|
#define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
|
||||||
#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
|
#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
|
||||||
#define TT_MS_LANGID_KAZAKH_KAZAKHSTAN 0x043F
|
#define TT_MS_LANGID_KAZAKH_KAZAKHSTAN 0x043F
|
||||||
#define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic*/ 0x0440
|
#define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic */ 0x0440
|
||||||
#define TT_MS_LANGID_KISWAHILI_KENYA 0x0441
|
#define TT_MS_LANGID_KISWAHILI_KENYA 0x0441
|
||||||
#define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
|
#define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
|
||||||
#define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
|
#define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
dlg_handler ft_default_log_handler = NULL;
|
dlg_handler ft_default_log_handler = NULL;
|
||||||
FT_Custom_Log_Handler custom_output_handler = NULL;
|
FT_Custom_Log_Handler custom_output_handler = NULL;
|
||||||
|
|
||||||
#endif /* FT_DEBUG_LOGGING*/
|
#endif /* FT_DEBUG_LOGGING */
|
||||||
|
|
||||||
|
|
||||||
#ifdef FT_DEBUG_LEVEL_ERROR
|
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||||
|
|
|
@ -745,7 +745,7 @@
|
||||||
#ifdef GXV_LOAD_TRACE_VARS
|
#ifdef GXV_LOAD_TRACE_VARS
|
||||||
FT_UShort version = 0; /* MS only: subtable version, unused */
|
FT_UShort version = 0; /* MS only: subtable version, unused */
|
||||||
#endif
|
#endif
|
||||||
FT_ULong length; /* MS: 16bit, Apple: 32bit*/
|
FT_ULong length; /* MS: 16bit, Apple: 32bit */
|
||||||
FT_UShort coverage;
|
FT_UShort coverage;
|
||||||
#ifdef GXV_LOAD_TRACE_VARS
|
#ifdef GXV_LOAD_TRACE_VARS
|
||||||
FT_UShort tupleIndex = 0; /* Apple only */
|
FT_UShort tupleIndex = 0; /* Apple only */
|
||||||
|
|
|
@ -141,7 +141,7 @@
|
||||||
OTV_OPTIONAL_TABLE( DeviceTableOffset );
|
OTV_OPTIONAL_TABLE( DeviceTableOffset );
|
||||||
|
|
||||||
|
|
||||||
/* OTV_NAME_ENTER( "MathKern" );*/
|
/* OTV_NAME_ENTER( "MathKern" ); */
|
||||||
|
|
||||||
OTV_LIMIT_CHECK( 2 );
|
OTV_LIMIT_CHECK( 2 );
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ FT_BEGIN_HEADER
|
||||||
#define PFR_BITMAP_2BYTE_SIZE 0x02U
|
#define PFR_BITMAP_2BYTE_SIZE 0x02U
|
||||||
#define PFR_BITMAP_3BYTE_OFFSET 0x04U
|
#define PFR_BITMAP_3BYTE_OFFSET 0x04U
|
||||||
|
|
||||||
/*not part of the specification but used for implementation */
|
/* not part of the specification but used for implementation */
|
||||||
#define PFR_BITMAP_CHARCODES_VALIDATED 0x40U
|
#define PFR_BITMAP_CHARCODES_VALIDATED 0x40U
|
||||||
#define PFR_BITMAP_VALID_CHARCODES 0x80U
|
#define PFR_BITMAP_VALID_CHARCODES 0x80U
|
||||||
|
|
||||||
|
|
|
@ -869,7 +869,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* DEBUG_HINTER*/
|
#endif /* DEBUG_HINTER */
|
||||||
|
|
||||||
hint = table->hints;
|
hint = table->hints;
|
||||||
count = table->max_hints;
|
count = table->max_hints;
|
||||||
|
|
|
@ -315,7 +315,7 @@
|
||||||
static const SPH_TweakRule SKIP_NONPIXEL_Y_MOVES_Rules
|
static const SPH_TweakRule SKIP_NONPIXEL_Y_MOVES_Rules
|
||||||
[SKIP_NONPIXEL_Y_MOVES_RULES_SIZE] =
|
[SKIP_NONPIXEL_Y_MOVES_RULES_SIZE] =
|
||||||
{
|
{
|
||||||
/* fix vwxyz thinness*/
|
/* fix vwxyz thinness */
|
||||||
{ "Consolas", 0, "", 0 },
|
{ "Consolas", 0, "", 0 },
|
||||||
/* Fix thin middle stems */
|
/* Fix thin middle stems */
|
||||||
{ "Core MS Legacy Fonts", 0, "Regular", 0 },
|
{ "Core MS Legacy Fonts", 0, "Regular", 0 },
|
||||||
|
|
Loading…
Reference in New Issue