OSDN Git Service

Introduce new public API for specifying exact weight.
authorSeigo Nonaka <nona@google.com>
Mon, 31 Jul 2017 22:09:37 +0000 (15:09 -0700)
committerSeigo Nonaka <nona@google.com>
Tue, 1 Aug 2017 02:04:18 +0000 (02:04 +0000)
commit762dc8bdaec8a3ac32874f6aaa67e2063439445f
treee0d577d0d4119286c49e97898a38a789a69ba201
parente3abb1fff169c64e6d88b4865d0c725a149802f1
Introduce new public API for specifying exact weight.

Adding Typeface.create(Tyepface, int weight, boolean italic).
This API is a most primitive API for specifying exact weight value
for drawing text.

Test: CtsGraphicsTestCases:android.graphics.cts.TypefaceTest
Bug: 63135308
Change-Id: I5766870f68026fd1b13815e794f5df243cd8c912
api/current.txt
api/system-current.txt
api/test-current.txt
graphics/java/android/graphics/Typeface.java