diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c index a1aedb8e0..f7f65f63e 100644 --- a/builds/windows/ftdebug.c +++ b/builds/windows/ftdebug.c @@ -88,7 +88,7 @@ dlg_handler ft_default_log_handler = NULL; FT_Custom_Log_Handler custom_output_handler = NULL; -#endif /* FT_DEBUG_LOGGING*/ +#endif /* FT_DEBUG_LOGGING */ #ifdef FT_DEBUG_LEVEL_ERROR diff --git a/docs/DOCGUIDE b/docs/DOCGUIDE index 55c9a8421..499608d57 100644 --- a/docs/DOCGUIDE +++ b/docs/DOCGUIDE @@ -154,7 +154,7 @@ above for consistency. 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. -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 renders symbols correctly without modifications. If a symbol is @@ -201,7 +201,7 @@ Other sub-sections can be linked with the `@` symbol: @description: 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. If a field in the `values` table of another sub-section is linked, the diff --git a/docs/oldlogs/ChangeLog.210 b/docs/oldlogs/ChangeLog.210 index e649d31e2..eea4d27b3 100644 --- a/docs/oldlogs/ChangeLog.210 +++ b/docs/oldlogs/ChangeLog.210 @@ -55,7 +55,7 @@ * tests/issue-1063/main.c (main): Fix uninitialized variable. 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 should. diff --git a/include/freetype/config/integer-types.h b/include/freetype/config/integer-types.h index d1907d5c8..5ef09f197 100644 --- a/include/freetype/config/integer-types.h +++ b/include/freetype/config/integer-types.h @@ -62,7 +62,7 @@ #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 #define FT_SIZEOF_LONG_LONG ( 64 / FT_CHAR_BIT ) #else diff --git a/include/freetype/ftlcdfil.h b/include/freetype/ftlcdfil.h index 107a174da..18e254417 100644 --- a/include/freetype/ftlcdfil.h +++ b/include/freetype/ftlcdfil.h @@ -44,7 +44,7 @@ FT_BEGIN_HEADER * API to control subpixel rendering. * * @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 * `ftoption.h` file, this enables ClearType-style rendering. * Otherwise, Harmony LCD rendering is enabled. These technologies are diff --git a/include/freetype/ftwinfnt.h b/include/freetype/ftwinfnt.h index b1ef3b687..f30f447d8 100644 --- a/include/freetype/ftwinfnt.h +++ b/include/freetype/ftwinfnt.h @@ -55,7 +55,7 @@ FT_BEGIN_HEADER * FT_WinFNT_ID_XXX * * @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 * 'cp1361') can be found at 'ftp://ftp.unicode.org/Public/' in the * `MAPPINGS/VENDORS/MICSFT/WINDOWS` subdirectory. 'cp1361' is roughly a diff --git a/include/freetype/ttnameid.h b/include/freetype/ttnameid.h index 72f9f76a7..a09950f54 100644 --- a/include/freetype/ttnameid.h +++ b/include/freetype/ttnameid.h @@ -591,7 +591,7 @@ FT_BEGIN_HEADER #define TT_MS_LANGID_MALAY_MALAYSIA 0x043E #define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E #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_TURKMEN_TURKMENISTAN 0x0442 #define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443 diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c index bf4018652..348579130 100644 --- a/src/base/ftdebug.c +++ b/src/base/ftdebug.c @@ -88,7 +88,7 @@ dlg_handler ft_default_log_handler = NULL; FT_Custom_Log_Handler custom_output_handler = NULL; -#endif /* FT_DEBUG_LOGGING*/ +#endif /* FT_DEBUG_LOGGING */ #ifdef FT_DEBUG_LEVEL_ERROR diff --git a/src/gxvalid/gxvkern.c b/src/gxvalid/gxvkern.c index 9fcdbaa7c..af6157eef 100644 --- a/src/gxvalid/gxvkern.c +++ b/src/gxvalid/gxvkern.c @@ -745,7 +745,7 @@ #ifdef GXV_LOAD_TRACE_VARS FT_UShort version = 0; /* MS only: subtable version, unused */ #endif - FT_ULong length; /* MS: 16bit, Apple: 32bit*/ + FT_ULong length; /* MS: 16bit, Apple: 32bit */ FT_UShort coverage; #ifdef GXV_LOAD_TRACE_VARS FT_UShort tupleIndex = 0; /* Apple only */ diff --git a/src/otvalid/otvmath.c b/src/otvalid/otvmath.c index 8dceabde9..b4bfabb62 100644 --- a/src/otvalid/otvmath.c +++ b/src/otvalid/otvmath.c @@ -141,7 +141,7 @@ OTV_OPTIONAL_TABLE( DeviceTableOffset ); - /* OTV_NAME_ENTER( "MathKern" );*/ + /* OTV_NAME_ENTER( "MathKern" ); */ OTV_LIMIT_CHECK( 2 ); diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h index dff3b4644..dc4fead70 100644 --- a/src/pfr/pfrtypes.h +++ b/src/pfr/pfrtypes.h @@ -109,7 +109,7 @@ FT_BEGIN_HEADER #define PFR_BITMAP_2BYTE_SIZE 0x02U #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_VALID_CHARCODES 0x80U diff --git a/src/pshinter/pshalgo.c b/src/pshinter/pshalgo.c index 79763ecd9..e17674b1b 100644 --- a/src/pshinter/pshalgo.c +++ b/src/pshinter/pshalgo.c @@ -869,7 +869,7 @@ return; } -#endif /* DEBUG_HINTER*/ +#endif /* DEBUG_HINTER */ hint = table->hints; count = table->max_hints; diff --git a/src/truetype/ttsubpix.c b/src/truetype/ttsubpix.c index e3b523e39..c484665b9 100644 --- a/src/truetype/ttsubpix.c +++ b/src/truetype/ttsubpix.c @@ -315,7 +315,7 @@ static const SPH_TweakRule SKIP_NONPIXEL_Y_MOVES_Rules [SKIP_NONPIXEL_Y_MOVES_RULES_SIZE] = { - /* fix vwxyz thinness*/ + /* fix vwxyz thinness */ { "Consolas", 0, "", 0 }, /* Fix thin middle stems */ { "Core MS Legacy Fonts", 0, "Regular", 0 },