diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2012-01-05 15:18:52 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-01-05 15:18:52 -0800 |
commit | d4a69b4a1cb5b52035345abd8cb9595ae4cf9fa5 (patch) | |
tree | 37611fad9b9cde629eac0f20ceb7684cddf47f0b /libs/hwui/DisplayListRenderer.cpp | |
parent | a4ad2928eb47974e922191dd008dfa98e3711ca0 (diff) | |
parent | c511bee87cda99a252d1a62487f47c8f05aee78c (diff) | |
download | frameworks_base-d4a69b4a1cb5b52035345abd8cb9595ae4cf9fa5.zip frameworks_base-d4a69b4a1cb5b52035345abd8cb9595ae4cf9fa5.tar.gz frameworks_base-d4a69b4a1cb5b52035345abd8cb9595ae4cf9fa5.tar.bz2 |
Merge "Fix bug #5753006 Garbled Labels in Maps"
Diffstat (limited to 'libs/hwui/DisplayListRenderer.cpp')
-rw-r--r-- | libs/hwui/DisplayListRenderer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp index b8ba23d..656a384 100644 --- a/libs/hwui/DisplayListRenderer.cpp +++ b/libs/hwui/DisplayListRenderer.cpp @@ -1210,10 +1210,8 @@ void DisplayListRenderer::drawText(const char* text, int bytesCount, int count, // see if it matters. // If we make a copy, then drawTextDecorations() should *not* make // its own copy as it does right now. + // Beware: this needs Glyph encoding (already done on the Paint constructor) paint->setAntiAlias(true); -#if RENDER_TEXT_AS_GLYPHS - paint->setTextEncoding(SkPaint::kGlyphID_TextEncoding); -#endif addPaint(paint); addFloat(length < 0.0f ? paint->measureText(text, bytesCount) : length); } |