The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Re: javax.swing.text.html.StyleSheet

Posted by Brian Sanders on December 10, 2001 at 2:31 PM

You can't with the Sun JDK implementation.

The Sun implementation only uses 7 point sizes:
(8, 10, 12, 14, 18, 24, 36)
The default "base font size" is "3", which corresponds to the element of the list at index 3 (14pt). getPointSize("+2") corresponds to the element of the list at index (3 + 2) (24pt).



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us