Bug 1104270 - fix eager font and image parsing

Are we sure that the length of the`data.buffer` is a multiple of 4?