Class FontShorthandManager

  • All Implemented Interfaces:
    ShorthandManager

    public class FontShorthandManager
    extends AbstractValueFactory
    implements ShorthandManager
    This class provides support for the CSS2 'font' shorthand property. The form of this property is: [ [ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height> ]? <font-family> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit It is worth noting that there is a potential ambiguity between font-size and font-weight since in SVG they can both be unitless. This is solved by considering the 'last' number before an 'ident' or '/' to be font-size and any preceeding number to be font-weight.