Removing two Typography examples from the web

This commit is contained in:
REAS
2013-05-22 12:44:36 -07:00
parent 97801ac575
commit a66f844d8b
3 changed files with 27 additions and 12 deletions
@@ -5,9 +5,6 @@
* setting the font, and then drawing the letters.
*/
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs font="Courier.ttf"; */
PFont f;
void setup() {
@@ -16,7 +13,7 @@ void setup() {
// Create the font
println(PFont.list());
f = createFont("Monospaced", 24);
f = createFont("Georgia", 24);
textFont(f);
textAlign(CENTER, CENTER);
}
@@ -5,9 +5,6 @@
* The letters can be aligned left, center, or right with the
* textAlign() function.
*/
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs font="Georgia.ttf"; */
PFont f;
@@ -16,7 +13,7 @@ void setup() {
// Create the font
println(PFont.list());
f = createFont("Serif", 24);
f = createFont("Georgia", 24);
textFont(f);
}