Displaying text works on emscripten version
This commit is contained in:
parent
cdbff3c043
commit
b8fb00e218
6 changed files with 38 additions and 15 deletions
|
|
@ -10,7 +10,8 @@ using namespace Eigen;
|
|||
|
||||
struct FontData {
|
||||
FontData();
|
||||
sk_sp<SkFontMgr> mgr;
|
||||
sk_sp<SkFontMgr> defaultFontMgr;
|
||||
sk_sp<SkFontMgr> localFontMgr;
|
||||
sk_sp<skia::textlayout::FontCollection> collection;
|
||||
std::unordered_map<std::string, sk_sp<SkTypeface>> map;
|
||||
~FontData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue