summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-01-10 01:10:28 +0100
committerSebastian Rasmussen <sebras@gmail.com>2012-01-10 01:10:28 +0100
commit7d920025a2eaca1ec879d2e78b46576ca3351cc9 (patch)
treee13ad7288976df91e4f40285f9401a148ce4ddd7 /draw
parent6de45df10e024813ad7c62f31394f86fbcb364a7 (diff)
downloadmupdf-7d920025a2eaca1ec879d2e78b46576ca3351cc9.tar.xz
Fix many spelling errors.
Diffstat (limited to 'draw')
-rw-r--r--draw/draw_device.c2
-rw-r--r--draw/draw_edge.c2
-rw-r--r--draw/draw_scale.c4
-rw-r--r--draw/draw_simple_scale.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c
index 6b1710d6..f07ad681 100644
--- a/draw/draw_device.c
+++ b/draw/draw_device.c
@@ -1109,7 +1109,7 @@ fz_draw_pop_clip(fz_device *devp)
if (dev->top == 0)
{
- fz_warn(ctx, "Unexpectd pop clip");
+ fz_warn(ctx, "Unexpected pop clip");
return;
}
state = &dev->stack[--dev->top];
diff --git a/draw/draw_edge.c b/draw/draw_edge.c
index 2cc6ddbe..adb460ac 100644
--- a/draw/draw_edge.c
+++ b/draw/draw_edge.c
@@ -135,7 +135,7 @@ fz_set_aa_level(fz_context *ctx, int level)
/*
* Global Edge List -- list of straight path segments for scan conversion
*
- * Stepping along the edges is with bresenham's line algorithm.
+ * Stepping along the edges is with Bresenham's line algorithm.
*
* See Mike Abrash -- Graphics Programming Black Book (notably chapter 40)
*/
diff --git a/draw/draw_scale.c b/draw/draw_scale.c
index 578a1d1e..e478633c 100644
--- a/draw/draw_scale.c
+++ b/draw/draw_scale.c
@@ -11,7 +11,7 @@ and then positioning it at (frac(x),frac(y)).
/* Do we special case handling of single pixel high/wide images? The
* 'purest' handling is given by not special casing them, but certain
* files that use such images 'stack' them to give full images. Not
- * special casing them results in then being fainter and giving noticable
+ * special casing them results in then being fainter and giving noticeable
* rounding errors.
*/
#define SINGLE_PIXEL_SPECIALS
@@ -1233,7 +1233,7 @@ fz_scale_pixmap(fz_context *ctx, fz_pixmap *src, float x, float y, float w, floa
* When scaling vertically, we always store out forwards, but may
* feed source rows in in a different order.
*
- * Consider the image rectange 'r' to which the image is mapped,
+ * Consider the image rectangle 'r' to which the image is mapped,
* and the (possibly) larger rectangle 'R', given by expanding 'r' to
* complete pixels.
*
diff --git a/draw/draw_simple_scale.c b/draw/draw_simple_scale.c
index 6c8e451d..178b182f 100644
--- a/draw/draw_simple_scale.c
+++ b/draw/draw_simple_scale.c
@@ -15,7 +15,7 @@ intermediate results rather than ints.
/* Do we special case handling of single pixel high/wide images? The
* 'purest' handling is given by not special casing them, but certain
* files that use such images 'stack' them to give full images. Not
- * special casing them results in then being fainter and giving noticable
+ * special casing them results in then being fainter and giving noticeable
* rounding errors.
*/
#define SINGLE_PIXEL_SPECIALS
@@ -1195,7 +1195,7 @@ fz_scale_pixmap(fz_context *ctx, fz_pixmap *src, float x, float y, float w, floa
* When scaling vertically, we always store out forwards, but may
* feed source rows in in a different order.
*
- * Consider the image rectange 'r' to which the image is mapped,
+ * Consider the image rectangle 'r' to which the image is mapped,
* and the (possibly) larger rectangle 'R', given by expanding 'r' to
* complete pixels.
*