mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
starting rev 94, fixing some textMode issues, additions to the faq, toxi
code for tga leniancy
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user