Lines Matching refs:family

64 	BString		family;
327 GlobalFontManager::_AddDefaultMapping(const char* family, const char* style,
334 mapping->family = family;
377 FTRACE(("_AddMappedFont(family = \"%s\", style = \"%s\")\n",
383 if (mapping->family == familyName) {
527 /*! \brief Counts the number of styles available in a font family
528 \param family Name of the font family to scan
529 \return The number of font styles currently available for the font family
536 FontFamily* family = GetFamily(familyName);
537 if (family)
538 return family->CountStyles();
544 /*! \brief Counts the number of styles available in a font family
545 \param family Name of the font family to scan
546 \return The number of font styles currently available for the font family
553 FontFamily* family = GetFamily(familyID);
554 if (family)
555 return family->CountStyles();
571 \param family The font's family or NULL in which case \a familyID is used
573 \param familyID will only be used if \a family is NULL (or empty)
574 \param styleID will only be used if \a family and \a style are NULL (or empty)
586 FontFamily* family;
593 // find family
596 family = GetFamily(familyName);
598 family = GetFamily(familyID);
600 if (family == NULL)
606 FontStyle* fontStyle = family->GetStyle(styleName);
611 if (_AddMappedFont(family->Name(), styleName) == B_OK) {
612 fontStyle = family->GetStyle(styleName);
618 return family->GetStyle(styleName);
622 return family->GetStyleMatchingFace(face);
914 // directory. If a valid font file, it adds both the family and the style.
958 \param name The family to find
959 \return Pointer to the specified family or NULL if not found.
967 FontFamily* family = _FindFamily(name);
968 if (family != NULL)
969 return family;