Misc. typos

Found via `codespell -i 3 -w -I ../cairo-word-whitelist.txt -L tim,ned,uint`
Follow up of 12cb59be7d

Reviewed-by: Bryce Harrington <bryce@bryceharrington.org>
This commit is contained in:
luz.paz 2018-10-20 14:11:30 -04:00 committed by Bryce Harrington
parent cb871c6c69
commit 6d93bddbd6
36 changed files with 56 additions and 56 deletions

View file

@ -29,7 +29,7 @@ Larry Ewing <lewing@novell.com> Test case for group-clip
Brian Ewins <Brian.Ewins@gmail.com> ATSUI maintenance (first success at making it really work) Brian Ewins <Brian.Ewins@gmail.com> ATSUI maintenance (first success at making it really work)
Bertram Felgenhauer <int-e@gmx.de> Fixes for subtle arithmetic errors Bertram Felgenhauer <int-e@gmx.de> Fixes for subtle arithmetic errors
Damian Frank <damian.frank@gmail.com> Build system improvements for win32 Damian Frank <damian.frank@gmail.com> Build system improvements for win32
Bdale Garbee <bdale@gag.com> Provided essential support for cairo achitecture sessions Bdale Garbee <bdale@gag.com> Provided essential support for cairo architecture sessions
Jens Granseuer <jensgr@gmx.net> Fixes to generate proper compiler flags Jens Granseuer <jensgr@gmx.net> Fixes to generate proper compiler flags
Laxmi Harikumar <laxmi.harikumar@digital.com> Build fix Laxmi Harikumar <laxmi.harikumar@digital.com> Build fix
J. Ali Harlow <ali@avrc.city.ac.uk> win32 backend updates J. Ali Harlow <ali@avrc.city.ac.uk> win32 backend updates
@ -42,7 +42,7 @@ Thomas Hunger <info@teh-web.de> Initial version of cairo_in_stroke/fill
Thomas Jaeger <ThJaeger@gmail.com> Extended repeat modes for X Thomas Jaeger <ThJaeger@gmail.com> Extended repeat modes for X
Björn Lindqvist <bjourne@gmail.com> Performance test cases Björn Lindqvist <bjourne@gmail.com> Performance test cases
Kristian Høgsberg <krh@redhat.com> PDF backend, PS backend with meta-surfaces Kristian Høgsberg <krh@redhat.com> PDF backend, PS backend with meta-surfaces
Amaury Jacquot <sxpert@esitcom.org> Documentation review, appplication testing Amaury Jacquot <sxpert@esitcom.org> Documentation review, application testing
Adrian Johnson <ajohnson@redneon.com> PDF backend improvement Adrian Johnson <ajohnson@redneon.com> PDF backend improvement
Michael Johnson <ahze@ahze.net> Bug fix for pre-C99 compilers Michael Johnson <ahze@ahze.net> Bug fix for pre-C99 compilers
Jonathon Jongsma <jonathon.jongsma@gmail.com> Fix documentation typos Jonathon Jongsma <jonathon.jongsma@gmail.com> Fix documentation typos
@ -61,7 +61,7 @@ Jordi Mas <jordi@ximian.com> Bug fix for cairo_show_text
Nicholas Miell <nmiell@gmail.com> Fixes for linking bugs on AMD64 Nicholas Miell <nmiell@gmail.com> Fixes for linking bugs on AMD64
Eugeniy Meshcheryakov <eugen@debian.org> PS/PDF font subsetting improvements Eugeniy Meshcheryakov <eugen@debian.org> PS/PDF font subsetting improvements
Zakharov Mikhail <zmey20000@yahoo.com> Build fix for HP-UX Zakharov Mikhail <zmey20000@yahoo.com> Build fix for HP-UX
Christopher (Monty) Montgomery <xiphmont@gmail.com> Performnace fix (subimage_copy), multi-thread testing Christopher (Monty) Montgomery <xiphmont@gmail.com> Performance fix (subimage_copy), multi-thread testing
Tim Mooney <enchanter@users.sourceforge.net> Fix test suite to compile with Solaris compiler Tim Mooney <enchanter@users.sourceforge.net> Fix test suite to compile with Solaris compiler
Jeff Muizelaar <jeff@infidigm.net> Patient, painful, pixman code merge. Many fixes for intricacies of dashing. Jeff Muizelaar <jeff@infidigm.net> Patient, painful, pixman code merge. Many fixes for intricacies of dashing.
Yevgen Muntyan <muntyan@tamu.edu> win32 build fix Yevgen Muntyan <muntyan@tamu.edu> win32 build fix
@ -105,7 +105,7 @@ Sasha Vasko <sasha@aftercode.net> Build fix to compile without xlib backend
Vladimir Vukicevic <vladimir@pobox.com> Quartz backend rewrite, win32/quartz maintenance Vladimir Vukicevic <vladimir@pobox.com> Quartz backend rewrite, win32/quartz maintenance
Jonathan Watt <jwatt@jwatt.org> win32 fixes Jonathan Watt <jwatt@jwatt.org> win32 fixes
Peter Weilbacher <pmw@avila.aip.de> OS/2 backend Peter Weilbacher <pmw@avila.aip.de> OS/2 backend
Dan Williams <dcbw@redhat.com> Implemnt MMX function to help OLPC Dan Williams <dcbw@redhat.com> Implement MMX function to help OLPC
Chris Wilson <chris@chris-wilson.co.uk> Large-scale robustness improvements, (warn_unsed_result and malloc failure injection) Chris Wilson <chris@chris-wilson.co.uk> Large-scale robustness improvements, (warn_unsed_result and malloc failure injection)
Carl Worth <cworth@isi.edu> Original library, support for paths, images Carl Worth <cworth@isi.edu> Original library, support for paths, images
Richard D. Worth <richard@theworths.org> Build fixes for cygwin Richard D. Worth <richard@theworths.org> Build fixes for cygwin

