mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
back out bad text() fix for tabs, other notes
This commit is contained in:
@@ -4595,12 +4595,6 @@ public class PGraphics extends PImage implements PConstants {
|
||||
* ignored.
|
||||
*/
|
||||
public void text(String str, float x, float y) {
|
||||
if (str.indexOf('\t') != -1) {
|
||||
// https://github.com/processing/processing/issues/5625
|
||||
// https://github.com/processing/processing/pull/5633
|
||||
str = str.replaceAll("\t", " ");
|
||||
}
|
||||
|
||||
if (textFont == null) {
|
||||
defaultFontOrDeath("text");
|
||||
}
|
||||
@@ -4926,16 +4920,6 @@ public class PGraphics extends PImage implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
// public void text(String s, float a, float b, float c, float d, float z) {
|
||||
// if (z != 0) translate(0, 0, z); // slowness, badness
|
||||
//
|
||||
// text(s, a, b, c, d);
|
||||
// textZ = z;
|
||||
//
|
||||
// if (z != 0) translate(0, 0, -z); // TEMPORARY HACK! SLOW!
|
||||
// }
|
||||
|
||||
|
||||
public void text(int num, float x, float y) {
|
||||
text(String.valueOf(num), x, y);
|
||||
}
|
||||
|
||||
+11
-3
@@ -4,9 +4,17 @@ X fix javaPlatform variable for newer JDK versions
|
||||
X https://github.com/processing/processing/pull/5626
|
||||
|
||||
contrib
|
||||
X make tabs into spaces, fixes pixelDensity(2) issue with tabs
|
||||
X https://github.com/processing/processing/issues/5625
|
||||
X https://github.com/processing/processing/pull/5633
|
||||
o make tabs into spaces, fixes pixelDensity(2) issue with tabs
|
||||
o https://github.com/processing/processing/issues/5625
|
||||
o https://github.com/processing/processing/pull/5633
|
||||
X had to back this fix out again
|
||||
X Fixes blend mode not being set correctly, fixing #5645
|
||||
X https://github.com/processing/processing/issues/5645
|
||||
X https://github.com/processing/processing/pull/5647
|
||||
|
||||
andres
|
||||
X silence TIS/TSM warning message with P2D/P3D/OPENGL since macOS 10.13.4
|
||||
X https://github.com/processing/processing/issues/5462
|
||||
|
||||
|
||||
_ NullPointerException at java.awt.Window.init(Window.java:497) when using Airplay
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
contrib
|
||||
X Updated russian translation, now can choose russian in preferences
|
||||
X https://github.com/processing/processing/pull/5619
|
||||
|
||||
X Turkish translation updates
|
||||
X https://github.com/processing/processing/pull/5636
|
||||
_ Find in Reference disabled for various keywords (draw, for, if, catch, while)
|
||||
_ https://github.com/processing/processing/issues/5562
|
||||
_ https://github.com/processing/processing/pull/5642
|
||||
|
||||
_ Examples dialog causes high CPU load
|
||||
_ https://github.com/processing/processing/issues/5246
|
||||
|
||||
Reference in New Issue
Block a user