678
678
for (y = 0, row = image->data, rows = image->height; rows; row += image->stride, rows--, y++) {
679
679
for (x = 0, byte = row, cols = (image->width + 7) / 8; cols; byte++, cols--) {
681
681
for (bit = 7; bit >= 0 && x < image->width; bit--, x++) {
682
682
if (output_byte & (1 << bit)) {
683
683
_cairo_output_stream_printf (document->xml_node_glyphs,