Lines Matching defs:face
60 \param face Font handle obtained from FT_Load_Face()
64 FontManager::_GetSupportedCharmap(const FT_Face& face)
66 for (int32 i = 0; i < face->num_charmaps; i++) {
67 FT_CharMap charmap = face->charmaps[i];
222 \param face is used to specify the style if both \a style is NULL or empty
229 uint16 familyID, uint16 styleID, uint16 face)
255 // try to get from face
256 return family->GetStyleMatchingFace(face);
264 FontManager::FindStyleMatchingFace(uint16 face) const
270 FontStyle* style = family->GetStyleMatchingFace(face);
298 FontManager::_AddFont(FT_Face face, node_ref nodeRef, const char* path,
303 BReference<FontFamily> family(_FindFamily(face->family_name));
306 if (family.IsSet() && family->HasStyle(face->style_name)) {
309 FT_Done_Face(face);
314 family.SetTo(new (std::nothrow) FontFamily(face->family_name, _NextID()), true);
317 FT_Done_Face(face);
322 FTRACE(("\tadd style: %s, %s\n", face->family_name, face->style_name));
325 FontStyle* style = new (std::nothrow) FontStyle(nodeRef, path, face, this);