Skip to content

Commit 7b949ec

Browse files
committed
[lib] Renamed variation instance method
1 parent cdd2e52 commit 7b949ec

File tree

1 file changed

+2
-2
lines changed
  • tehreer-android/src/main/java/com/mta/tehreer/graphics

1 file changed

+2
-2
lines changed

tehreer-android/src/main/java/com/mta/tehreer/graphics/Typeface.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private void setupNames() {
222222
}
223223
}
224224

225-
public Typeface deriveVariation(float[] coordinates) {
225+
public Typeface getVariationInstance(float[] coordinates) {
226226
return new Typeface(nDeriveVariation(nativeTypeface, coordinates));
227227
}
228228

@@ -489,7 +489,7 @@ public String toString() {
489489
private static native long nCreateFromStream(InputStream stream);
490490
private static native void nDispose(long nativeTypeface);
491491

492-
private static native long nDeriveVariation(long nativeTypeface, float[] coordinates);
492+
private static native long nGetVariationInstance(long nativeTypeface, float[] coordinates);
493493
private static native void nGetVariationCoordinates(long nativeTypeface, float[] coordinates);
494494

495495
private static native byte[] nGetTableData(long nativeTypeface, int tableTag);

0 commit comments

Comments
 (0)