gm missed portable text in textblobshader
TBR=reed@google.com Review URL: https://codereview.chromium.org/1263593004
This commit is contained in:
parent
d12e6ffa5c
commit
efa1ece07e
@ -20,6 +20,7 @@ class TextBlobShaderGM : public skiagm::GM {
|
||||
public:
|
||||
TextBlobShaderGM(const char* txt) {
|
||||
SkPaint p;
|
||||
sk_tool_utils::set_portable_typeface(&p);
|
||||
size_t txtLen = strlen(txt);
|
||||
fGlyphs.append(p.textToGlyphs(txt, txtLen, NULL));
|
||||
p.textToGlyphs(txt, txtLen, fGlyphs.begin());
|
||||
|
Loading…
Reference in New Issue
Block a user