This PR fixes a visual glitch in rendered text that contains more than one white space or line break.
In this cases, the quadBuffer and uvBuffer had an incorrect size due to an incorrect charCount. The charCount was off because only one white space and line break were removed.
This PR fixes a visual glitch in rendered text that contains more than one white space or line break.
In this cases, the
quadBuffer
anduvBuffer
had an incorrect size due to an incorrectcharCount
. ThecharCount
was off because only one white space and line break were removed.This micro PR fixes the text rendering glitch.
Before:
After: