protected void build() throws SVGException { super.build(); StyleAttribute sty = new StyleAttribute(); if (getPres(sty.setName("font-family"))) fontFamily = sty.getStringValue(); if (getPres(sty.setName("units-per-em"))) unitsPerEm = sty.getIntValue(); if (getPres(sty.setName("ascent"))) ascent = sty.getIntValue(); if (getPres(sty.setName("descent"))) descent = sty.getIntValue(); if (getPres(sty.setName("accent-height"))) accentHeight = sty.getIntValue(); if (getPres(sty.setName("underline-position"))) underlinePosition = sty.getIntValue(); if (getPres(sty.setName("underline-thickness"))) underlineThickness = sty.getIntValue(); if (getPres(sty.setName("strikethrough-position"))) strikethroughPosition = sty.getIntValue(); if (getPres(sty.setName("strikethrough-thickenss"))) strikethroughThickness = sty.getIntValue(); if (getPres(sty.setName("overline-position"))) overlinePosition = sty.getIntValue(); if (getPres(sty.setName("overline-thickness"))) overlineThickness = sty.getIntValue(); }
if (getPres(sty.setName("font-family"))) if (getPres(sty.setName("units-per-em"))) if (getPres(sty.setName("ascent"))) if (getPres(sty.setName("descent"))) if (getPres(sty.setName("accent-height"))) if (getPres(sty.setName("underline-position"))) if (getPres(sty.setName("underline-thickness"))) if (getPres(sty.setName("strikethrough-position"))) if (getPres(sty.setName("strikethrough-thickenss"))) if (getPres(sty.setName("overline-position"))) if (getPres(sty.setName("overline-thickness")))
if (getPres(sty.setName("font-family"))) if (getPres(sty.setName("units-per-em"))) if (getPres(sty.setName("ascent"))) if (getPres(sty.setName("descent"))) if (getPres(sty.setName("accent-height"))) if (getPres(sty.setName("underline-position"))) if (getPres(sty.setName("underline-thickness"))) if (getPres(sty.setName("strikethrough-position"))) if (getPres(sty.setName("strikethrough-thickenss"))) if (getPres(sty.setName("overline-position"))) if (getPres(sty.setName("overline-thickness")))
if (getPres(sty.setName("font-family"))) if (getPres(sty.setName("units-per-em"))) if (getPres(sty.setName("ascent"))) if (getPres(sty.setName("descent"))) if (getPres(sty.setName("accent-height"))) if (getPres(sty.setName("underline-position"))) if (getPres(sty.setName("underline-thickness"))) if (getPres(sty.setName("strikethrough-position"))) if (getPres(sty.setName("strikethrough-thickenss"))) if (getPres(sty.setName("overline-position"))) if (getPres(sty.setName("overline-thickness")))