JTextPane font size issue
I am creating a basic HTML editor using JTextPane. The issue which I am having is that when I set a font (eg Arial 12), it displays much smaller than Arial 12 does in any other editor. I have tried setting the W3C_LENGTH_UNITS and HONOR_DISPLAY_PROPERTIES client properties, and this seems to work only some of the time. Does the W3C_LENGTH_UNITS property need to be set every time I refresh the Document? Or is there something else which I am missing?