ImFont: Cleanup to be compatible with over-sampling (not enabled)

This commit is contained in:
ocornut
2015-07-14 12:41:02 -06:00
parent fc6545830b
commit c02f9b58ef
2 changed files with 17 additions and 16 deletions

View File

@ -1184,8 +1184,8 @@ struct ImFont
struct Glyph
{
ImWchar Codepoint;
signed short XAdvance;
signed short X0, Y0, X1, Y1;
float XAdvance;
float X0, Y0, X1, Y1;
float U0, V0, U1, V1; // Texture coordinates
};
float Ascent; // Distance from top to bottom of e.g. 'A' [0..FontSize]