Fixed glyphs sometimes not shown with high font sizes
This commit is contained in:
parent
3c317cab9b
commit
5207930169
@ -535,7 +535,7 @@ IntRect Font::findGlyphRect(Page& page, unsigned int width, unsigned int height)
|
|||||||
if (!row)
|
if (!row)
|
||||||
{
|
{
|
||||||
int rowHeight = height + height / 10;
|
int rowHeight = height + height / 10;
|
||||||
if (page.nextRow + rowHeight >= page.texture.getSize().y)
|
while (page.nextRow + rowHeight >= page.texture.getSize().y)
|
||||||
{
|
{
|
||||||
// Not enough space: resize the texture if possible
|
// Not enough space: resize the texture if possible
|
||||||
unsigned int textureWidth = page.texture.getSize().x;
|
unsigned int textureWidth = page.texture.getSize().x;
|
||||||
|
Loading…
Reference in New Issue
Block a user