doc: fix a few typos found by codespell

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Nis Martensen 2012-03-03 23:00:54 +01:00 committed by Uli Schlachter
parent 4a1d420558
commit 77da76ac6c
19 changed files with 21 additions and 21 deletions

View file

@ -92,7 +92,7 @@ cairo-perf-diff:
As a convenience, this common desire to measure a single commit is
supported by passing a single revision to cairo-perf-diff, in which
case it will compare it to the immediately preceeding commit. So for
case it will compare it to the immediately preceding commit. So for
example:
# Measure the impact of the latest commit
@ -117,7 +117,7 @@ what has been cached:
And finally, the -f mode is most useful in conjunction with the --
option to cairo-perf-diff which allows you to pass options to the
underlying cairo-perf runs. This allows you to restrict the additonal
underlying cairo-perf runs. This allows you to restrict the additional
test runs to a limited subset of the tests.
For example, a frequently used trick is to first generate a chart with

View file

@ -318,7 +318,7 @@ _cairo_beos_surface_set_clip_region (cairo_beos_surface_t *surface,
cairo_rectangle_int_t rect;
cairo_region_get_rectangle (region, i, &rect);
// Have to substract one, because for pixman, the second coordinate
// Have to subtract one, because for pixman, the second coordinate
// lies outside the rectangle.
bregion.Include (_cairo_rectangle_to_brect (&rect));
}

View file

