diff options
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | src/cairo-ps-surface.c | 2 | ||||
-rw-r--r-- | src/cairo-stroke-style.c | 2 | ||||
-rw-r--r-- | src/cairoint.h | 2 | ||||
-rw-r--r-- | test/overflow.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/meson.build b/meson.build index d7dd9b428..8c07f02e9 100644 --- a/meson.build +++ b/meson.build @@ -366,7 +366,7 @@ if x11_dep.found() and xext_dep.found() prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto') # We don't know the type of prop (bool, string) but need to differentiate # between a set value (bool) or the fallback value (string), so convert to - # a string and chec the string value. + # a string and check the string value. prop_str = '@0@'.format(prop) if prop_str in ['true', 'false'] ipc_rmid_deferred_release = (prop_str == 'true') diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 41f635d56..2d05ad69f 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -4409,7 +4409,7 @@ _cairo_ps_surface_emit_pattern_stops (cairo_ps_surface_t *surface, /* no need for stitched function */ _cairo_ps_surface_emit_linear_colorgradient (surface, &stops[0], &stops[1]); } else { - /* multiple stops: stitch. XXX possible optimization: regulary spaced + /* multiple stops: stitch. XXX possible optimization: regularly spaced * stops do not require stitching. XXX */ _cairo_ps_surface_emit_stitched_colorgradient (surface, n_stops, stops); } diff --git a/src/cairo-stroke-style.c b/src/cairo-stroke-style.c index 856cb341b..fed8aec55 100644 --- a/src/cairo-stroke-style.c +++ b/src/cairo-stroke-style.c @@ -203,7 +203,7 @@ _cairo_stroke_style_dash_period (const cairo_stroke_style_t *style) * respect to c: * solve ( diff (integrate ((f(w,d) - c*d)^2, d, 0, w), c), c) * Which leads to c = 9/32*pi*w - * Since we're not interested in the true area, but just in a coverage extimate, + * Since we're not interested in the true area, but just in a coverage estimate, * we always divide the real area by the line width (w). * The same computation for square caps would be * f(w,d) = 2 * integrate(w/2, x, -d/2, d/2) diff --git a/src/cairoint.h b/src/cairoint.h index cfa77ddbb..8d472b0bb 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -518,7 +518,7 @@ struct _cairo_scaled_font_backend { * Get the requested glyph info. * @scaled_font: a #cairo_scaled_font_t * @scaled_glyph: a #cairo_scaled_glyph_t the glyph - * @info: a #cairo_scaled_glyph_info_t which information to retreive + * @info: a #cairo_scaled_glyph_info_t which information to retrieve * %CAIRO_SCALED_GLYPH_INFO_METRICS - glyph metrics and bounding box * %CAIRO_SCALED_GLYPH_INFO_SURFACE - surface holding glyph image * %CAIRO_SCALED_GLYPH_INFO_PATH - path holding glyph outline in device space diff --git a/test/overflow.c b/test/overflow.c index 85229c73a..cc0754111 100644 --- a/test/overflow.c +++ b/test/overflow.c @@ -175,7 +175,7 @@ preamble (cairo_test_context_t *ctx) } /* Next check the compiler builtins (if available, otherwise the * fallback versions are tested again). This is to ensure the fallback version - * produces idential results to the compiler builtins. + * produces identical results to the compiler builtins. */ for (i = 0; i < num_add_tests; i++) { const struct test_data *data = &add_data[i]; |