OSDN Git Service

Enable elegant text metrics in Quantum theme
authorRaph Levien <raph@google.com>
Mon, 14 Apr 2014 21:38:51 +0000 (14:38 -0700)
committerRaph Levien <raph@google.com>
Thu, 17 Apr 2014 18:16:56 +0000 (11:16 -0700)
This changes the default quantum theme to use elegant text metrics,
which make use of a bit of extra vertical space to better render complex
scripts. It depends on the new elegantMetrics text attribute being
available.

Change-Id: Ia693f5129057fe8b9a633609c72eef388b988fea

core/res/res/values/styles_quantum.xml

index 595dc79..54103a5 100644 (file)
@@ -97,6 +97,7 @@ please see styles_device_defaults.xml.
         <item name="textColorLink">?textColorLink</item>
         <item name="textSize">@dimen/text_size_body_1_quantum</item>
         <item name="fontFamily">@string/font_family_body_1_quantum</item>
+        <item name="elegantTextHeight">true</item>
     </style>
 
     <style name="TextAppearance.Quantum.Display4">