cross-pollinating javax.swing.text & java.awt.font packages
Is there any straight-forward way to use a javax.swing.text.StyledDocument with the classes in java.awt.font? StyledDocuments track their styles using AttributeSets, while java.awt.font classes expect an AttributedCharacterIterator.
I would like to take the content from a JTextArea and display it snugly circumscribed by a scaled ellipse. I was hoping to accomplish this using a LineBreakMeasurer inside an optimization loop.