}
if (length == null) {
return 0;
}
if (length.canEvalLength()) {
return length.evalLength(fobj.traitFontSize(context));
}
if (length.canEvalPercentage()) {
final float percent = length.evalPercentage();
return Math.round(context.ipdAncestorBlockOrRa() * percent
/ WKConstants.PERCENT_CONVERSION);