* issues.
* @return The font-weight property.
*/
public org.axsl.font.Font.Weight getFontWeight(final FObj fobj,
final FoContext context) {
PdFontWeight property = (PdFontWeight) getProperty(
FoProperty.FONT_WEIGHT);
if (property != null) {
return property.getValue(context, fobj);
}
// Try the shorthand
final PdFont fontProperty = (PdFont) getProperty(FoProperty.FONT);
if (fontProperty != null) {
property = fontProperty.getWeight();
return property.getValue(context, fobj);
}
return PdFontWeight.getValueNoInstance(context, fobj);
}