From 51b0f9ed188811d70f54ebfa527706d8fc346184 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 27 Sep 2014 17:42:16 +0000 Subject: Update to libXfont 1.5.0 Tested together with xserver 1.16.1 by naddy@, jsg@ & kettenis@ --- lib/libXfont/src/bitmap/bitmap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libXfont/src/bitmap/bitmap.c') diff --git a/lib/libXfont/src/bitmap/bitmap.c b/lib/libXfont/src/bitmap/bitmap.c index 9b20fafe9..0a379eb08 100644 --- a/lib/libXfont/src/bitmap/bitmap.c +++ b/lib/libXfont/src/bitmap/bitmap.c @@ -63,8 +63,12 @@ bitmapGetGlyphs(FontPtr pFont, unsigned long count, unsigned char *chars, case Linear8Bit: case TwoD8Bit: - if (pFont->info.firstRow > 0) + if (pFont->info.firstRow > 0) { + if (pDefault) + while (count--) + *glyphs++ = pDefault; break; + } if (pFont->info.allExist && pDefault) { while (count--) { c = (*chars++) - firstCol; -- cgit v1.2.3