Lines Matching defs:font
296 /* We'll create a private name for the font from a UUID using a simple,
326 /* Create a copy of the font data, with the 'name' table replaced by a
327 * table that names the font with our private F_* name created above.
464 * shaper font data
478 hb_font_t *font,
485 memcpy (lf->lfFaceName, font->face->data.uniscribe->face_name, sizeof (lf->lfFaceName));
491 _hb_uniscribe_shaper_font_data_create (hb_font_t *font)
497 int font_size = font->face->get_upem (); /* Default... */
499 if (font->y_ppem)
500 font_size = font->y_ppem;
504 data->x_mult = (double) font->x_scale / font_size;
505 data->y_mult = (double) font->y_scale / font_size;
509 if (unlikely (!populate_log_font (&data->log_font, font, font_size))) {
510 DEBUG_MSG (UNISCRIBE, font, "Font populate_log_font() failed");
517 DEBUG_MSG (UNISCRIBE, font, "Font CreateFontIndirectW() failed");
523 DEBUG_MSG (UNISCRIBE, font, "Font SelectObject() failed");
545 * @font: The #hb_font_t to work upon
548 * specified #hb_font_t font.
554 hb_uniscribe_font_get_logfontw (hb_font_t *font)
556 const hb_uniscribe_font_data_t *data = font->data.uniscribe;
562 * @font: The #hb_font_t to work upon
565 * specified #hb_font_t font.
571 hb_uniscribe_font_get_hfont (hb_font_t *font)
573 const hb_uniscribe_font_data_t *data = font->data.uniscribe;
585 hb_font_t *font,
590 hb_face_t *face = font->face;
592 const hb_uniscribe_font_data_t *font_data = font->data.uniscribe;