mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix incessant "inefficient font rendering" message
This commit is contained in:
@@ -3142,8 +3142,6 @@ public class PGraphics extends PImage implements PConstants {
|
||||
*/
|
||||
protected void textLineImpl(char buffer[], int start, int stop,
|
||||
float x, float y) {
|
||||
System.out.println("PGraphics: Using inefficient font rendering.");
|
||||
new Exception().printStackTrace(System.out);
|
||||
for (int index = start; index < stop; index++) {
|
||||
textCharImpl(buffer[index], x, y);
|
||||
|
||||
|
||||
@@ -1146,6 +1146,8 @@ public class PGraphicsAndroid2D extends PGraphics {
|
||||
float x, float y) {
|
||||
Typeface font = textFont.getTypeface();
|
||||
if (font == null) {
|
||||
showWarning("Inefficient font rendering: use createFont() with a TTF/OTF instead of loadFont().");
|
||||
//new Exception().printStackTrace(System.out);
|
||||
super.textLineImpl(buffer, start, stop, x, y);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
0202 android (2.0a3)
|
||||
X fix problem with export menu, keys, toolbar being different
|
||||
X change default package name a bit
|
||||
X switch to SDK 8 (Android 2.2) as the minimum
|
||||
X update the project files for Android SDK Tools Revision 15 (now required)
|
||||
X launching on emulator not working well
|
||||
X Latest android sdk breaks processing - new build.xml output required
|
||||
X http://code.google.com/p/processing/issues/detail?id=876
|
||||
X remove 'processing.test' package--people are posting on the market w/ it
|
||||
X too many 'already exists' messages
|
||||
X fix problem where creating a new AVD didn't update the device list
|
||||
X remove 'includeantruntime' warning
|
||||
X Android mode does not recognize library imports
|
||||
X http://code.google.com/p/processing/issues/detail?id=766
|
||||
X "Date could not be parsed" error
|
||||
X http://code.google.com/p/processing/issues/detail?id=864
|
||||
|
||||
|
||||
0201 android (2.0a2)
|
||||
X lots of updates to PGraphics et al, especially on the 3D side
|
||||
X change export menu/key/toolbar ordering
|
||||
|
||||
+2
-16
@@ -1,19 +1,5 @@
|
||||
0202 android
|
||||
X fix problem with export menu, keys, toolbar being different
|
||||
X change default package name a bit
|
||||
X switch to SDK 8 (Android 2.2) as the minimum
|
||||
X update the project files for Android SDK Tools Revision 15 (now required)
|
||||
X launching on emulator not working well
|
||||
X Latest android sdk breaks processing - new build.xml output required
|
||||
X http://code.google.com/p/processing/issues/detail?id=876
|
||||
X remove 'processing.test' package--people are posting on the market w/ it
|
||||
X too many 'already exists' messages
|
||||
X fix problem where creating a new AVD didn't update the device list
|
||||
X remove 'includeantruntime' warning
|
||||
X Android mode does not recognize library imports
|
||||
X http://code.google.com/p/processing/issues/detail?id=766
|
||||
X "Date could not be parsed" error
|
||||
X http://code.google.com/p/processing/issues/detail?id=864
|
||||
0203 android
|
||||
X fix incessant "inefficient font rendering" message
|
||||
|
||||
|
||||
_ if a sketch asks for android mode but it's not available
|
||||
|
||||
Reference in New Issue
Block a user