OSDN Git Service

Fix sans-serif-thin and sans-serif-light fonts in layoutlib.
authorDeepanshu Gupta <deepanshu@google.com>
Wed, 19 Feb 2014 18:53:27 +0000 (10:53 -0800)
committerDeepanshu Gupta <deepanshu@google.com>
Wed, 19 Feb 2014 18:53:27 +0000 (10:53 -0800)
commite327212adde1136807bbdf052e8cc3861f8a6aba
tree97558ceaecfff5d08db84aae1211aca00a948cb8
parent5441745effb885589c03050b59885e8a3ad96ad6
Fix sans-serif-thin and sans-serif-light fonts in layoutlib.

For these font families, text was always rendered as italic. This
changeset fixes the issue.

Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java