@return a new typeface given a Data @throws IllegalArgumentException If the data is null, or is not a valid font file
(Data data)
| 150 | * @throws IllegalArgumentException If the data is null, or is not a valid font file |
| 151 | */ |
| 152 | @NotNull |
| 153 | public static Typeface makeFromData(Data data) { |
| 154 | return makeFromData(data, 0); |
| 155 | } |
| 156 | |
| 157 | /** |
| 158 | * @return a new typeface given a Data |