20
NEWS
View file

@ -257,7 +257,7 @@ Bug Fixes
(Bug #105084) (Bug #105084)
* Fix multi-monitor virtual desktop with negative coords on Win32 * Fix multi-monitor virtual desktop with negative coords on Win32
(Bug #100793) (Bug #100793)
* Fix issues occuring with older FreeType versions. * Fix issues occurring with older FreeType versions.
Release 1.15.10 (2017-12-07 Bryce Harrington <bryce@osg.samsung.com>) Release 1.15.10 (2017-12-07 Bryce Harrington <bryce@osg.samsung.com>)
@ -552,7 +552,7 @@ Bug Fixes
* Fix build issue when using non-GNU strings utility. (Bug #88639) * Fix build issue when using non-GNU strings utility. (Bug #88639)
* Fix build of cairo modules as regular modules, not as versioned shared * Fix build of cairo modules as regular modules, not as versioned shared
libaries. (Bug #29319) libraries. (Bug #29319)
* Fix build on win32 using gcc 5.4. * Fix build on win32 using gcc 5.4.
@ -1275,7 +1275,7 @@ reduction in rendering latency by reducing the number of copies
required to upload image data - given hardware and driver support, required to upload image data - given hardware and driver support,
cairo-xlib can now perform zero copy uploads onto the GPU. And as usual cairo-xlib can now perform zero copy uploads onto the GPU. And as usual
Adrian Johnson has been very busy fixing many different corner cases in Adrian Johnson has been very busy fixing many different corner cases in
cairo-pdf, impoving opacity groups and font subsetting. Last, but not cairo-pdf, improving opacity groups and font subsetting. Last, but not
least, for cairo-image Søren Sandmann Pedersen added support for least, for cairo-image Søren Sandmann Pedersen added support for
rendering glyphs to pixman and using that from within cairo. The new rendering glyphs to pixman and using that from within cairo. The new
glyph rendering facility reduces the overhead for setting up the glyph rendering facility reduces the overhead for setting up the
@ -1290,7 +1290,7 @@ Bug fixes
--------- ---------
Interior boxes were being dropped when amalgamating regions during Interior boxes were being dropped when amalgamating regions during
tesselation. tessellation.
https://bugs.freedesktop.org/show_bug.cgi?id=49446 https://bugs.freedesktop.org/show_bug.cgi?id=49446
Allow building without gtk-doc installed Allow building without gtk-doc installed
@ -1310,7 +1310,7 @@ Bug fixes
Upload the whole source for a repeating pattern. Upload the whole source for a repeating pattern.
https://bugs.freedesktop.org/show_bug.cgi?id=51910 https://bugs.freedesktop.org/show_bug.cgi?id=51910
Fix damage tracking to handle continuation chunks corectly and so Fix damage tracking to handle continuation chunks correctly and so
prevent crashes on win32. prevent crashes on win32.
https://bugs.freedesktop.org/show_bug.cgi?id=53384 https://bugs.freedesktop.org/show_bug.cgi?id=53384
@ -1375,7 +1375,7 @@ Bug fixes
Release 1.12.0 (2012-03-23 Chris Wilson <chris@chris-wilson.co.uk>) Release 1.12.0 (2012-03-23 Chris Wilson <chris@chris-wilson.co.uk>)
=================================================================== ===================================================================
It's taken over 18 months, but the wait is finally over. A new cairo release! It's taken over 18 months, but the wait is finally over. A new cairo release!
We are pleased to annouce a new stable release of Cairo that brings many We are pleased to announce a new stable release of Cairo that brings many
new features and performance improvements, all whilst maintaining new features and performance improvements, all whilst maintaining
compatibility with cairo-1.0 and all releases since. We recommend anyone compatibility with cairo-1.0 and all releases since. We recommend anyone
using a previous release of Cairo to upgrade to 1.12.0. using a previous release of Cairo to upgrade to 1.12.0.
@ -2105,7 +2105,7 @@ Long standing bugs fixed:
tessellator has been overhauled and tune, which handles the fallback tessellator has been overhauled and tune, which handles the fallback
for when we are unable to use the new span rasteriser on the stroke for when we are unable to use the new span rasteriser on the stroke
(e.g. when using the current RENDER protocol). The large number of (e.g. when using the current RENDER protocol). The large number of
pixel artefacts that implementing self-intersection elimination pixel artifacts that implementing self-intersection elimination
removes is ample justification for the potential performance removes is ample justification for the potential performance
regression. If you unfortunately do suffer a substantial performance regression. If you unfortunately do suffer a substantial performance
regression in your application, please consider obtaining a regression in your application, please consider obtaining a
@ -5789,7 +5789,7 @@ Release 1.2.6 (2006-11-02 Behdad Esfahbod <behdad@behdad.org>)
This is the third bug fix release in the 1.2 series, coming less than This is the third bug fix release in the 1.2 series, coming less than
two months after the 1.2.4 release made on August 18. two months after the 1.2.4 release made on August 18.
The 1.2.4 release turned out to be a pretty solid one, except for a crasher The 1.2.4 release turned out to be a pretty solid one, except for a crash
bug when forwarding an X connection where the client and the server have bug when forwarding an X connection where the client and the server have
varying byte orders, eg. from a PPC to an i686. Other than that, various varying byte orders, eg. from a PPC to an i686. Other than that, various
other small bugs have been fixed. other small bugs have been fixed.
@ -6099,7 +6099,7 @@ And at least the following bugs have been fixed:
* Do device offset before float->fixed conversion * Do device offset before float->fixed conversion
https://bugzilla.gnome.org/show_bug.cgi?id=332266 https://bugzilla.gnome.org/show_bug.cgi?id=332266
* PS: Fix source surfaces with transformations * PS: Fix source surfaces with transformations
* PS: Fix to not draw BUTT-capped degnerate sub-paths * PS: Fix to not draw BUTT-capped degenerate sub-paths
* PS: Don't walk off end of array when printing "~>" * PS: Don't walk off end of array when printing "~>"
* Fix some memory leaks in the test suite rig * Fix some memory leaks in the test suite rig
* SVG: Fix memory leak when using cairo_mask * SVG: Fix memory leak when using cairo_mask
@ -6692,7 +6692,7 @@ Bug fixes
* Negative dash offsets have been fixed to work correctly. * Negative dash offsets have been fixed to work correctly.
* The stroking of paths with mutiple subpaths has now been fixed to * The stroking of paths with multiple subpaths has now been fixed to
apply caps to all subpaths rather than just the last one. apply caps to all subpaths rather than just the last one.
* Many build fixes for better portability on various systems. * Many build fixes for better portability on various systems.

View file

@ -153,7 +153,7 @@ create_printer_dc (win32_target_closure_t *ptc)
/* The printer device units on win32 are 1 unit == 1 dot and the /* The printer device units on win32 are 1 unit == 1 dot and the
* origin is the start of the printable area. We transform the * origin is the start of the printable area. We transform the
* cordinate space to 1 unit is 1 point as expected by the * coordinate space to 1 unit is 1 point as expected by the
* tests. As the page size is larger than the test surface, the * tests. As the page size is larger than the test surface, the
* origin is translated down so that the each test is drawn at the * origin is translated down so that the each test is drawn at the
* bottom left corner of the page. This is because the bottom left * bottom left corner of the page. This is because the bottom left

View file

@ -6,7 +6,7 @@
# float word ordering can be different from the byte ordering. In a # float word ordering can be different from the byte ordering. In a
# multi-word float context, "big-endian" implies that the word containing # multi-word float context, "big-endian" implies that the word containing
# the sign bit is found in the memory location with the lowest address. # the sign bit is found in the memory location with the lowest address.
# This implemenation was inspired by the AC_C_BIGENDIAN macro in autoconf. # This implementation was inspired by the AC_C_BIGENDIAN macro in autoconf.
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN], AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN],
[AC_CACHE_CHECK(whether float word ordering is bigendian, [AC_CACHE_CHECK(whether float word ordering is bigendian,

View file

@ -24,7 +24,7 @@ MAYBE_C_SPECIFIC_WARN="-Wold-style-definition \
# New -Wno options should be added here # New -Wno options should be added here
# gcc-4.4 and later accept every -Wno- option but may complain later that this # gcc-4.4 and later accept every -Wno- option but may complain later that this
# option is unknow each time another warning happen. # option is unknown each time another warning happens.
# -Wunused-but-set-variable is too noisy at present # -Wunused-but-set-variable is too noisy at present
NO_WARN="unused-but-set-variable" NO_WARN="unused-but-set-variable"

View file

@ -377,7 +377,7 @@ usage (const char *argv0)
" -i iterations; specify the number of iterations per test case\n" " -i iterations; specify the number of iterations per test case\n"
" -l list only; just list selected test case names without executing\n" " -l list only; just list selected test case names without executing\n"
" -r raw; display each time measurement instead of summary statistics\n" " -r raw; display each time measurement instead of summary statistics\n"
" -s sync; only sum the elapsed time of the indiviual operations\n" " -s sync; only sum the elapsed time of the individual operations\n"
" -t tile size; draw to tiled surfaces\n" " -t tile size; draw to tiled surfaces\n"
" -v verbose; in raw mode also show the summaries\n" " -v verbose; in raw mode also show the summaries\n"
" -x exclude; specify a file to read a list of traces to exclude\n" " -x exclude; specify a file to read a list of traces to exclude\n"

View file

@ -300,7 +300,7 @@ _cairo_array_append_multiple (cairo_array_t *array,
* *
* Allocate space at the end of the array for @num_elements additional * Allocate space at the end of the array for @num_elements additional
* elements, providing the address of the new memory chunk in * elements, providing the address of the new memory chunk in
* @elements. This memory will be unitialized, but will be accounted * @elements. This memory will be uninitialized, but will be accounted
* for in the return value of _cairo_array_num_elements(). * for in the return value of _cairo_array_num_elements().
* *
* Return value: %CAIRO_STATUS_SUCCESS if successful or * Return value: %CAIRO_STATUS_SUCCESS if successful or

View file

@ -142,7 +142,7 @@ typedef struct _cairo_cogl_path_fill_meta {
/* A cached path tessellation should be re-usable with different rotations /* A cached path tessellation should be re-usable with different rotations
* and translations but not for different scales. * and translations but not for different scales.
* *
* one idea is to track the diagonal lenghts of a unit rectangle * one idea is to track the diagonal lengths of a unit rectangle
* transformed through the original ctm use to tessellate the geometry * transformed through the original ctm use to tessellate the geometry
* so we can check what the lengths are for any new ctm to know if * so we can check what the lengths are for any new ctm to know if
* this geometry is compatible. * this geometry is compatible.
@ -166,7 +166,7 @@ typedef struct _cairo_cogl_path_stroke_meta {
/* A cached path tessellation should be re-usable with different rotations /* A cached path tessellation should be re-usable with different rotations
* and translations but not for different scales. * and translations but not for different scales.
* *
* one idea is to track the diagonal lenghts of a unit rectangle * one idea is to track the diagonal lengths of a unit rectangle
* transformed through the original ctm use to tessellate the geometry * transformed through the original ctm use to tessellate the geometry
* so we can check what the lengths are for any new ctm to know if * so we can check what the lengths are for any new ctm to know if
* this geometry is compatible. * this geometry is compatible.

View file

@ -523,7 +523,7 @@ _cairo_default_context_get_tolerance (void *abstract_cr)
} }
/* Current tranformation matrix */ /* Current transformation matrix */
static cairo_status_t static cairo_status_t
_cairo_default_context_translate (void *abstract_cr, _cairo_default_context_translate (void *abstract_cr,

View file

@ -2895,7 +2895,7 @@ _cairo_index_to_glyph_name (void *abstract_font,
cairo_ft_scaled_font_t *scaled_font = abstract_font; cairo_ft_scaled_font_t *scaled_font = abstract_font;
cairo_ft_unscaled_font_t *unscaled = scaled_font->unscaled; cairo_ft_unscaled_font_t *unscaled = scaled_font->unscaled;
FT_Face face; FT_Face face;
char buffer[256]; /* PLRM spcifies max name length of 127 */ char buffer[256]; /* PLRM specifies max name length of 127 */
FT_Error error; FT_Error error;
int i; int i;

View file

@ -606,7 +606,7 @@ _cairo_gl_ensure_stencil (cairo_gl_context_t *ctx,
* glLoadIdentity() * glLoadIdentity()
* gluOrtho2D() * gluOrtho2D()
* *
* The calculation for the ortho tranformation was taken from the * The calculation for the ortho transformation was taken from the
* mesa source code. * mesa source code.
*/ */
static void static void

View file

@ -1252,7 +1252,7 @@ _cairo_gl_surface_map_to_image (void *abstract_surface,
return _cairo_image_surface_create_in_error (status); return _cairo_image_surface_create_in_error (status);
} }
/* We must invert the image manualy if we lack GL_MESA_pack_invert */ /* We must invert the image manually if we lack GL_MESA_pack_invert */
if (flipped && ! mesa_invert) { if (flipped && ! mesa_invert) {
uint8_t stack[1024], *row = stack; uint8_t stack[1024], *row = stack;
uint8_t *top = image->data; uint8_t *top = image->data;

View file

@ -204,7 +204,7 @@ _cairo_hash_table_create (cairo_hash_keys_equal_func_t keys_equal)
* _cairo_hash_table_destroy is called. It is a fatal error otherwise, * _cairo_hash_table_destroy is called. It is a fatal error otherwise,
* and this function will halt. The rationale for this behavior is to * and this function will halt. The rationale for this behavior is to
* avoid memory leaks and to avoid needless complication of the API * avoid memory leaks and to avoid needless complication of the API
* with destroy notifiy callbacks. * with destroy notify callbacks.
* *
* WARNING: The hash_table must have no running iterators in it when * WARNING: The hash_table must have no running iterators in it when
* _cairo_hash_table_destroy is called. It is a fatal error otherwise, * _cairo_hash_table_destroy is called. It is a fatal error otherwise,

View file

@ -959,7 +959,7 @@ _cairo_fopen (const char *filename, const char *mode, FILE **file_out)
/* tmpfile() replacement for Windows. /* tmpfile() replacement for Windows.
* *
* On Windows tmpfile() creates the file in the root directory. This * On Windows tmpfile() creates the file in the root directory. This
* may fail due to unsufficient privileges. However, this isn't a * may fail due to insufficient privileges. However, this isn't a
* problem on Windows CE so we don't use it there. * problem on Windows CE so we don't use it there.
*/ */
FILE * FILE *

View file

@ -80,7 +80,7 @@ struct _cairo_paginated_surface_backend {
(*supports_fine_grained_fallbacks) (void *surface); (*supports_fine_grained_fallbacks) (void *surface);
/* Optional. Indicates whether the page requires a thumbnail image to be /* Optional. Indicates whether the page requires a thumbnail image to be
* supplied. If a thumbnail is required, set width, heigh to size required * supplied. If a thumbnail is required, set width, height to size required
* and return TRUE. * and return TRUE.
*/ */
cairo_bool_t cairo_bool_t

View file

@ -780,7 +780,7 @@ static const cairo_surface_backend_t cairo_paginated_surface_backend = {
_cairo_paginated_context_create, _cairo_paginated_context_create,
_cairo_paginated_surface_create_similar, _cairo_paginated_surface_create_similar,
NULL, /* create simlar image */ NULL, /* create siimlar image */
NULL, /* map to image */ NULL, /* map to image */
NULL, /* unmap image */ NULL, /* unmap image */

View file

@ -2331,7 +2331,7 @@ _cairo_radial_pattern_box_to_parameter (const cairo_radial_pattern_t *radial,
maxx = x1 + DBL_EPSILON; maxx = x1 + DBL_EPSILON;
maxy = y1 + DBL_EPSILON; maxy = y1 + DBL_EPSILON;
/* we dont' allow negative radiuses, so we will be checking that /* we don't allow negative radiuses, so we will be checking that
* t*dr >= mindr to consider t valid */ * t*dr >= mindr to consider t valid */
mindr = -(cr + DBL_EPSILON); mindr = -(cr + DBL_EPSILON);
@ -3022,8 +3022,8 @@ _cairo_pattern_alpha_range (const cairo_pattern_t *pattern,
* *
* This function cannot be used while the mesh is being constructed. * This function cannot be used while the mesh is being constructed.
* *
* The function returns TRUE and sets the output parametes to define * The function returns TRUE and sets the output parameters to define
* the coodrinate range if the mesh pattern contains at least one * the coordinate range if the mesh pattern contains at least one
* patch, otherwise it returns FALSE. * patch, otherwise it returns FALSE.
**/ **/
cairo_bool_t cairo_bool_t
@ -4760,7 +4760,7 @@ _cairo_debug_print_pattern (FILE *file, const cairo_pattern_t *pattern)
case CAIRO_FILTER_BEST: s = "best"; break; case CAIRO_FILTER_BEST: s = "best"; break;
case CAIRO_FILTER_NEAREST: s = "nearest"; break; case CAIRO_FILTER_NEAREST: s = "nearest"; break;
case CAIRO_FILTER_BILINEAR: s = "bilinear"; break; case CAIRO_FILTER_BILINEAR: s = "bilinear"; break;
case CAIRO_FILTER_GAUSSIAN: s = "guassian"; break; case CAIRO_FILTER_GAUSSIAN: s = "gaussian"; break;
default: s = "invalid"; ASSERT_NOT_REACHED; break; default: s = "invalid"; ASSERT_NOT_REACHED; break;
} }
fprintf (file, " filter: %s\n", s); fprintf (file, " filter: %s\n", s);

View file

@ -798,7 +798,7 @@ _cairo_pdf_operators_emit_stroke (cairo_pdf_operators_t *pdf_operators,
} }
/* The PDF CTM is transformed to the user space CTM when stroking /* The PDF CTM is transformed to the user space CTM when stroking
* so the corect pen shape will be used. This also requires that * so the correct pen shape will be used. This also requires that
* the path be transformed to user space when emitted. The * the path be transformed to user space when emitted. The
* conversion of path coordinates to user space may cause rounding * conversion of path coordinates to user space may cause rounding
* errors. For example the device space point (1.234, 3.142) when * errors. For example the device space point (1.234, 3.142) when
@ -1326,7 +1326,7 @@ _cairo_pdf_operators_emit_glyph (cairo_pdf_operators_t *pdf_operator
* current position to the next glyph. We also use the Td * current position to the next glyph. We also use the Td
* operator to move the current position if the horizontal * operator to move the current position if the horizontal
* position changes by more than 10 (in text space * position changes by more than 10 (in text space
* units). This is becauses the horizontal glyph positioning * units). This is because the horizontal glyph positioning
* in the TJ operator is intended for kerning and there may be * in the TJ operator is intended for kerning and there may be
* PDF consumers that do not handle very large position * PDF consumers that do not handle very large position
* adjustments in TJ. * adjustments in TJ.

View file

@ -3481,7 +3481,7 @@ _cairo_ps_surface_emit_solid_pattern (cairo_ps_surface_t *surface,
* @source: [in] the source for the form * @source: [in] the source for the form
* @params: [in] source parameters * @params: [in] source parameters
* @test: [in] if TRUE, test if form will be used (excludes size check) * @test: [in] if TRUE, test if form will be used (excludes size check)
* @ps_form [out] the new or exisiting entry int the hash table. * @ps_form [out] the new or existing entry int the hash table.
* image or recording. * image or recording.
*/ */
static cairo_int_status_t static cairo_int_status_t

View file

@ -3825,7 +3825,7 @@ cairo_script_create_for_stream (cairo_write_func_t write_func,
* cairo_script_write_comment: * cairo_script_write_comment:
* @script: the script (output device) * @script: the script (output device)
* @comment: the string to emit * @comment: the string to emit
* @len:the length of the sting to write, or -1 to use strlen() * @len:the length of the string to write, or -1 to use strlen()
* *
* Emit a string verbatim into the script. * Emit a string verbatim into the script.
* *

View file

@ -149,7 +149,7 @@ static attribute_spec_t _ccitt_params_spec[] =
* lly - lower left y xoordinate * lly - lower left y xoordinate
* urx - upper right x xoordinate * urx - upper right x xoordinate
* ury - upper right y xoordinate * ury - upper right y xoordinate
* all cordinates are in PostScript coordinates. * all coordinates are in PostScript coordinates.
*/ */
static attribute_spec_t _eps_params_spec[] = static attribute_spec_t _eps_params_spec[] =
{ {

View file

@ -208,7 +208,7 @@ static void
_cairo_toy_font_face_fini (cairo_toy_font_face_t *font_face) _cairo_toy_font_face_fini (cairo_toy_font_face_t *font_face)
{ {
/* We assert here that we own font_face->family before casting /* We assert here that we own font_face->family before casting
* away the const qualifer. */ * away the const qualifier. */
assert (font_face->owns_family); assert (font_face->owns_family);
free ((char*) font_face->family); free ((char*) font_face->family);
@ -420,7 +420,7 @@ _cairo_font_face_is_toy (cairo_font_face_t *font_face)
* cairo_toy_font_face_get_family: * cairo_toy_font_face_get_family:
* @font_face: A toy font face * @font_face: A toy font face
* *
* Gets the familly name of a toy font. * Gets the family name of a toy font.
* *
* Return value: The family name. This string is owned by the font face * Return value: The family name. This string is owned by the font face
* and remains valid as long as the font face is alive (referenced). * and remains valid as long as the font face is alive (referenced).

View file

@ -284,7 +284,7 @@ _cairo_traps_tessellate_convex_quad (cairo_traps_t *traps,
* cases to tessellate. * cases to tessellate.
* *
* First, we have to determine the Y-axis sort of the four * First, we have to determine the Y-axis sort of the four
* vertices, (either abcd or abdc). After that we need to detemine * vertices, (either abcd or abdc). After that we need to determine
* which edges will be "left" and which will be "right" in the * which edges will be "left" and which will be "right" in the
* resulting trapezoids. This can be determined by computing a * resulting trapezoids. This can be determined by computing a
* slope comparison of ab and ad to determine if b is left of d or * slope comparison of ab and ad to determine if b is left of d or

View file

@ -1522,7 +1522,7 @@ _cairo_surface_release_device_reference (cairo_surface_t *surface);
* visuals. This time we invented #cairo_internal_format_t instead, * visuals. This time we invented #cairo_internal_format_t instead,
* (see it for more discussion). * (see it for more discussion).
* *
* The punchline is that %CAIRO_FORMAT_VALID must not conside any * The punchline is that %CAIRO_FORMAT_VALID must not consider any
* internal format to be valid. Also we need to decide if the * internal format to be valid. Also we need to decide if the
* RGB16_565 should be moved to instead be an internal format. If so, * RGB16_565 should be moved to instead be an internal format. If so,
* this macro need not change for it. (We probably will need to leave * this macro need not change for it. (We probably will need to leave

View file

@ -2041,7 +2041,7 @@ _cairo_win32_printing_surface_start_page (void *abstract_surface)
* coordinates. * coordinates.
* *
* If the device context is an EMF file, using an identity * If the device context is an EMF file, using an identity
* transform often provides insufficent resolution. The workaround * transform often provides insufficient resolution. The workaround
* is to set the GDI CTM to a scale < 1 eg [1.0/16 0 0 1/0/16 0 0] * is to set the GDI CTM to a scale < 1 eg [1.0/16 0 0 1/0/16 0 0]
* and scale the cairo CTM by [16 0 0 16 0 0]. The * and scale the cairo CTM by [16 0 0 16 0 0]. The
* SetWorldTransform function call to scale the GDI CTM by 1.0/16 * SetWorldTransform function call to scale the GDI CTM by 1.0/16

View file

@ -1470,7 +1470,7 @@ UNWIND_STRINGS:
#include <signal.h> #include <signal.h>
#include <setjmp.h> #include <setjmp.h>
/* Used to catch crashes in a test, so that we report it as such and /* Used to catch crashes in a test, so that we report it as such and
* continue testing, although one crasher may already have corrupted memory in * continue testing, although one crash may already have corrupted memory in
* an nonrecoverable fashion. */ * an nonrecoverable fashion. */
static jmp_buf jmpbuf; static jmp_buf jmpbuf;

View file

@ -290,7 +290,7 @@ preamble (cairo_test_context_t *ctx)
return cairo_test_status_from_status (ctx, status); return cairo_test_status_from_status (ctx, status);
} }
/* And test the degnerate case */ /* And test the degenerate case */
CAIRO_CREATE (); CAIRO_CREATE ();
path.num_data = 0; path.num_data = 0;
cairo_append_path (cr, &path); cairo_append_path (cr, &path);

View file

@ -85,6 +85,6 @@ draw (cairo_t *cr, int width, int height)
CAIRO_TEST (degenerate_dash, CAIRO_TEST (degenerate_dash,
"Tests the behaviour of dashed segments that end on a off-on transition", "Tests the behaviour of dashed segments that end on a off-on transition",
"dash, degenerate", /* keywords */ "dash, degenerate", /* keywords */
NULL, /* requirementts */ NULL, /* requirements */
210 + 2*PAD, 210 + 2*PAD, 210 + 2*PAD, 210 + 2*PAD,
NULL, draw) NULL, draw)

View file

@ -139,19 +139,19 @@ fill (cairo_t *cr, int width, int height)
} }
CAIRO_TEST (map_all_to_image, CAIRO_TEST (map_all_to_image,
"Test maping a surface to an image and modifying it externally", "Test mapping a surface to an image and modifying it externally",
"image", /* keywords */ "image", /* keywords */
"target=raster", /* requirements */ "target=raster", /* requirements */
WIDTH, HEIGHT, WIDTH, HEIGHT,
NULL, all) NULL, all)
CAIRO_TEST (map_bit_to_image, CAIRO_TEST (map_bit_to_image,
"Test maping a surface to an image and modifying it externally", "Test mapping a surface to an image and modifying it externally",
"image", /* keywords */ "image", /* keywords */
"target=raster", /* requirements */ "target=raster", /* requirements */
WIDTH, HEIGHT, WIDTH, HEIGHT,
NULL, bit) NULL, bit)
CAIRO_TEST (map_to_image_fill, CAIRO_TEST (map_to_image_fill,
"Test maping a surface to an image and modifying it externally", "Test mapping a surface to an image and modifying it externally",
"image", /* keywords */ "image", /* keywords */
"target=raster", /* requirements */ "target=raster", /* requirements */
WIDTH, HEIGHT, WIDTH, HEIGHT,

View file

@ -67,7 +67,7 @@ draw (cairo_t *cr, int width, int height)
!CAIRO_TEST_DOUBLE_EQUALS(g,0.3) || !CAIRO_TEST_DOUBLE_EQUALS(g,0.3) ||
!CAIRO_TEST_DOUBLE_EQUALS(b,0.4) || !CAIRO_TEST_DOUBLE_EQUALS(b,0.4) ||
!CAIRO_TEST_DOUBLE_EQUALS(a,0.5)) { !CAIRO_TEST_DOUBLE_EQUALS(a,0.5)) {
cairo_test_log (ctx, "Error: cairo_pattern_get_rgba returned unexepcted results: %g, %g, %g, %g\n", cairo_test_log (ctx, "Error: cairo_pattern_get_rgba returned unexpected results: %g, %g, %g, %g\n",
r, g, b, a); r, g, b, a);
cairo_pattern_destroy (pat); cairo_pattern_destroy (pat);
return CAIRO_TEST_FAILURE; return CAIRO_TEST_FAILURE;

View file

@ -1,5 +1,5 @@
/* /*
Comapre Args Compare Args
Copyright (C) 2006 Yangli Hector Yee Copyright (C) 2006 Yangli Hector Yee
This program is free software; you can redistribute it and/or modify it under the terms of the This program is free software; you can redistribute it and/or modify it under the terms of the

View file

@ -1,5 +1,5 @@
/* /*
Comapre Args Compare Args
Copyright (C) 2006 Yangli Hector Yee Copyright (C) 2006 Yangli Hector Yee
This program is free software; you can redistribute it and/or modify it under the terms of the This program is free software; you can redistribute it and/or modify it under the terms of the

View file

@ -87,7 +87,7 @@ test_clip (cairo_t *cr, double width, double height)
cairo_stroke (cr2); cairo_stroke (cr2);
/* Using the first context, draw another black vertical line. /* Using the first context, draw another black vertical line.
* This line should be clipped agaist the bezier clipping path set * This line should be clipped against the bezier clipping path set
* earlier. */ * earlier. */
cairo_set_source_rgb (cr, 0, 0, 0); cairo_set_source_rgb (cr, 0, 0, 0);
cairo_move_to (cr, 400, 0); cairo_move_to (cr, 400, 0);

View file

@ -42,7 +42,7 @@
* *
* 2004-11-04 Carl Worth <cworth@cworth.org> * 2004-11-04 Carl Worth <cworth@cworth.org>
* *
* I trimmed down Ned's example to the folllowing test while still * I trimmed down Ned's example to the following test while still
* maintaining the assertion. * maintaining the assertion.
* *
* Oh, actually, it looks like I may have triggered something * Oh, actually, it looks like I may have triggered something

View file

@ -3,7 +3,7 @@ set -e
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
argv0=`basename $0` argv0=`basename $0`
echo "$argv0: Update source code to the lastest Cairo API" >&2 echo "$argv0: Update source code to the latest Cairo API" >&2
echo "" >&2 echo "" >&2
echo "Usage: $argv0 file [...]" >&2 echo "Usage: $argv0 file [...]" >&2
exit 1 exit 1

View file

@ -153,7 +153,7 @@ _csi_hash_table_init (csi_hash_table_t *hash_table,
* _csi_hash_table_destroy is called. It is a fatal error otherwise, * _csi_hash_table_destroy is called. It is a fatal error otherwise,
* and this function will halt. The rationale for this behavior is to * and this function will halt. The rationale for this behavior is to
* avoid memory leaks and to avoid needless complication of the API * avoid memory leaks and to avoid needless complication of the API
* with destroy notifiy callbacks. * with destroy notify callbacks.
* *
* WARNING: The hash_table must have no running iterators in it when * WARNING: The hash_table must have no running iterators in it when
* _csi_hash_table_destroy is called. It is a fatal error otherwise, * _csi_hash_table_destroy is called. It is a fatal error otherwise,