diff options
| -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 |