This site requires JavaScript, please enable it in your browser!
Greenfoot back
SPower
SPower wrote ...

2012/7/27

Using font based on image

SPower SPower

2012/7/27

#
Hi all, I have this image: and I want to use that as my font for the text in a GreenfootImage instance. Is there an easy way to do this, or do have to do it the hard way?
nccb nccb

2012/7/27

#
The hard way! (That is, index into the image and pick out letters as needed by copying them across.) Don't forget to fall back to some other font for characters outside that range (unless you know for definite that you'll only see the basic ASCII characters).
You need to login to post a reply.