mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Scintilla: Fixed char advance.
This commit is contained in:
@@ -217,12 +217,7 @@ public:
|
||||
|
||||
while (_len--)
|
||||
{
|
||||
int advance;
|
||||
|
||||
const ImFont::Glyph* glyph = imFont->FindGlyph( (unsigned short)*_str++);
|
||||
advance = glyph->XAdvance;
|
||||
|
||||
position += advance;
|
||||
position += imFont->GetCharAdvance( (unsigned short)*_str++);
|
||||
*_positions++ = position;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user