gfxFontEntry Class Reference

#include <gfxFont.h>

Inheritance diagram for gfxFontEntry:
Inheritance graph
[legend]
Collaboration diagram for gfxFontEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 gfxFontEntry (const nsAString &aName, gfxFontFamily *aFamily=nsnull, PRBool aIsStandardFace=PR_FALSE)
 gfxFontEntry (const gfxFontEntry &aEntry)
virtual ~gfxFontEntry ()
const nsString & Name () const
PRUint16 Weight () const
PRInt16 Stretch () const
PRBool IsUserFont () const
PRBool IsFixedPitch () const
PRBool IsItalic () const
PRBool IsBold () const
PRBool IsSymbolFont () const
PRBool HasCharacter (PRUint32 ch)
virtual PRBool TestCharacterMap (PRUint32 aCh)
virtual nsresult ReadCMAP ()
virtual PRBool MatchesGenericFamily (const nsACString &aGeneric) const
virtual PRBool SupportsLangGroup (nsIAtom *aLangGroup) const
void SetFamily (gfxFontFamily *aFamily)
const nsString & FamilyName ()
already_AddRefed< gfxFontFindOrMakeFont (const gfxFontStyle *aStyle, PRBool aNeedsBold)

Public Attributes

nsString mName
PRPackedBool mItalic: 1
PRPackedBool mFixedPitch: 1
PRPackedBool mIsProxy: 1
PRPackedBool mIsValid: 1
PRPackedBool mIsBadUnderlineFont: 1
PRPackedBool mIsUserFont: 1
PRPackedBool mStandardFace: 1
PRPackedBool mSymbolFont: 1
PRUint16 mWeight
PRInt16 mStretch
PRPackedBool mCmapInitialized
gfxSparseBitSet mCharacterMap
gfxUserFontDatamUserFontData

Protected Member Functions

 gfxFontEntry ()
virtual nsresult GetFontTable (PRUint32 aTableTag, nsTArray< PRUint8 > &aBuffer)
virtual gfxFontCreateFontInstance (const gfxFontStyle *aFontStyle, PRBool aNeedsBold)

Protected Attributes

gfxFontFamilymFamily

Friends

class gfxPlatformFontList
class gfxMacPlatformFontList
class gfxFcFontEntry
class gfxFontFamily
class gfxSingleFaceMacFontFamily

Constructor & Destructor Documentation

gfxFontEntry::gfxFontEntry ( const nsAString aName,
gfxFontFamily aFamily = nsnull,
PRBool  aIsStandardFace = PR_FALSE 
) [inline]
gfxFontEntry::gfxFontEntry ( const gfxFontEntry aEntry  )  [inline]
virtual gfxFontEntry::~gfxFontEntry (  )  [virtual]
gfxFontEntry::gfxFontEntry (  )  [inline, protected]

Member Function Documentation

virtual gfxFont* gfxFontEntry::CreateFontInstance ( const gfxFontStyle aFontStyle,
PRBool  aNeedsBold 
) [inline, protected, virtual]

Reimplemented in gfxProxyFontEntry.

const nsString& gfxFontEntry::FamilyName (  ) 
already_AddRefed<gfxFont> gfxFontEntry::FindOrMakeFont ( const gfxFontStyle aStyle,
PRBool  aNeedsBold 
)
virtual nsresult gfxFontEntry::GetFontTable ( PRUint32  aTableTag,
nsTArray< PRUint8 > &  aBuffer 
) [inline, protected, virtual]
PRBool gfxFontEntry::HasCharacter ( PRUint32  ch  )  [inline]
PRBool gfxFontEntry::IsBold (  )  const [inline]
PRBool gfxFontEntry::IsFixedPitch (  )  const [inline]
PRBool gfxFontEntry::IsItalic (  )  const [inline]
PRBool gfxFontEntry::IsSymbolFont (  )  const [inline]
PRBool gfxFontEntry::IsUserFont (  )  const [inline]
virtual PRBool gfxFontEntry::MatchesGenericFamily ( const nsACString aGeneric  )  const [inline, virtual]
const nsString& gfxFontEntry::Name (  )  const [inline]
virtual nsresult gfxFontEntry::ReadCMAP (  )  [virtual]
void gfxFontEntry::SetFamily ( gfxFontFamily aFamily  )  [inline]
PRInt16 gfxFontEntry::Stretch (  )  const [inline]
virtual PRBool gfxFontEntry::SupportsLangGroup ( nsIAtom aLangGroup  )  const [inline, virtual]
virtual PRBool gfxFontEntry::TestCharacterMap ( PRUint32  aCh  )  [virtual]
PRUint16 gfxFontEntry::Weight (  )  const [inline]

Friends And Related Function Documentation

friend class gfxFcFontEntry [friend]
friend class gfxFontFamily [friend]
friend class gfxMacPlatformFontList [friend]
friend class gfxPlatformFontList [friend]
friend class gfxSingleFaceMacFontFamily [friend]

Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 3 May 2010 for Mozilla by  doxygen 1.6.1