fixes for SCREEN_SPACE text and avoiding infinite loop in printMatrix

This commit is contained in:
benfry
2005-03-21 17:57:11 +00:00
parent 5bbd5ebb66
commit 608d99ee81
5 changed files with 53 additions and 13 deletions

View File

@@ -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();
}
}