bunch of random tweaks that hadn't been checked in

This commit is contained in:
benfry
2005-08-30 21:51:04 +00:00
parent 6dc368e8fb
commit 7e9204f09b
6 changed files with 77 additions and 12 deletions
+5 -1
View File
@@ -948,7 +948,11 @@ public class PGraphicsGL extends PGraphics3 {
* with the stroke shut off, so tabling that bug for now.
*/
protected void textCharImpl(char ch, float x, float y) {
if (textMode != SHAPE) {
if ((textMode == SHAPE) && (textFontNative == null)) {
System.err.println("textMode(SHAPE) is disabled because the font " +
"\"" + textFont.name + "\" is not available.");
}
if ((textMode != SHAPE) || (textFontNative == null)) {
super.textCharImpl(ch, x, y);
return;
}