Lines Matching refs:root

148     FT_Memory         memory = face->root.memory;
404 /* Replace `face->root.stream' with a stream containing the extracted */
452 FT_ASSERT( stream == face->root.stream );
700 face->root.stream,
701 ( face->root.face_flags & FT_FACE_FLAG_EXTERNAL_STREAM ) != 0 );
703 face->root.stream = sfnt_stream;
705 face->root.face_flags &= ~FT_FACE_FLAG_EXTERNAL_STREAM;
770 stream = face->root.stream;
845 FT_Library library = face->root.driver->root.library;
877 stream = face->root.stream;
895 face->root.num_faces = face->ttc_header.count;
896 face->root.face_index = face_index;
1002 has_outline = FT_BOOL( face->root.internal->incremental_interface != 0 ||
1074 if ( face->root.internal->incremental_interface &&
1075 face->root.internal->incremental_interface->funcs->
1101 if ( face->root.internal->incremental_interface &&
1102 face->root.internal->incremental_interface->funcs->
1167 face->root.num_glyphs = face->max_profile.numGlyphs;
1175 face->root.family_name = NULL;
1176 face->root.style_name = NULL;
1180 GET_NAME( PREFERRED_FAMILY, &face->root.family_name );
1181 if ( !face->root.family_name )
1182 GET_NAME( FONT_FAMILY, &face->root.family_name );
1185 GET_NAME( PREFERRED_SUBFAMILY, &face->root.style_name );
1186 if ( !face->root.style_name )
1187 GET_NAME( FONT_SUBFAMILY, &face->root.style_name );
1191 GET_NAME( WWS_FAMILY, &face->root.family_name );
1192 if ( !face->root.family_name && !ignore_preferred_family )
1193 GET_NAME( PREFERRED_FAMILY, &face->root.family_name );
1194 if ( !face->root.family_name )
1195 GET_NAME( FONT_FAMILY, &face->root.family_name );
1197 GET_NAME( WWS_SUBFAMILY, &face->root.style_name );
1198 if ( !face->root.style_name && !ignore_preferred_subfamily )
1199 GET_NAME( PREFERRED_SUBFAMILY, &face->root.style_name );
1200 if ( !face->root.style_name )
1201 GET_NAME( FONT_SUBFAMILY, &face->root.style_name );
1204 /* now set up root fields */
1206 FT_Face root = &face->root;
1207 FT_Long flags = root->face_flags;
1253 root->face_flags = flags;
1286 root->style_flags = flags;
1304 for ( m = 0; m < root->num_charmaps; m++ )
1306 FT_CharMap charmap = root->charmaps[m];
1313 if ( root->charmap == NULL &&
1316 /* set 'root->charmap' to the first Unicode encoding we find */
1317 root->charmap = charmap;
1326 * Now allocate the root array of FT_Bitmap_Size records and
1338 FT_Memory memory = face->root.stream->memory;
1350 if ( FT_NEW_ARRAY( root->available_sizes, count ) )
1355 FT_Bitmap_Size* bsize = root->available_sizes + i;
1373 root->face_flags |= FT_FACE_FLAG_FIXED_SIZES;
1374 root->num_fixed_sizes = (FT_Int)count;
1382 if ( !FT_HAS_FIXED_SIZES( root ) && !FT_IS_SCALABLE( root ) )
1383 root->face_flags |= FT_FACE_FLAG_SCALABLE;
1390 if ( FT_IS_SCALABLE( root ) )
1394 root->bbox.xMin = face->header.xMin;
1395 root->bbox.yMin = face->header.yMin;
1396 root->bbox.xMax = face->header.xMax;
1397 root->bbox.yMax = face->header.yMax;
1398 root->units_per_EM = face->header.Units_Per_EM;
1430 root->ascender = face->horizontal.Ascender;
1431 root->descender = face->horizontal.Descender;
1433 root->height = (FT_Short)( root->ascender - root->descender +
1436 if ( !( root->ascender || root->descender ) )
1442 root->ascender = face->os2.sTypoAscender;
1443 root->descender = face->os2.sTypoDescender;
1445 root->height = (FT_Short)( root->ascender - root->descender +
1450 root->ascender = (FT_Short)face->os2.usWinAscent;
1451 root->descender = -(FT_Short)face->os2.usWinDescent;
1453 root->height = (FT_UShort)( root->ascender - root->descender );
1458 root->max_advance_width = face->horizontal.advance_Width_Max;
1459 root->max_advance_height = (FT_Short)( face->vertical_info
1461 : root->height );
1466 root->underline_position = face->postscript.underlinePosition -
1468 root->underline_thickness = face->postscript.underlineThickness;
1495 memory = face->root.memory;
1562 FT_FREE( face->root.family_name );
1563 FT_FREE( face->root.style_name );
1566 FT_FREE( face->root.available_sizes );
1567 face->root.num_fixed_sizes = 0;