- { printf(" addGlyph(f,%3i, 0x%02x,%4i, &Glyphs_%s[0x%04x],%4i); // %c\n",
- i, f->glyph2ascii[i], f->glyph[i].advance, name, gpos[i],
- f->glyph[i].shape->bitlen,PRINTABLE(f->glyph2ascii[i]));
+ {
+ printf(" addGlyph(f,%3i, 0x%03x,%4i, &Glyphs_%s[0x%04x], %4i, ",
+ i, f->glyph2ascii[i], f->glyph[i].advance, name, gpos[i],
+ f->glyph[i].shape->bitlen);
+ if(f->layout && f->layout->bounds) {
+ printf("%d, %d, %d, %d);",
+ f->layout->bounds[i].xmin,
+ f->layout->bounds[i].ymin,
+ f->layout->bounds[i].xmax,
+ f->layout->bounds[i].ymax);
+ } else {
+ printf("/* bbox not set */ 0, 0, 0, 0);");
+ }
+ printf(" // %c\n", PRINTABLE(f->glyph2ascii[i]));