Fixed formating mistake
This commit is contained in:
parent
84e0a25e04
commit
e7ae462c82
@ -397,7 +397,7 @@ float Font::getKerning(Uint32 first, Uint32 second, unsigned int characterSize,
|
|||||||
// Get the kerning vector
|
// Get the kerning vector
|
||||||
FT_Vector kerning;
|
FT_Vector kerning;
|
||||||
kerning.x = kerning.y = 0;
|
kerning.x = kerning.y = 0;
|
||||||
if( FT_HAS_KERNING(face))
|
if (FT_HAS_KERNING(face))
|
||||||
FT_Get_Kerning(face, index1, index2, FT_KERNING_UNFITTED, &kerning);
|
FT_Get_Kerning(face, index1, index2, FT_KERNING_UNFITTED, &kerning);
|
||||||
|
|
||||||
// X advance is already in pixels for bitmap fonts
|
// X advance is already in pixels for bitmap fonts
|
||||||
|
Loading…
Reference in New Issue
Block a user