mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
fixes for SCREEN_SPACE text and avoiding infinite loop in printMatrix
This commit is contained in:
@@ -530,6 +530,8 @@ public class PFont implements PConstants {
|
||||
*/
|
||||
|
||||
} else { // SCREEN_SPACE
|
||||
parent.loadPixels();
|
||||
|
||||
int xx = (int) x + leftExtent[glyph];;
|
||||
int yy = (int) y - topExtent[glyph];
|
||||
|
||||
@@ -583,6 +585,7 @@ public class PFont implements PConstants {
|
||||
(( a1 * fb + a2 * ( p2 & 0xff)) >> 8));
|
||||
}
|
||||
}
|
||||
parent.updatePixels();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user