1

I am looking for a way which allows me to create glyph bitmap for alphabet. For example, I create the following for the letter '0', but i am wondering if there is a simpler way for me to create glyph bitmap for alphabet 'a-z' and 'A-Z'?

        { 1, 1, 1, 1 },
        { 1, 0, 0, 1 },
        { 1, 0, 0, 1 },
        { 1, 0, 0, 1 },
        { 1, 0, 0, 1 },
        { 1, 0, 0, 1 },
        { 1, 1, 1, 1 },

Thank you.

tzot
  • 92,761
  • 29
  • 141
  • 204
michael
  • 106,540
  • 116
  • 246
  • 346

1 Answers1

2

java.awt.font.GlyphVector is a good alternative, as seen here.

Addendum: Once a glyph's outline has been rendered in a BufferedImage, the corresponding WritableRaster becomes accessible.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045