Bug 1104270 - fix eager font and image parsing

When would this not be a number?