= mfont__encode_char (frame, (MFont *) rfont, NULL, ' ');
if (work_gstring.glyphs[0].g.code != MCHAR_INVALID_CODE)
{
+ work_gstring.glyphs[0].g.measured = 0;
mfont__get_metric (&work_gstring, 0, 1);
rface->space_width = work_gstring.glyphs[0].g.xadv;
}
{
work_gstring.glyphs[0].g.code
= mfont__encode_char (frame, (MFont *) rfont, NULL, 'x');
- work_gstring.glyphs[0].g.encoded = 1;
- work_gstring.glyphs[0].g.measured = 0;
if (work_gstring.glyphs[0].g.code != MCHAR_INVALID_CODE)
{
+ work_gstring.glyphs[0].g.measured = 0;
mfont__get_metric (&work_gstring, 0, 1);
rface->average_width = work_gstring.glyphs[0].g.xadv;
}