@ -99,7 +99,7 @@ _cairo_cogl_context_rectangle_real (cairo_cogl_context_t *cr,
* before continuing to append their operations.
*
* In addition to the speculative store cairo-cogl also has a fast-path
* fill_rectangle drawing operation that futher aims to minimize the cost
* fill_rectangle drawing operation that further aims to minimize the cost
* of drawing rectangles.
*/
static cairo_status_t

View file

@ -1117,7 +1117,7 @@ _cairo_cogl_surface_clear (cairo_cogl_surface_t *surface,
*
* The main concern is that we want to avoid re-loading an external z
* buffer at the start of each frame, but also many gpu architectures have
* optmizations for how they handle the depth/stencil buffers and can get
* optimizations for how they handle the depth/stencil buffers and can get
* upset if they aren't cleared together at the start of the frame.
*
* FIXME: we need a way to assert that the clip stack currently isn't
@ -2425,7 +2425,7 @@ _cairo_cogl_surface_fill_rectangle (void *abstract_surface,
return CAIRO_INT_STATUS_UNSUPPORTED;
/* TODO:
* We need to aquire the textures here, look at the corresponding
* We need to acquire the textures here, look at the corresponding
* attributes and see if this can be trivially handled by logging
* a textured rectangle only needing simple scaling or translation
* of texture coordinates.

View file

@ -3158,7 +3158,7 @@ FREE_PATTERN:
* If the FC_FT_FACE element of @pattern is set, the user is responsible
* for making sure that the referenced FT_Face remains valid for the life
* time of the returned #cairo_font_face_t. See
* cairo_ft_font_face_create_for_ft_face() for an exmaple of how to couple
* cairo_ft_font_face_create_for_ft_face() for an example of how to couple
* the life time of the FT_Face to that of the cairo font-face.
*
* Return value: a newly created #cairo_font_face_t. Free with

View file

@ -333,7 +333,7 @@ fd_fixed_fwd (int32_t f[4])
*
* max(|B'(t)|) <= 3 max (|p1-p0|, |p2-p0|/2, |p3-p1|/2, |p3-p2|)
*
* So, to guarantee a maximum step lenght of 1/sqrt(2) we must do:
* So, to guarantee a maximum step length of 1/sqrt(2) we must do:
*
* 3 max (|p1-p0|, |p2-p0|/2, |p3-p1|/2, |p3-p2|) sqrt(2) steps
*/

View file

@ -786,7 +786,7 @@ cairo_os2_surface_create (HPS hps_client_window,
error_exit:
/* This point will only be reached if an error occured */
/* This point will only be reached if an error occurred */
if (local_os2_surface) {
if (local_os2_surface->pixels)

View file

@ -516,7 +516,7 @@ slim_hidden_def (cairo_region_get_extents);
* cairo_region_status:
* @region: a #cairo_region_t
*
* Checks whether an error has previous occured for this
* Checks whether an error has previous occurred for this
* region object.
*
* Return value: %CAIRO_STATUS_SUCCESS or %CAIRO_STATUS_NO_MEMORY

View file

@ -131,7 +131,7 @@ struct _cairo_observer {
*
* _cairo_hash_table_insert (hash_table, &my_entry->base);
*
* IMPORTANT: The caller is reponsible for initializing
* IMPORTANT: The caller is responsible for initializing
* my_entry->base.hash with a hash code derived from the key. The
* essential property of the hash code is that keys_equal must never
* return %TRUE for two keys that have different hashes. The best hash

View file

@ -161,7 +161,7 @@ static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { r
#endif
/*
* 64-bit comparisions derived from lt or eq
* 64-bit comparisons derived from lt or eq
*/
#define _cairo_uint64_le(a,b) (!_cairo_uint64_gt(a,b))
#define _cairo_uint64_ne(a,b) (!_cairo_uint64_eq(a,b))

View file

@ -473,7 +473,7 @@ _cairo_xcb_shm_process_pending (cairo_xcb_connection_t *connection, shm_wait_typ
info->sync.sequence,
(void **) &reply, NULL))
/* We cannot be sure the server finished with this image yet, so
* try again later. All other shm info are guranteed to have a
* try again later. All other shm info are guaranteed to have a
* larger sequence number and thus don't have to be checked. */
return;
break;

View file

@ -63,7 +63,7 @@
* draw shapes with cairo_stroke() or cairo_fill().
*
* #cairo_t<!-- -->'s can be pushed to a stack via cairo_save().
* They may then safely be changed, without loosing the current state.
* They may then safely be changed, without losing the current state.
* Use cairo_restore() to restore to the saved state.
*/

View file

@ -476,7 +476,7 @@ struct brw_instruction *brw_JMPI(struct brw_compile *p,
*
* When the matching 'else' instruction is reached (presumably by
* countdown of the instruction count patched in by our ELSE/ENDIF
* functions), the relevent flags are inverted.
* functions), the relevant flags are inverted.
*
* When the matching 'endif' instruction is reached, the flags are
* popped off. If the stack is now empty, normal execution resumes.

View file

@ -1647,7 +1647,7 @@ _cairo_win32_scaled_font_is_synthetic (void *abstract_font)
&bold,
&italic);
/* If this doesn't work assume it is not synthetic to avoid
* unneccessary subsetting fallbacks. */
* unnecessary subsetting fallbacks. */
if (status != CAIRO_STATUS_SUCCESS)
return FALSE;

View file

@ -164,7 +164,7 @@ reference
# convert degenerate segments into circles/rectangles
# as expected by cairo
# device-offset-scale - complication of pre-multiplying device_offset
# into the pattern_matrix and then requiring futher
# into the pattern_matrix and then requiring further
# manipulation for SVG
# extend-pad - lacks implementation in pixman and consequently used
# as an excuse for lack of support in other backends

View file

@ -57,7 +57,7 @@ this is interfering with the results, you can clear the cached results using:
make clean-caches
Running tests under modified enviroments or tools
Running tests under modified environments or tools
-------------------------------------------------
To run tests under a tool like gdb, one can use the run target and
the TOOL variable. For example:

View file

@ -37,7 +37,7 @@ static const double frac_offset[] = { 0, 2, 4, 6 };
* This corresponds to the non-inverted part only if
* the dash pattern has odd length, so the expected result
* is the same for every int_offset if the pattern has
* even lenght, and inverted each time (or shifted by half
* even length, and inverted each time (or shifted by half
* period, which is the same) if the pattern has odd length. */
static const double int_offset[] = { -2, -1, 0, 1, 2 };

View file

@ -38,7 +38,7 @@
* https://bugs.freedesktop.org/show_bug.cgi?id=6955
*
* We replicate this bug by using the cairo_scaled_font_set_max_glyphs_per_font
* function to artifically induce cache pressure. (This function was added
* function to artificially induce cache pressure. (This function was added
* for this very purpose.)
*
* 2006-06-22 Carl Worth <cworth@cworth.org>

View file

@ -25,7 +25,7 @@ Whatever else happens is driven by its argument:
--compress - Compress the output with LZMA
--profile - Combine --no-callers and --no-mark-dirty and --compress
Enviroment variables understood by cairo-trace:
Environment variables understood by cairo-trace:
CAIRO_TRACE_FLUSH - flush the output after every function call.
CAIRO_TRACE_LINE_INFO - emit line information for most function calls.
EOF