Clean text rendering in editor.
This commit is contained in:
parent
290b64e230
commit
f16dd7c0d9
45 changed files with 59 additions and 60 deletions
|
@ -29,9 +29,9 @@ IFontEngine* FontsManager::getFontEngine() const
|
|||
return mFontEngine.get();
|
||||
}
|
||||
|
||||
FontGlyph* FontsManager::getGlyph(const std::string& fontFace, int size, char c)
|
||||
FontGlyph* FontsManager::getGlyph(const std::string& fontFace, int size, uint32_t c)
|
||||
{
|
||||
auto path = std::filesystem::path("truetype/msttcorefonts/arial.ttf");
|
||||
auto path = std::filesystem::path("truetype/liberation/LiberationSans-Regular.ttf");
|
||||
|
||||
mFontEngine->loadFontFace(path, size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue