diff options
| author | 2018-11-08 20:50:25 -0800 | |
|---|---|---|
| committer | 2018-11-09 17:02:36 -0800 | |
| commit | 06dfab013635777790f4098a6f5f37507e89a1c6 (patch) | |
| tree | 63f87a8a331d053e83118c303ff634502aa786f6 | |
| parent | 25eb63ac4aeb767eaab3d7462264e959b78d8736 (diff) | |
Update API doc of Typeaface.setSystemFallback
Bug: 116116764
Test: N/A
Change-Id: I97ebdcfd8d4b4efb0a1d9e3729f74fe7fba96b12
| -rw-r--r-- | graphics/java/android/graphics/Typeface.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Typeface.java b/graphics/java/android/graphics/Typeface.java index 7e8bfb300c1a..bf969ef15c5b 100644 --- a/graphics/java/android/graphics/Typeface.java +++ b/graphics/java/android/graphics/Typeface.java @@ -664,6 +664,11 @@ public class Typeface { /** * Sets a system fallback by name. * + * You can specify generic font familiy names or OEM specific family names. If the system + * don't have a specified fallback, the default fallback is used instead. + * For more information about generic font families, see <a + * href="https://www.w3.org/TR/css-fonts-4/#generic-font-families">CSS specification</a> + * * For more information about fallback, see class description. * * @param familyName a family name to be used for fallback if the provided fonts can not be |