if (charmap_index >= 0)
index = FT_Get_Char_Index (face, (FT_ULong) index);
- if (! bitmap[index].pixmap)
- create_pixmap (index);
- XtSetArg (arg[0], XtNbitmap, bitmap[index].pixmap);
+ if (! index)
+ XtSetArg (arg[0], XtNbitmap, none_pixmap);
+ else
+ {
+ if (! bitmap[index].pixmap)
+ create_pixmap (index);
+ XtSetArg (arg[0], XtNbitmap, bitmap[index].pixmap);
+ }
XtSetValues (glyph[i], arg, 1);
}