freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master f92c96550: Fix various typos.


From: Werner Lemberg
Subject: [freetype2] master f92c96550: Fix various typos.
Date: Tue, 13 Aug 2024 23:33:08 -0400 (EDT)

branch: master
commit f92c96550ad763639158587974cf11067ace743d
Author: luz paz <luzpaz@github.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    Fix various typos.
---
 builds/cmake/FindHarfBuzz.cmake     | 4 ++--
 builds/wince/vc2005-ce/freetype.sln | 2 +-
 builds/windows/ftdebug.c            | 2 +-
 docs/markdown/javascripts/extra.js  | 2 +-
 docs/oldlogs/ChangeLog.210          | 4 ++--
 include/freetype/ftcolor.h          | 4 ++--
 include/freetype/internal/fttrace.h | 2 +-
 include/freetype/internal/sfnt.h    | 6 +++---
 src/autofit/afcjk.c                 | 2 +-
 src/autofit/aflatin.c               | 2 +-
 src/base/ftdebug.c                  | 2 +-
 src/base/ftsynth.c                  | 2 +-
 src/sdf/ftbsdf.c                    | 4 ++--
 src/sdf/ftsdf.c                     | 2 +-
 src/sdf/ftsdf.h                     | 2 +-
 15 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/builds/cmake/FindHarfBuzz.cmake b/builds/cmake/FindHarfBuzz.cmake
index b481fa415..0f0e33a1a 100644
--- a/builds/cmake/FindHarfBuzz.cmake
+++ b/builds/cmake/FindHarfBuzz.cmake
@@ -28,8 +28,8 @@
 # Try to find Harfbuzz include and library directories.
 #
 # After successful discovery, this will set for inclusion where needed:
-# HarfBuzz_INCLUDE_DIRS - containg the HarfBuzz headers
-# HarfBuzz_LIBRARIES - containg the HarfBuzz library
+# HarfBuzz_INCLUDE_DIRS - containing the HarfBuzz headers
+# HarfBuzz_LIBRARIES - containing the HarfBuzz library
 
 #[=======================================================================[.rst:
 FindHarfBuzz
