开发者

AWT text measuring implementations

The Java 6 (J2SE) implementation of AttributedString, TextLayout, and LineBre开发者_运维百科akMeasurer classes use anti-aliasing properties and fractional math for metrics calculations. This causes a severe performance penalty.

What suggestions (for Cent OS Linux) do you have to increase performance? Such as:

  • A faster JVM (JDK 1.7, Oracle's JRockit, IBM)
  • A different AWT implementation (any?)

Thank you!


Does the java.awt.FontMetrics class give any better performance? It may still be used by the classes you've mentioned, but it's a pre-Java 6 implementation at least.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