Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends

gfxFontEntry Class Reference

#include <gfxFont.h>

Inheritance diagram for gfxFontEntry:
Collaboration diagram for gfxFontEntry:

List of all members.


class  FontTableHashEntry
 FontTableHashEntry manages the entries of hb_blob_ts for two different situations:

Public Member Functions

 gfxFontEntry (const nsAString &aName, gfxFontFamily *aFamily=0L, PRBool aIsStandardFace=0)
virtual ~gfxFontEntry ()
const nsString_externalName () const
PRUint16 Weight () const
PRInt16 Stretch () const
PRBool IsUserFont () const
PRBool IsLocalUserFont () const
PRBool IsFixedPitch () const
PRBool IsItalic () const
PRBool IsBold () const
PRBool IsSymbolFont () const
PRBool HasCmapTable ()
PRBool HasCharacter (PRUint32 ch)
virtual PRBool SkipDuringSystemFallback ()
virtual PRBool TestCharacterMap (PRUint32 aCh)
nsresult InitializeUVSMap ()
PRUint16 GetUVSGlyph (PRUint32 aCh, PRUint32 aVS)
virtual nsresult ReadCMAP ()
virtual PRBool MatchesGenericFamily (const nsACString &aGeneric) const
virtual PRBool SupportsLangGroup (nsIAtom *aLangGroup) const
virtual nsresult GetFontTable (PRUint32 aTableTag, FallibleTArray< PRUint8 > &aBuffer)
void SetFamily (gfxFontFamily *aFamily)
const nsString_externalFamilyName () const
already_AddRefed< gfxFontFindOrMakeFont (const gfxFontStyle *aStyle, PRBool aNeedsBold)
PRBool GetExistingFontTable (PRUint32 aTag, hb_blob_t **aBlob)
hb_blob_tShareFontTableAndGetBlob (PRUint32 aTag, FallibleTArray< PRUint8 > *aTable)
void PreloadFontTable (PRUint32 aTag, FallibleTArray< PRUint8 > &aTable)

Public Attributes

nsString_external mName
PRPackedBool mItalic: 1
PRPackedBool mFixedPitch: 1
PRPackedBool mIsProxy: 1
PRPackedBool mIsValid: 1
PRPackedBool mIsBadUnderlineFont: 1
PRPackedBool mIsUserFont: 1
PRPackedBool mIsLocalUserFont: 1
PRPackedBool mStandardFace: 1
PRPackedBool mSymbolFont: 1
PRUint16 mWeight
PRInt16 mStretch
PRPackedBool mHasCmapTable
PRPackedBool mCmapInitialized
gfxSparseBitSet mCharacterMap
PRUint32 mUVSOffset
nsAutoArrayPtr< PRUint8 > mUVSData
nsTArray< gfxFontFeaturemFeatureSettings
PRUint32 mLanguageOverride

Protected Member Functions

 gfxFontEntry ()
virtual gfxFontCreateFontInstance (const gfxFontStyle *aFontStyle, PRBool aNeedsBold)

Protected Attributes



class gfxPlatformFontList
class gfxMacPlatformFontList
class gfxUserFcFontEntry
class gfxFontFamily
class gfxSingleFaceMacFontFamily

Constructor & Destructor Documentation

gfxFontEntry::gfxFontEntry ( const nsAString aName,
gfxFontFamily aFamily = 0L,
PRBool  aIsStandardFace = 0 
) [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_external& gfxFontEntry::FamilyName (  )  const
already_AddRefed<gfxFont> gfxFontEntry::FindOrMakeFont ( const gfxFontStyle aStyle,
PRBool  aNeedsBold 
PRBool gfxFontEntry::GetExistingFontTable ( PRUint32  aTag,
hb_blob_t **  aBlob 
virtual nsresult gfxFontEntry::GetFontTable ( PRUint32  aTableTag,
FallibleTArray< PRUint8 > &  aBuffer 
) [inline, virtual]
PRUint16 gfxFontEntry::GetUVSGlyph ( PRUint32  aCh,
PRUint32  aVS 
PRBool gfxFontEntry::HasCharacter ( PRUint32  ch  )  [inline]
PRBool gfxFontEntry::HasCmapTable (  )  [inline]
nsresult gfxFontEntry::InitializeUVSMap (  ) 
PRBool gfxFontEntry::IsBold (  )  const [inline]
PRBool gfxFontEntry::IsFixedPitch (  )  const [inline]
PRBool gfxFontEntry::IsItalic (  )  const [inline]
PRBool gfxFontEntry::IsLocalUserFont (  )  const [inline]
PRBool gfxFontEntry::IsSymbolFont (  )  const [inline]
PRBool gfxFontEntry::IsUserFont (  )  const [inline]
virtual PRBool gfxFontEntry::MatchesGenericFamily ( const nsACString aGeneric  )  const [inline, virtual]
const nsString_external& gfxFontEntry::Name (  )  const [inline]
void gfxFontEntry::PreloadFontTable ( PRUint32  aTag,
FallibleTArray< PRUint8 > &  aTable 
virtual nsresult gfxFontEntry::ReadCMAP (  )  [virtual]
void gfxFontEntry::SetFamily ( gfxFontFamily aFamily  )  [inline]
hb_blob_t* gfxFontEntry::ShareFontTableAndGetBlob ( PRUint32  aTag,
FallibleTArray< PRUint8 > *  aTable 
virtual PRBool gfxFontEntry::SkipDuringSystemFallback (  )  [inline, virtual]
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 gfxFontFamily [friend]
friend class gfxMacPlatformFontList [friend]
friend class gfxPlatformFontList [friend]
friend class gfxSingleFaceMacFontFamily [friend]
friend class gfxUserFcFontEntry [friend]

Member Data Documentation

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