rem: if (type == TRUETYPE_FONTTYPE) {
add: if (gfd->just_tt) ok = (type == TRUETYPE_FONTTYPE); else ok = (type != TRUETYPE_FONTTYPE);  if (ok && (type == TRUETYPE_FONTTYPE)) {
context: static int CALLBACK glyph_exists(ENUMLOGFONTW FAR* lpelf, 				 NEWTEXTMETRICW FAR* lpntm, 				 DWORD type, 				 LPARAM _data){  GlyphFindData *gfd = (GlyphFindData *)_data;  if (((lpntm->tmFirstChar <= gfd->c)       && (lpntm->tmLastChar >= gfd->c))) {    /* This font might work...  */    int ok = 1;          if (type == TRUETYPE_FONTTYPE) {      /* Use the unicode bitfield to avoid unnecessary font loading */      DWORD *usb;      int x;      usb = ((NEWTEXTMETRICEXW *)lpntm)->ntmFontSig.fsUsb;      x = get_bitfield(gfd->c); /* in wx_bitfield.inc */      if (!(usb[x >> 5] & (1 << (x & 0x1F))))	ok = 0;    }    if (ok) {      HFONT old, cfont;            cfont = CreateFontIndirectW(&lpelf->elfLogFont);            old = (HFONT)::SelectObject(gfd->hdc, cfont);            ok = glyph_exists_in_selected_font(gfd->hdc, gfd->c);            ::SelectObject(gfd->hdc, old);            DeleteObject(cfont);      if (gfd->face) {	memcpy(gfd->face, lpelf->elfLogFont.lfFaceName, LF_FACESIZE * sizeof(wchar_t));      }            if (ok)	return 0;    }  }  return 1;}