[cairo-commit] 2 commits - src/cairo.h src/cairo-mesh-pattern-rasterizer.c src/cairo-scaled-font-subsets-private.h src/cairo-spline.c src/cairo-toy-font-face.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 31 16:28:51 UTC 2023


 src/cairo-mesh-pattern-rasterizer.c     |    2 +-
 src/cairo-scaled-font-subsets-private.h |    2 +-
 src/cairo-spline.c                      |    2 +-
 src/cairo-toy-font-face.c               |    2 +-
 src/cairo.h                             |    8 ++++----
 5 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit d71345b51d46af1e71553908a2560e0fa1eae9ca
Merge: d252636b8 4614892c5
Author: Uli Schlachter <psychon at znc.in>
Date:   Tue Jan 31 16:28:49 2023 +0000

    Merge branch 'too-many-the' into 'master'
    
    s/the the/the/
    
    See merge request cairo/cairo!438

commit 4614892c5997944783d678b2bf63aa476d171189
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Tue Jan 31 20:50:01 2023 +1030

    s/the the/the/

diff --git a/src/cairo-mesh-pattern-rasterizer.c b/src/cairo-mesh-pattern-rasterizer.c
index e7f0db666..f47800c8a 100644
--- a/src/cairo-mesh-pattern-rasterizer.c
+++ b/src/cairo-mesh-pattern-rasterizer.c
@@ -659,7 +659,7 @@ draw_bezier_curve (unsigned char *data, int width, int height, int stride,
  *        width, height are the dimensions of the image
  *        stride is the stride in bytes between adjacent rows
  *        vshift is log2(n) if n is the number of desired steps
- *        p[i][j], p[i][j] are the the nodes of the Bezier patch
+ *        p[i][j], p[i][j] are the nodes of the Bezier patch
  *        col[i][j] is the j-th color component of the i-th corner
  *
  * Output: data will be changed to have the requested patch drawn in
diff --git a/src/cairo-scaled-font-subsets-private.h b/src/cairo-scaled-font-subsets-private.h
index 5b531d298..0e2fc687c 100644
--- a/src/cairo-scaled-font-subsets-private.h
+++ b/src/cairo-scaled-font-subsets-private.h
@@ -204,7 +204,7 @@ _cairo_scaled_font_subsets_enable_latin_subset (cairo_scaled_font_subsets_t *fon
  * @x_advance, @y_advance: When @is_scaled is true, @x_advance and @y_advance contain
  * the x and y advance for the mapped glyph in device space.
  * When @is_scaled is false, @x_advance and @y_advance contain the x and y advance for
- * the the mapped glyph from an unhinted 1 point font.
+ * the mapped glyph from an unhinted 1 point font.
  * @utf8_is_mapped: If true the utf8 string provided to _cairo_scaled_font_subsets_map_glyph()
  * is (or already was) the utf8 string mapped to this glyph. If false the glyph is already
  * mapped to a different utf8 string.
diff --git a/src/cairo-spline.c b/src/cairo-spline.c
index 44634faec..6f50a637a 100644
--- a/src/cairo-spline.c
+++ b/src/cairo-spline.c
@@ -177,7 +177,7 @@ _cairo_spline_error_squared (const cairo_spline_knots_t *knots)
     double bdx, bdy, berr;
     double cdx, cdy, cerr;
 
-    /* We are going to compute the distance (squared) between each of the the b
+    /* We are going to compute the distance (squared) between each of the b
      * and c control points and the segment a-b. The maximum of these two
      * distances will be our approximation error. */
 
diff --git a/src/cairo-toy-font-face.c b/src/cairo-toy-font-face.c
index ef7122609..c27eebefc 100644
--- a/src/cairo-toy-font-face.c
+++ b/src/cairo-toy-font-face.c
@@ -235,7 +235,7 @@ _cairo_toy_font_face_keys_equal (const void *key_a,
  * @weight: the weight for the font
  *
  * Creates a font face from a triplet of family, slant, and weight.
- * These font faces are used in implementation of the the #cairo_t "toy"
+ * These font faces are used in implementation of the #cairo_t "toy"
  * font API.
  *
  * If @family is the zero-length string "", the platform-specific default
diff --git a/src/cairo.h b/src/cairo.h
index ca7d67836..78a958476 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -476,7 +476,7 @@ typedef cairo_status_t (*cairo_read_func_t) (void		*closure,
 /**
  * cairo_rectangle_int_t:
  * @x: X coordinate of the left side of the rectangle
- * @y: Y coordinate of the the top side of the rectangle
+ * @y: Y coordinate of the top side of the rectangle
  * @width: width of the rectangle
  * @height: height of the rectangle
  *
@@ -999,7 +999,7 @@ cairo_clip_extents (cairo_t *cr,
 /**
  * cairo_rectangle_t:
  * @x: X coordinate of the left side of the rectangle
- * @y: Y coordinate of the the top side of the rectangle
+ * @y: Y coordinate of the top side of the rectangle
  * @width: width of the rectangle
  * @height: height of the rectangle
  *
@@ -1378,7 +1378,7 @@ typedef enum _cairo_hint_metrics {
  * contains a color presentation for a glyph, and when supported by
  * the font backend, the glyph will be rendered in color, since 1.18.
  *
- * Specifies if color fonts are to be rendered using the the color
+ * Specifies if color fonts are to be rendered using the color
  * glyphs or outline glyphs. Glyphs that do not have a color
  * presentation, and non-color fonts are not affected by this font
  * option.
@@ -1497,7 +1497,7 @@ cairo_font_options_get_custom_palette_color (cairo_font_options_t *options,
                                              double *blue, double *alpha);
 
 /* This interface is for dealing with text as text, not caring about the
-   font object inside the the cairo_t. */
+   font object inside the cairo_t. */
 
 cairo_public void
 cairo_select_font_face (cairo_t              *cr,


More information about the cairo-commit mailing list