fix issue that output of glyph pixel is wrong

This commit is contained in:
Jinhao 2020-03-27 07:35:58 +08:00
parent 419d615505
commit 78a6ad6344

View File

@ -385,10 +385,10 @@ namespace nana
if('\t' != *p)
{
::XftGlyphExtents(disp_, xft, glyph_indexes, 1, &extent);
*pxbuf = extent.xOff;
*pxbuf++ = extent.xOff;
}
else
*pxbuf = 0;//tab_pixels_;
*pxbuf++ = 0;//tab_pixels_;
++glyph_indexes;
}