We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Accessing Raster Glyphs of Text
Page Index Toggle Pages: 1
Accessing Raster Glyphs of Text (Read 277 times)
Accessing Raster Glyphs of Text
Feb 6th, 2009, 10:39pm
 
I would like to access the actual pixel glyphs that Processing uses when it displays a certain font. I need to load it into a PImage object so that I can access the pixel values. Does anyone know how to do this in Processing, or will I have to individually save .bmp's in photoshop?
Re: Accessing Raster Glyphs of Text
Reply #1 - Feb 6th, 2009, 10:56pm
 
Just draw the characters in a PGraphics. It is a PImage with additional functions/properties to draw in it.
Page Index Toggle Pages: 1