fix issue that output of glyph pixel is wrong
This commit is contained in:
parent
419d615505
commit
78a6ad6344
@ -385,10 +385,10 @@ namespace nana
|
|||||||
if('\t' != *p)
|
if('\t' != *p)
|
||||||
{
|
{
|
||||||
::XftGlyphExtents(disp_, xft, glyph_indexes, 1, &extent);
|
::XftGlyphExtents(disp_, xft, glyph_indexes, 1, &extent);
|
||||||
*pxbuf = extent.xOff;
|
*pxbuf++ = extent.xOff;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
*pxbuf = 0;//tab_pixels_;
|
*pxbuf++ = 0;//tab_pixels_;
|
||||||
|
|
||||||
++glyph_indexes;
|
++glyph_indexes;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user