We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c5d1d commit ae7cf1dCopy full SHA for ae7cf1d
tehreer-android/src/main/java/com/mta/tehreer/graphics/Typeface.java
@@ -223,6 +223,15 @@ private void setupNames() {
223
}
224
225
226
+ /**
227
+ * Returns <code>true</code> if this typeface supports OpenType font variations.
228
+ *
229
+ * @return <code>true</code> if this typeface supports OpenType font variations.
230
+ */
231
+ public boolean isVariable() {
232
+ return variationAxes != null;
233
+ }
234
+
235
/**
236
* Returns a variation instance of this typeface with the specified design coordinates.
237
*
0 commit comments