• Post Reply Bookmark Topic Watch Topic
  • New Topic

special font transformations  RSS feed

Christopher Arthur
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I want to do some advanced manipulation of fonts, and I know a bit about JAVA2D, except I don't know much about the font classes and methods from it. Basically, I'd like to be able to choose a character and print it in a window, using this requirement:

Take four coordinates in your image field. They don't have to form a perfect rectangle, in fact its better if they just would make an arbitrary quadrilateral. Now you want to put a character into your shape, but you want to distort the character as if its own bounding box were pulled into the exact shape that you had chosen. How can you accomplish this?

I'm wondering at this point if I would be better off to forget about the font api and just make a set of stroked graphic objects that resemble the characters that I would like to use. Or, can all the methods like translateShape, affineTransformation, etc., can they be used in the same way on font objects?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!