summaryrefslogtreecommitdiff
path: root/src/FreeType
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/FreeType
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/FreeType')
-rw-r--r--src/FreeType/ftfuncs.c6
-rw-r--r--src/FreeType/xttcap.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/FreeType/ftfuncs.c b/src/FreeType/ftfuncs.c
index e98f920..0d529a8 100644
--- a/src/FreeType/ftfuncs.c
+++ b/src/FreeType/ftfuncs.c
@@ -94,7 +94,7 @@ static CharInfoRec noSuchChar = { /* metrics */{0,0,0,0,0,0},
/* bits */ NULL };
#endif
-/* The propery names for all the XLFD properties. */
+/* The property names for all the XLFD properties. */
static const char *xlfd_props[] = {
"FOUNDRY",
@@ -1562,7 +1562,7 @@ FreeTypeUnloadXFont(FontPtr pFont)
/* Add the font properties, including the Font name, the XLFD
properties, some strings from the font, and various typographical
data. We only provide data readily available in the tables in the
- font for now, altough FIGURE_WIDTH would be a good idea as it is
+ font for now, although FIGURE_WIDTH would be a good idea as it is
used by Xaw. */
static int
@@ -2413,7 +2413,7 @@ FreeTypeSetUpTTCap( char *fileName, FontScalablePtr vals,
goto quit;
}
}
- /* doube striking */
+ /* double striking */
if (SPropRecValList_search_record(&listPropRecVal,
&contRecValue,
"DoubleStrike")) {
diff --git a/src/FreeType/xttcap.c b/src/FreeType/xttcap.c
index f54f76c..f1c3cf0 100644
--- a/src/FreeType/xttcap.c
+++ b/src/FreeType/xttcap.c
@@ -393,7 +393,7 @@ get_one_line(FILE *is, char *buf)
/* End of Line */
break;
if (isspace(c)) {
- /* convine multiple spaces */
+ /* combine multiple spaces */
if (!flHead)
/* except space at the head of line */
flSpace = True;