|
Author |
Topic: typography and imageMode() (Read 610 times) |
|
benelek
|
Re: typography and imageMode()
« Reply #1 on: Aug 7th, 2003, 5:20am » |
|
hi Mikkel, both applets seem to be giving "class not found" errors..
|
|
|
|
mKoser
|
Re: typography and imageMode()
« Reply #2 on: Aug 7th, 2003, 10:12am » |
|
very strange indeed ...! here is the code for the modfied example - please take a look at REAS's example in 'Examples' > 'Typography' > 'Words'... since this is the original version! Code: // Words // by REAS <http://www.groupc.net> // The text() function is used for writing words to the screen. // Created 15 January 2003 size(200, 200); background(0); stroke(153, 153, 0); // // // // THIS IS THE LINE THAT I'VE ADDED, WHICH MAKES THE LETTERS FUNNY! imageMode(CENTER_RADIUS); // // // // Load the font. Fonts are located within the // main Proce55ing directory/folder and they // must be placed within the data directory // of your sketch for them to load BFont fontA = loadFont("Meta-Bold.vlw.gz"); // Set the font and its size (in units of pixels) setFont(fontA, 44); // Set the hint() method to SMOOTH_IMAGES // for better edges on the type hint(SMOOTH_IMAGES); int y = 15; // Horizontal position of the type int l = 35; // Leading (spaces between lines) line(y, 60, width, 60); text("Research", y, 60); line(y, 60+l, width, 60+l); text("Modern", y, 95); line(y, 60+l*2, width, 60+l*2); text("Typography", y, 130); fill(204, 204, 0); setFont(fontA, 28); text("in", 152, 50); |
| - mikkel
|
mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
|
|
|
Martin
|
Re: typography and imageMode()
« Reply #3 on: Aug 7th, 2003, 3:18pm » |
|
on Aug 7th, 2003, 12:12am, mKoser wrote:Am I right in guessing the fonts are just a bunch of images (and are treated similarly) |
| p5 fonts were done using a proprietary software developed during the vlw days, which is still used by acg, and i think will still be used by plw. the fonts are actually raw images where each font is a raw image with characters inside.
|
|
|
|
mKoser
|
Re: typography and imageMode()
« Reply #4 on: Aug 7th, 2003, 4:03pm » |
|
Thanks! ...sorry, too many acronyms for me vlw - ? acg - Aesthetics & Computation Group plw - ? - Mikkel
|
« Last Edit: Aug 7th, 2003, 4:04pm by mKoser » |
|
mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
|
|
|
fry
|
Re: typography and imageMode()
« Reply #6 on: Aug 8th, 2003, 7:13pm » |
|
yeah, uh, whoops. that's a funny bug. it's a simple fix so i'll take care of it for 59.
|
|
|
|
fry
|
Re: typography and imageMode()
« Reply #7 on: Aug 31st, 2003, 10:55pm » |
|
fixed for 0059. and hopefully we'll get rid of these .vlw fonts sometime soon.
|
|
|
|
elout
|
Re: typography and imageMode()
« Reply #8 on: Sep 10th, 2003, 6:08am » |
|
here`s an nice font-feature as well, for creative use! (found while I was working on http://www.xs4all.nl/~elout/proce55ing/openSrc01/index.html ) the text-alphachannels can hit hard! -drawing white text on a white screen- Code: // - white on white - 10 sept 2003 // elout <http://www.xs4all.nl/~elout/> BFont my_font; void setup() { size(600,300); noBackground(); // make sure the OCR-B.vlw.gz font is in your data folder my_font = loadFont("OCR-B.vlw.gz"); } void loop() { setFont(my_font, random(140)); text("0I",random(width),random(height)); setFont(my_font, 200); text("0I",180+random(14),180+random(14)); } |
| url - http://www.xs4all.nl/~elout/proce55ing/whiteonwhite2/index.html
|
|
|
|
|