[cairo] PATCH cairo-www: Some spelling, grammar & markup fixes
Bryce Harrington
bryce at osg.samsung.com
Wed Aug 26 22:27:59 PDT 2015
On Sat, Aug 15, 2015 at 10:05:15AM +1200, Lawrence D'Oliveiro wrote:
> Found some things that could be better rephrased, including a small
> markup error.
Hi Lawrence,
Looks good, thanks again!
Sorry didn't get to it earlier, I was at plumbers' last week.
Bryce
> commit 4516ae462e1d5974935ae4888259599539443eb4
> Author: Lawrence D'Oliveiro <ldo at geek-central.gen.nz>
> Date: Fri Aug 14 03:06:23 2015 +0000
>
> some grammar, spellling and markup fixes
>
> diff --git a/src/FAQ.mdwn b/src/FAQ.mdwn
> index f2b7e9e..bc9e6ef 100644
> --- a/src/FAQ.mdwn
> +++ b/src/FAQ.mdwn
> @@ -112,7 +112,7 @@ of blending:
> cairo_paint (cr);
>
> Of course, you won't want to forget to set the default
> -`CAIRO_OPERATOR_OVER` again when you're finished. And of course, the
> +`CAIRO_OPERATOR_OVER` again when you're finished. And the
> most convenient habit for doing that is to just use
> `cairo_save`/`cairo_restore` around the whole block:
>
> diff --git a/src/documentation/using_the_postscript_surface.mdwn b/src/documentation/using_the_postscript_surface.mdwn
> index 68c97e8..eb41990 100644
> --- a/src/documentation/using_the_postscript_surface.mdwn
> +++ b/src/documentation/using_the_postscript_surface.mdwn
> @@ -24,7 +24,7 @@ Page size can be changed for each page using cairo\_ps\_surface\_set\_size ().
>
> By default cairo will emit Language Level 3 PostScript. The cairo\_ps\_surface\_restrict\_to\_level () function may be used to limit the Language Level used.
>
> -The benefit of using language level 3 is support for additional features such as gradient patterns. However Language Level 2 printers can not print PostScript containing Language Level 3 features.
> +The benefit of using language level 3 is support for additional features such as gradient patterns. However Language Level 2 printers cannot print PostScript containing Language Level 3 features.
>
> Note that when when Language Level 3 is permitted the, "LanguageLevel" DSC comment in the output may still indicate 2 if no level 3 features are used.
>
> @@ -143,7 +143,7 @@ Fonts are always subsetted and embedded.
>
> #Fallback images
>
> -Cairo will ensure that the PostScript output looks the same as the image surface for the same set of cairo commands. When cairo drawing operations are performed that can not be natively represented in PostScript, the drawing is rasterized and embedded in the output.
> +Cairo will ensure that the PostScript output looks the same as the image surface for the same set of cairo commands. When cairo drawing operations are performed that cannot be natively represented in PostScript, the drawing is rasterized and embedded in the output.
>
> Since cairo 1.6 the rasterization of unsupported operations is limited to the smallest rectangle or set of rectangles required to draw the unsupported operations.
>
> diff --git a/src/emboss.mdwn b/src/emboss.mdwn
> index 7236ea9..0face4f 100644
> --- a/src/emboss.mdwn
> +++ b/src/emboss.mdwn
> @@ -21,7 +21,7 @@ This sample shows how to apply an emboss effect to a cairo A8 image surface.
> #define WIDTH_45 1
>
> /* This function will use an exisiting surface's data and create and NEW surface copy
> - // of that data which has the emboss lighting algorightm applied to it. */
> + // of that data which has the emboss lighting algorithm applied to it. */
> static cairo_surface_t* _create_embossed_surface_from_surface(
> cairo_surface_t* surface,
> double azimuth,
> diff --git a/src/examples.mdwn b/src/examples.mdwn
> index cec56e5..609aa5c 100644
> --- a/src/examples.mdwn
> +++ b/src/examples.mdwn
> @@ -212,7 +212,7 @@ small Cairo C__ in FLTK1 example of animation along spline paths.
> * Nicola Fontana is working on [ADG][68] (link broken?), a non-interactive cairo canvas
>
> * Juan Manuel Mouriz also is working on [sanaviron][72], a 2D drawing engine
> - fully written in Python for represent composite vector graphics. This
> + fully written in Python to represent composite vector graphics. This
> is essentially a GTK+ Cairo based canvas.
>
> * [ProjectRidley][75] was another attempt at a canvas, and includes a
> diff --git a/src/pyrsvg.mdwn b/src/pyrsvg.mdwn
> index cf2a081..e9dd1fe 100644
> --- a/src/pyrsvg.mdwn
> +++ b/src/pyrsvg.mdwn
> @@ -6,7 +6,7 @@ I had to upgrade my O/S (to Gnu/Linux Kubuntu 7.10) in order to get the latest P
>
> The first demo is directly from the example I found on my drive.
>
> -(*) You can find this demo in /usr/share/doc/python-gnome2-desktop/examples/rsvg on *buntu Gutsy 7.10
> +(*) You can find this demo in /usr/share/doc/python-gnome2-desktop/examples/rsvg on \*buntu Gutsy 7.10
>
> #!/usr/bin/env python
>
> @@ -105,7 +105,7 @@ You can use 'svgdisplay' (if you have the binary), Inkscape, Firefox or the firs
>
> ##A feedback loop
>
> -What happens when you feed the snake it's tail?
> +What happens when you feed the snake its tail?
>
> import cairo
> import rsvg
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
More information about the cairo
mailing list