commit | 2bffd268f135df8308c9e67af110525a5c463424 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Sun Sep 12 17:40:02 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Sun Sep 12 17:59:13 2010 -0700 |
tree | 4af48402f57aeb87e7d9765c5b739825af3fcb70 | |
parent | eb851c4ecf38e3e2935fcf81c75c2ceadc2728e1 [diff] [blame] |
Fix text rendering issue with text scaling. Change-Id: I1f3ae40025697e8f8ca0616ee6550fe215cadcc8
diff --git a/libs/hwui/FontRenderer.h b/libs/hwui/FontRenderer.h index a03ea92..de5c019 100644 --- a/libs/hwui/FontRenderer.h +++ b/libs/hwui/FontRenderer.h
@@ -94,6 +94,9 @@ // Values below contain a glyph's origin in the bitmap int32_t mBitmapLeft; int32_t mBitmapTop; + // Auto-kerning + SkFixed mLsbDelta; + SkFixed mRsbDelta; }; Font(FontRenderer* state, uint32_t fontId, float fontSize);