Lines Matching refs:font
32 glamor_font_get(ScreenPtr screen, FontPtr font) in glamor_font_get() argument
53 privates = FontGetPrivate(font, glamor_font_private_index); in glamor_font_get()
58 xfont2_font_set_private(font, glamor_font_private_index, privates); in glamor_font_get()
67 num_cols = font->info.lastCol - font->info.firstCol + 1; in glamor_font_get()
68 num_rows = font->info.lastRow - font->info.firstRow + 1; in glamor_font_get()
71 … glyph_width_pixels = font->info.maxbounds.rightSideBearing - font->info.minbounds.leftSideBearing; in glamor_font_get()
72 glyph_height = font->info.maxbounds.ascent + font->info.maxbounds.descent; in glamor_font_get()
104 c[0] = font->info.lastRow + 1; in glamor_font_get()
105 c[1] = font->info.lastCol + 1; in glamor_font_get()
106 (*font->get_glyphs)(font, 1, c, TwoD16Bit, &count, &glyph); in glamor_font_get()
109 glamor_font->default_row = font->info.defaultCh >> 8; in glamor_font_get()
110 glamor_font->default_col = font->info.defaultCh; in glamor_font_get()
125 c[0] = row + font->info.firstRow; in glamor_font_get()
126 c[1] = col + font->info.firstCol; in glamor_font_get()
128 (*font->get_glyphs)(font, 1, c, TwoD16Bit, &count, &glyph); in glamor_font_get()
168 glamor_realize_font(ScreenPtr screen, FontPtr font) in glamor_realize_font() argument
174 glamor_unrealize_font(ScreenPtr screen, FontPtr font) in glamor_unrealize_font() argument
177 glamor_font_t *privates = FontGetPrivate(font, glamor_font_private_index); in glamor_unrealize_font()
204 xfont2_font_set_private(font, glamor_font_private_index, NULL); in glamor_unrealize_font()