diff --git a/builds/wince/vc2005-ce/freetype.sln 
b/builds/wince/vc2005-ce/freetype.sln
index ff4546388..62c6a657b 100644
--- a/builds/wince/vc2005-ce/freetype.sln
+++ b/builds/wince/vc2005-ce/freetype.sln
@@ -146,7 +146,7 @@ Global
                {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 
Smartphone SDK (ARMV4I)
                {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 
Professional SDK (ARMV4I)
                {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 
Professional SDK (ARMV4I)
-               {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Releaase|Windows 
Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 
Professional SDK (ARMV4I)
+               {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 
Professional SDK (ARMV4I)
                {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard 
SDK (ARMV4I)
                {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK 
(ARMV4I)
                {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.LIB Release|Windows 
Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK 
(ARMV4I)
diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c
index 2c6996763..7d52de230 100644
--- a/builds/windows/ftdebug.c
+++ b/builds/windows/ftdebug.c
@@ -64,7 +64,7 @@
    *    with the actual log message if set to true.
    *
    * 5. The flag `ft_timestamp_flag` prints time along with the actual log
-   *    message if set to ture.
+   *    message if set to true.
    *
    * 6. `ft_have_newline_char` is used to differentiate between a log
    *    message with and without a trailing newline character.
diff --git a/docs/markdown/javascripts/extra.js 
b/docs/markdown/javascripts/extra.js
index 00f167089..b1ce774fa 100644
--- a/docs/markdown/javascripts/extra.js
+++ b/docs/markdown/javascripts/extra.js
@@ -1,5 +1,5 @@
 /*
-Internal link topbar offest adjust Javascript
+Internal link topbar offset adjust Javascript
 Code provided by @makshh on GitHub
 
 Bug report on material-mkdocs
diff --git a/docs/oldlogs/ChangeLog.210 b/docs/oldlogs/ChangeLog.210
index 3cf9ea961..135af9760 100644
--- a/docs/oldlogs/ChangeLog.210
+++ b/docs/oldlogs/ChangeLog.210
@@ -2983,7 +2983,7 @@
        [raster] Tune SMART macro (#58352).
 
        Windows seems to perform smart dropout control at 26.6 precision.
-       To mimick Windows independent of increased precision, we need to tweak
+       To mimic Windows independent of increased precision, we need to tweak
        the macro so that some close calls break down rather than up.
 
        * src/raster/ftraster.c (SMART): Tweak the macro.
@@ -6484,7 +6484,7 @@
 
        Add internal functions `FT_Trace_Disable' and `FT_Trace_Enable'.
 
-       It sometimes makes sense to suppress tracing informations, for
+       It sometimes makes sense to suppress tracing information, for
        example, if it outputs identical messages again and again.
 
        * include/freetype/internal/ftdebug.h: Make `ft_trace_levels' a
diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h
index 420720ddf..002d6c133 100644
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -1518,7 +1518,7 @@ FT_BEGIN_HEADER
    *
    * @return:
    *   Value~1 if a clip box is found.  If no clip box is found or an error
-   *   occured, value~0 is returned.
+   *   occurred, value~0 is returned.
    *
    * @note:
    *   To retrieve the clip box in font units, reset scale to units-per-em
@@ -1646,7 +1646,7 @@ FT_BEGIN_HEADER
    *
    * @return:
    *   Value~1 if everything is OK.  Value~0 if no details can be found for
-   *   this paint or any other error occured.
+   *   this paint or any other error occurred.
    *
    * @since:
    *   2.13
diff --git a/include/freetype/internal/fttrace.h 
b/include/freetype/internal/fttrace.h
index 42595a29f..f1ed81343 100644
--- a/include/freetype/internal/fttrace.h
+++ b/include/freetype/internal/fttrace.h
@@ -19,7 +19,7 @@
   /* definitions of trace levels for FreeType 2 */
 
   /* the maximum string length (if the argument to `FT_TRACE_DEF` */
-  /* gets used as a string) plus one charachter for ':' plus      */
+  /* gets used as a string) plus one character for ':' plus       */
   /* another one for the trace level                              */
 #define FT_MAX_TRACE_LEVEL_LENGTH  (9 + 1 + 1)
 
diff --git a/include/freetype/internal/sfnt.h b/include/freetype/internal/sfnt.h
index 35e4e73af..69c81f6da 100644
--- a/include/freetype/internal/sfnt.h
+++ b/include/freetype/internal/sfnt.h
@@ -612,7 +612,7 @@ FT_BEGIN_HEADER
    *
    * @return:
    *   Value~1 if a ClipBox is found.  If no clip box is found or an
-   *   error occured, value~0 is returned.
+   *   error occurred, value~0 is returned.
    */
   typedef FT_Bool
   ( *TT_Get_Color_Glyph_ClipBox_Func )( TT_Face      face,
@@ -707,7 +707,7 @@ FT_BEGIN_HEADER
    *
    * @return:
    *   Value~1 if everything is OK.  Value~0 if no details can be found for
-   *   this paint or any other error occured.
+   *   this paint or any other error occurred.
    */
   typedef FT_Bool
   ( *TT_Get_Paint_Func )( TT_Face         face,
@@ -808,7 +808,7 @@ FT_BEGIN_HEADER
    *     corresponding (1,0) Apple entry.
    *
    * @return:
-   *   1 if there is either a win or apple entry (or both), 0 otheriwse.
+   *   1 if there is either a win or apple entry (or both), 0 otherwise.
    */
   typedef FT_Bool
   (*TT_Get_Name_ID_Func)( TT_Face    face,
diff --git a/src/autofit/afcjk.c b/src/autofit/afcjk.c
index 869b60487..d24ad821f 100644
--- a/src/autofit/afcjk.c
+++ b/src/autofit/afcjk.c
@@ -1378,7 +1378,7 @@
   }
 
 
-  /* Initalize hinting engine. */
+  /* Initialize hinting engine. */
 
   FT_LOCAL_DEF( FT_Error )
   af_cjk_hints_init( AF_GlyphHints    hints,
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 89287f7ea..87b56db61 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -2610,7 +2610,7 @@
   }
 
 
-  /* Initalize hinting engine. */
+  /* Initialize hinting engine. */
 
   static FT_Error
   af_latin_hints_init( AF_GlyphHints    hints,
diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c
index 11307eaac..760003985 100644
--- a/src/base/ftdebug.c
+++ b/src/base/ftdebug.c
@@ -64,7 +64,7 @@
    *    with the actual log message if set to true.
    *
    * 5. The flag `ft_timestamp_flag` prints time along with the actual log
-   *    message if set to ture.
+   *    message if set to true.
    *
    * 6. `ft_have_newline_char` is used to differentiate between a log
    *    message with and without a trailing newline character.
diff --git a/src/base/ftsynth.c b/src/base/ftsynth.c
index ec05bce33..b5e361174 100644
--- a/src/base/ftsynth.c
+++ b/src/base/ftsynth.c
@@ -141,7 +141,7 @@
       /*
        * XXX: overflow check for 16-bit system, for compatibility
        *      with FT_GlyphSlot_Embolden() since FreeType 2.1.10.
-       *      unfortunately, this function return no informations
+       *      unfortunately, this function return no information
        *      about the cause of error.
        */
       if ( ( ystr >> 6 ) > FT_INT_MAX || ( ystr >> 6 ) < FT_INT_MIN )
diff --git a/src/sdf/ftbsdf.c b/src/sdf/ftbsdf.c
index adde05ba1..10d1de8a3 100644
--- a/src/sdf/ftbsdf.c
+++ b/src/sdf/ftbsdf.c
@@ -373,7 +373,7 @@
    * @Input:
    *   current ::
    *     Array of Euclidean distances.  `current` must point to the position
-   *     for which the distance is to be caculated.  We treat this array as
+   *     for which the distance is to be calculated.  We treat this array as
    *     a two-dimensional array mapped to a one-dimensional array.
    *
    *   x ::
@@ -550,7 +550,7 @@
    *
    * @Description:
    *   Loops over all the pixels and call `compute_edge_distance` only for
-   *   edge pixels.  This maked the process a lot faster since
+   *   edge pixels.  This makes the process a lot faster since
    *   `compute_edge_distance` uses functions such as `FT_Vector_NormLen',
    *   which are quite slow.
    *
diff --git a/src/sdf/ftsdf.c b/src/sdf/ftsdf.c
index dc55d4263..8b3ff6776 100644
--- a/src/sdf/ftsdf.c
+++ b/src/sdf/ftsdf.c
@@ -3456,7 +3456,7 @@
    *     A complete shape which is used to generate SDF.
    *
    *   spread ::
-   *     Maximum distances to be allowed inthe output bitmap.
+   *     Maximum distances to be allowed in the output bitmap.
    *
    * @Output:
    *   bitmap ::
diff --git a/src/sdf/ftsdf.h b/src/sdf/ftsdf.h
index 25a0a13bb..d1ca8d375 100644
--- a/src/sdf/ftsdf.h
+++ b/src/sdf/ftsdf.h
@@ -57,7 +57,7 @@ FT_BEGIN_HEADER
    *     indicate positions inside of contours.
    *
    *   flip_y ::
-   *     Setting this parameter to true maked the output image flipped
+   *     Setting this parameter to true makes the output image flipped
    *     along the y-axis.
    *
    *   overlaps ::



reply via email to

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