Skip to content

Commit d588c61

Browse files
committed
textFont() with size argument was not setting the zie in the paint style
1 parent bc2cfcd commit d588c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/a2d/PGraphicsAndroid2D.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ public void textFont(PFont which) {
12541254
public void textFont(PFont which, float size) {
12551255
super.textFont(which, size);
12561256
fillPaint.setTypeface((Typeface) which.getNative());
1257-
fillPaint.setTextSize(which.getDefaultSize());
1257+
fillPaint.setTextSize(size);
12581258
}
12591259

12601260

0 commit comments

Comments
 (0)