This implies that font.getTypefaceOrDefault(); is returning the
fallback empty SkTypeface (which has no glyphs and draws nothing).
Your build of Skia needs to contain some means of creating SkTypefaces
from data (generally by building the proper SkFontMgr implementations
and using them). In general SkFont::getTypefaceOrDefault and
SkCanvas::drawSimpleText are both "toy" APIs. They are interesting to
get something working quickly, but should not be used in any serious
application. It is best to avoid use of a default SkFontMgr and
drawSimpleText does no text shaping (only works as expected with
simple fonts without any shaping information and does no font
fallback).
> --
> You received this message because you are subscribed to the Google Groups "skia-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
skia-discuss...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/skia-discuss/ec3dcd94-b613-46c8-b99a-3669770a6544n%40googlegroups.com.