it->c = FETCH_CHAR (pos_byte);
}
- args[3] = font_at (it->c, this_pos, face, it->w, it->string);
+ args[3] = it->window;
}
else
#endif /* USE_FONT_BACKEND */
->key_and_value,
cmp->hash_index * 2);
- it->c = XINT (LGLYPH_CHAR (LGSTRING_GLYPH (lgstring, 0)));
+ it->c = LGLYPH_CHAR (LGSTRING_GLYPH (lgstring, 0));
}
else
#endif /* USE_FONT_BACKEND */
Lisp_Object g = LGSTRING_GLYPH (gstring, i);
unsigned code;
XChar2b * store_pos;
- if (NILP (LGLYPH_FROM (g)))
+ if (NILP (g))
break;
- code = XUINT (LGLYPH_CODE (g));
+ code = LGLYPH_CODE (g);
store_pos = s->char2b + i;
STORE_XCHAR2B (store_pos, code >> 8, code & 0xFF);
}
if (cmp->method == COMPOSITION_WITH_GLYPH_STRING)
{
if (! cmp->font || cmp->font != font)
- font_prepare_composition (cmp);
+ font_prepare_composition (cmp, it->f);
}
else
#endif /* USE_FONT_BACKEND */