[hackers] [st] Patch: XftFontOpenPattern failure

From: Gary Allen Vollink <gary_AT_vollink.com>
Date: Thu, 14 Sep 2017 16:13:16 -0400

---
 x.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/x.c b/x.c
index fbfd350..08a2bc1 100644
--- a/x.c
+++ b/x.c
_AT_@ -1092,6 +1092,9 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs,
const Glyph *glyphs, int len, int x
                        frc[frclen].font = XftFontOpenPattern(xw.dpy,
                                        fontpattern);
+                       if (!frc[frclen].font)
+                               die("XftFontOpenPattern failed seeking
fallback font: %s\n",
+                                               strerror(errno));
                        frc[frclen].flags = frcflags;
                        frc[frclen].unicodep = rune;
--
2.11.0 (Apple Git-81)
Received on Thu Sep 14 2017 - 22:13:16 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 14 2017 - 22:24:52 CEST