freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 78f2bd0: Whitespace formatting.


From: Werner Lemberg
Subject: [freetype2] master 78f2bd0: Whitespace formatting.
Date: Sun, 22 Aug 2021 22:33:08 -0400 (EDT)

branch: master
commit 78f2bd0bd3cf4b1faa8c2ce5e1f159172d57c72d
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    Whitespace formatting.
---
 builds/windows/ftdebug.c                | 2 +-
 docs/DOCGUIDE                           | 4 ++--
 docs/oldlogs/ChangeLog.210              | 2 +-
 include/freetype/config/integer-types.h | 2 +-
 include/freetype/ftlcdfil.h             | 2 +-
 include/freetype/ftwinfnt.h             | 2 +-
 include/freetype/ttnameid.h             | 2 +-
 src/base/ftdebug.c                      | 2 +-
 src/gxvalid/gxvkern.c                   | 2 +-
 src/otvalid/otvmath.c                   | 2 +-
 src/pfr/pfrtypes.h                      | 2 +-
 src/pshinter/pshalgo.c                  | 2 +-
 src/truetype/ttsubpix.c                 | 2 +-
 13 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c
index a1aedb8..f7f65f6 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 55c9a84..499608d 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 e649d31..eea4d27 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 d1907d5..5ef09f1 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 107a174..18e2544 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 b1ef3b6..f30f447 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 72f9f76..a09950f 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 bf40186..3485791 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 9fcdbaa..af6157e 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 8dceabd..b4bfabb 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 dff3b46..dc4fead 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 79763ec..e17674b 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 e3b523e..c484665 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 },



reply via email to

[Prev in Thread] Current Thread [Next in Thread]