Bug 1104270 - fix eager font and image parsing

Very much so, thanks. I fixed this and other bugs preventing all this from working. Part 9 also includes a test for reading pixel values from embedded images.