Lines Matching refs:glyph_info
172 struct grub_glyph_info *glyph_info;
269 glyph_info = xmalloc (sizeof (struct grub_glyph_info));
270 glyph_info->bitmap = xmalloc (bitmap_size);
271 glyph_info->bitmap_size = bitmap_size;
273 glyph_info->next = font_info->glyphs_unsorted;
274 font_info->glyphs_unsorted = glyph_info;
277 glyph_info->char_code = char_code;
278 glyph_info->width = width;
279 glyph_info->height = height;
280 glyph_info->x_ofs = glyph->bitmap_left + cutleft;
281 glyph_info->y_ofs = glyph->bitmap_top - height - cuttop;
282 glyph_info->device_width = glyph->metrics.horiAdvance / 64;
290 if (glyph_info->y_ofs < font_info->min_y && glyph_info->y_ofs > -font_info->size)
291 font_info->min_y = glyph_info->y_ofs;
293 if (glyph_info->y_ofs + height > font_info->max_y)
294 font_info->max_y = glyph_info->y_ofs + height;
297 data = &glyph_info->bitmap[0] - 1;