summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-03 11:24:18 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-03 11:24:18 -0700
commit6cf073c11705cf576c3b7618a32ae121eaf14579 (patch)
tree011d9400229a207f2891709e9d3b82f7fa97cd80
parent0dd423a89305e040ed20a8f449203ef091507790 (diff)
downloadxorg-lib-libXft-6cf073c11705cf576c3b7618a32ae121eaf14579.tar.gz
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README.md2
-rw-r--r--src/xftint.h2
-rw-r--r--src/xftrender.c12
3 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 26edef1..08470d9 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/lib/libXft
diff --git a/src/xftint.h b/src/xftint.h
index ced9a02..a8400de 100644
--- a/src/xftint.h
+++ b/src/xftint.h
@@ -88,7 +88,7 @@ typedef struct _XftGlyph {
} XftGlyph;
/*
- * A hash table translates Unicode values into glyph indicies
+ * A hash table translates Unicode values into glyph indices
*/
typedef struct _XftUcsHash {
FcChar32 ucs4;
diff --git a/src/xftrender.c b/src/xftrender.c
index a352737..8a15ec6 100644
--- a/src/xftrender.c
+++ b/src/xftrender.c
@@ -232,7 +232,7 @@ XftGlyphSpecRender (Display *dpy,
for (i = 0; i < nglyphs; i++)
{
g = glyphs[i].glyph;
- /* Substitute default for non-existant glyphs */
+ /* Substitute default for non-existent glyphs */
if (g >= font->num_glyphs || !font->glyphs[g])
g = 0;
if (font->glyphs[g])
@@ -246,7 +246,7 @@ XftGlyphSpecRender (Display *dpy,
while (++i < nglyphs)
{
g = glyphs[i].glyph;
- /* Substitute default for non-existant glyphs */
+ /* Substitute default for non-existent glyphs */
if (g >= font->num_glyphs || !font->glyphs[g])
g = 0;
/*
@@ -284,7 +284,7 @@ XftGlyphSpecRender (Display *dpy,
for (i = 0; i < nglyphs; i++)
{
g = glyphs[i].glyph;
- /* Substitute default for non-existant glyphs */
+ /* Substitute default for non-existent glyphs */
if (g >= font->num_glyphs || !font->glyphs[g])
g = 0;
if ((glyph = font->glyphs[g]))
@@ -507,7 +507,7 @@ XftGlyphFontSpecRender (Display *dpy,
XftFont *pub = glyphs[i].font;
XftFontInt *font = (XftFontInt *) pub;
g = glyphs[i].glyph;
- /* Substitute default for non-existant glyphs */
+ /* Substitute default for non-existent glyphs */
if (g >= font->num_glyphs || !font->glyphs[g])
g = 0;
if (font->glyphs[g])
@@ -528,7 +528,7 @@ XftGlyphFontSpecRender (Display *dpy,
XftFont *pub = glyphs[i].font;
XftFontInt *font = (XftFontInt *) pub;
g = glyphs[i].glyph;
- /* Substitute default for non-existant glyphs */
+ /* Substitute default for non-existent glyphs */
if (g >= font->num_glyphs || !font->glyphs[g])
g = 0;
/*
@@ -573,7 +573,7 @@ XftGlyphFontSpecRender (Display *dpy,
XftFontInt *font = (XftFontInt *) pub;
g = glyphs[i].glyph;
- /* Substitute default for non-existant glyphs */
+ /* Substitute default for non-existent glyphs */
if (g >= font->num_glyphs || !font->glyphs[g])
g = 0;
if ((glyph = font->glyphs[g]))