mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Added basic kerning support for TrueType and BMFont fonts (resolves issue #1055.)
This commit is contained in:
@@ -95,5 +95,10 @@ bool Rasterizer::hasGlyphs(const std::string &text) const
|
||||
return true;
|
||||
}
|
||||
|
||||
float Rasterizer::getKerning(uint32 /*leftglyph*/, uint32 /*rightglyph*/) const
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
} // font
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user