mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Removing two Typography examples from the web
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user