Fixed additional typos
Went through the source with VNNCC to correct as many found typos as possible Co-Authored-By: VNC <52937757+VNNCC@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ Font::~Font()
|
||||
|
||||
void Font::GetCharacter(Char c, FontCharacterEntry& result)
|
||||
{
|
||||
// Try get character or cache it if cannot find
|
||||
// Try to get the character or cache it if cannot be found
|
||||
if (!_characters.TryGet(c, result))
|
||||
{
|
||||
// This thread race condition may happen in editor but in game we usually do all stuff with fonts on main thread (chars caching)
|
||||
|
||||
@@ -214,7 +214,7 @@ bool FontManager::AddNewEntry(Font* font, Char c, FontCharacterEntry& entry)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Copy glyph data after rasterize (row by row)
|
||||
// Copy glyph data after rasterization (row by row)
|
||||
for (int32 row = 0; row < glyphHeight; row++)
|
||||
{
|
||||
Platform::MemoryCopy(&GlyphImageData[row * glyphWidth], &bitmap->buffer[row * bitmap->pitch], glyphWidth);
|
||||
|
||||
Reference in New Issue
Block a user