summaryrefslogtreecommitdiff
path: root/src/bitmap
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-06 14:37:42 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-06 14:37:42 -0700
commit12bed78985af1da2d1f4954a3491ee497a878b23 (patch)
tree3d957e572b0a559a9c278292f8ffb3932ae87b24 /src/bitmap
parentf83ea5e953c6904578a458e2c2bc2e1d5ae3cb47 (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/bitmap')
-rw-r--r--src/bitmap/bdfread.c4
-rw-r--r--src/bitmap/pcfread.c2
-rw-r--r--src/bitmap/snfstr.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bitmap/bdfread.c b/src/bitmap/bdfread.c
index f4340b9..a9f353a 100644
--- a/src/bitmap/bdfread.c
+++ b/src/bitmap/bdfread.c
@@ -677,7 +677,7 @@ bdfReadProperties(FontFilePtr file, FontPtr pFont, bdfFileState *pState)
case 2:
/*
- * Possibilites include: valid quoted string with no white space
+ * Possibilities include: valid quoted string with no white space
* valid integer value invalid value
*/
if (secondbuf[0] == '"') {
@@ -698,7 +698,7 @@ bdfReadProperties(FontFilePtr file, FontPtr pFont, bdfFileState *pState)
case 3:
/*
- * Possibilites include: valid quoted string with some white space
+ * Possibilities include: valid quoted string with some white space
* invalid value (reject even if second string is integer)
*/
if (secondbuf[0] == '"') {
diff --git a/src/bitmap/pcfread.c b/src/bitmap/pcfread.c
index bf64d6f..882318b 100644
--- a/src/bitmap/pcfread.c
+++ b/src/bitmap/pcfread.c
@@ -197,7 +197,7 @@ pcfGetCompressedMetric(FontFilePtr file, CARD32 format, xCharInfo *metric)
}
/*
- * Position the file to the begining of the specified table
+ * Position the file to the beginning of the specified table
* in the font file
*/
static Bool
diff --git a/src/bitmap/snfstr.h b/src/bitmap/snfstr.h
index 8f39ded..83eb428 100644
--- a/src/bitmap/snfstr.h
+++ b/src/bitmap/snfstr.h
@@ -67,7 +67,7 @@ from The Open Group.
* 1) The XFONTINFO structure
* hand-padded to a two-short boundary.
* maxbounds.byteoffset is the total number of bytes in the
- * glpyh array
+ * glyph array
* maxbounds.bitOffset is thetotal width of the unpadded font
*
* 2) The XCHARINFO array