mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
bunch of random tweaks that hadn't been checked in
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user