Change scaling of antialiased perspective text in dftext to help glitches.

Bug: skia:
Change-Id: I499c04949ddd957404cda6b34ab0073b539f6dd3
Reviewed-on: https://skia-review.googlesource.com/133582
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
This commit is contained in:
Jim Van Verth 2018-06-12 12:46:54 -04:00 committed by Skia Commit-Bot
parent 4f6ba2e522
commit d2b5084d97

View File

@ -191,8 +191,7 @@ protected:
0.0002352f, -0.0003844f, 1);
canvas->concat(persp);
canvas->translate(1100, -295);
canvas->scale(375, 375);
paint.setTextSize(0.1f);
paint.setTextSize(37.5f);
canvas->drawText(text, textLen, 0, 0, paint);
}
{