From b145c0f94a3fc820239f037d03fb64a4b72fa9cb Mon Sep 17 00:00:00 2001 From: codeanticode Date: Wed, 3 Feb 2010 15:39:35 +0000 Subject: [PATCH] comments in GLFont --- android/core/src/processing/android/core/GLFont.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/android/core/src/processing/android/core/GLFont.java b/android/core/src/processing/android/core/GLFont.java index eed6f6c71..406a74f15 100644 --- a/android/core/src/processing/android/core/GLFont.java +++ b/android/core/src/processing/android/core/GLFont.java @@ -34,6 +34,11 @@ import android.graphics.Typeface; import android.graphics.Bitmap.Config; +/** + * Font class using GLTextures to store the individual glyphs. + * By Andres Colubri + * + */ public class GLFont extends PFont { public GLFont(PApplet parent, InputStream input) throws IOException { DataInputStream is = new DataInputStream(input); @@ -141,7 +146,7 @@ public class GLFont extends PFont { } //System.out.println(); } - tex.update(); + tex.update(); // Copies pixels array to texture in video memory images[i] = tex; //System.out.println(); } @@ -344,7 +349,7 @@ public class GLFont extends PFont { tex.pixels, y*mbox2, width[i]); } - tex.update(); + tex.update(); // Copies pixels array to texture in video memory images[i] = tex; bitmaps[i] = null; }