Before freetype2 use to iterate through the font's glyphs diretly.
This commit is contained in:
parent
c483649e20
commit
9ab064126f
3 changed files with 7 additions and 2 deletions
|
@ -13,6 +13,8 @@
|
|||
#include <locale>
|
||||
#include <codecvt>
|
||||
#include <vector>
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
using namespace fmt;
|
||||
using namespace ftxui;
|
||||
|
@ -55,7 +57,7 @@ struct FontGrid {
|
|||
try {
|
||||
return $converter.to_bytes(input);
|
||||
} catch(...) {
|
||||
return "?";
|
||||
return $converter.to_bytes(L"?");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue