* issues.
* @return The font-variant property.
*/
public org.axsl.font.Font.Variant getFontVariant(final FObj fobj,
final FoContext context) {
PdFontVariant property = (PdFontVariant) getProperty(
FoProperty.FONT_VARIANT);
if (property != null) {
return property.getValue(context, fobj);
}
// Try the shorthand
final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
if (fontProperty != null) {
property = fontProperty.getVariant();
return property.getValue(context, fobj);
}
return PdFontVariant.getValueNoInstance(context, fobj);
}