Lines Matching refs:_face

372           _mutex(mutex), _fontFamily(css_ff_sans_serif), _library(library), _face(NULL),
447 _hb_font = hb_ft_font_create(_face, NULL);
533 FT_Pos embolden_strength = FT_MulFix(_face->units_per_EM, _face->size->metrics.y_scale) / 24;
546 if (_face)
547 FT_Done_Face(_face);
549 &_face); /* create face object */
562 error = FT_Attach_File(_face, kernFile.c_str());
565 _slot = _face->glyph;
566 _faceName = familyName(_face);
573 _face, /* handle to face object */
580 _hb_font = hb_ft_font_create(_face, 0);
606 int nheight = _face->size->metrics.height;
609 _face, /* handle to face object */
614 _height = FONT_METRIC_TO_PX( _face->size->metrics.height );
616 _baseline = _height + FONT_METRIC_TO_PX( _face->size->metrics.descender );
617 _weight = _face->style_flags & FT_STYLE_FLAG_BOLD ? 700 : 400;
618 _italic = _face->style_flags & FT_STYLE_FLAG_ITALIC ? 1 : 0;
638 if (FT_Select_Charmap(_face, FT_ENCODING_UNICODE)) // non-zero means failure
640 FT_Select_Charmap(_face, FT_ENCODING_MS_SYMBOL);
656 if (_face)
657 FT_Done_Face(_face);
658 int error = FT_New_Face(_library, _fileName.c_str(), index, &_face); /* create face object */
671 error = FT_Attach_File(_face, kernFile.c_str());
674 _slot = _face->glyph;
675 _faceName = familyName(_face);
682 _face, /* handle to face object */
689 _hb_font = hb_ft_font_create(_face, 0);
715 int nheight = _face->size->metrics.height;
718 _face, /* handle to face object */
723 _height = FONT_METRIC_TO_PX( _face->size->metrics.height );
725 _baseline = _height + FONT_METRIC_TO_PX( _face->size->metrics.descender );
726 _weight = _face->style_flags & FT_STYLE_FLAG_BOLD ? 700 : 400;
727 _italic = _face->style_flags & FT_STYLE_FLAG_ITALIC ? 1 : 0;
750 if (FT_Select_Charmap(_face, FT_ENCODING_UNICODE)) // non-zero means failure
752 FT_Select_Charmap(_face, FT_ENCODING_MS_SYMBOL);
762 FT_UInt ch_glyph_index = FT_Get_Char_Index(_face, code);
771 if (!FT_Select_Charmap(_face, FT_ENCODING_MS_SYMBOL)) {
772 ch_glyph_index = FT_Get_Char_Index( _face, code );
774 FT_Select_Charmap(_face, FT_ENCODING_UNICODE);
829 FT_UInt ch_glyph_index = FT_Get_Char_Index( _face, triplet.Char );
854 FT_UInt ch_glyph_index = FT_Get_Char_Index(_face, code);
859 if (!FT_Select_Charmap(_face, FT_ENCODING_MS_SYMBOL)) {
860 ch_glyph_index = FT_Get_Char_Index( _face, code );
862 FT_Select_Charmap(_face, FT_ENCODING_UNICODE);
869 ch_glyph_index = FT_Get_Char_Index( _face, replacement );
874 ch_glyph_index = FT_Get_Char_Index( _face, def_char );
1051 _face, /* handle to face object */
1057 error = FT_Load_Glyph( _face, glyph_index, flags );
1189 glyphIndex = FT_Get_Char_Index(_face, codePoint);
1220 if (len <= 0 || _face == NULL)
1636 int use_kerning = _allowKerning && FT_HAS_KERNING( _face );
1657 error = FT_Get_Kerning( _face, /* handle to face object */
1799 int error = FT_Load_Glyph( _face, /* handle to face object */
1805 error = FT_Load_Glyph( _face, ch_glyph_index, rend_flags );
1856 int error = FT_Load_Glyph( _face, /* handle to face object */
1862 error = FT_Load_Glyph( _face, index, rend_flags );
1950 if (len <= 0 || _face == NULL)
2307 int use_kerning = _allowKerning && FT_HAS_KERNING( _face );
2326 error = FT_Get_Kerning( _face, /* handle to face object */
2395 if (_face) {
2396 FT_Done_Face(_face);
2397 _face = NULL;