starting rev 94, fixing some textMode issues, additions to the faq, toxi

code for tga leniancy
This commit is contained in:
benfry
2005-10-15 18:13:01 +00:00
parent 31af9c9246
commit 88efb88a38
7 changed files with 40 additions and 27 deletions
+5 -4
View File
@@ -679,10 +679,11 @@ public class PGraphics2 extends PGraphics {
* will get recorded properly.
*/
public void textSize(float size) {
if (textFontNative == null) {
super.textSize(size);
return;
}
// take care of setting the textSize and textLeading vars
//if (textFontNative == null) {
super.textSize(size);
//return;
//}
textFontNative = textFontNative.deriveFont(size);
g2.setFont(textFontNative);