LibreOffice Module vcl (master)  1
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
vcl::TrueTypeFont Class Referencefinal

#include <sft.hxx>

Inheritance diagram for vcl::TrueTypeFont:
[legend]
Collaboration diagram for vcl::TrueTypeFont:
[legend]

Classes

struct  TTFontTable_
 

Public Member Functions

 TrueTypeFont (const char *pFileName=nullptr, const FontCharMapRef xCharMap=nullptr)
 
 ~TrueTypeFont () override
 
SFErrCodes open (sal_uInt32 facenum)
 
bool hasTable (sal_uInt32 ord) const override
 
const sal_uInt8table (sal_uInt32 ord, sal_uInt32 &size) const override
 
- Public Member Functions inherited from vcl::AbstractTrueTypeFont
 AbstractTrueTypeFont (const char *fileName=nullptr, const FontCharMapRef xCharMap=nullptr)
 
virtual ~AbstractTrueTypeFont ()
 
const char * fileName () const
 
sal_uInt32 glyphCount () const
 
sal_uInt32 glyphOffset (sal_uInt32 glyphID) const
 
sal_uInt32 horzMetricCount () const
 
sal_uInt32 vertMetricCount () const
 
sal_uInt32 unitsPerEm () const
 
const FontCharMapRefGetCharMap () const
 

Public Attributes

sal_Int32 fsize
 
sal_uInt8ptr
 
char * psname
 
char * family
 
sal_Unicodeufamily
 
char * subfamily
 
sal_Unicodeusubfamily
 
sal_uInt32 ntables
 

Private Attributes

std::array< struct TTFontTable_, NUM_TAGSm_aTableList
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::AbstractTrueTypeFont
SFErrCodes indexGlyphData ()
 

Detailed Description

Definition at line 750 of file sft.hxx.

Constructor & Destructor Documentation

vcl::TrueTypeFont::TrueTypeFont ( const char *  pFileName = nullptr,
const FontCharMapRef  xCharMap = nullptr 
)

Definition at line 1135 of file sft.cxx.

vcl::TrueTypeFont::~TrueTypeFont ( )
override

Member Function Documentation

bool vcl::TrueTypeFont::hasTable ( sal_uInt32  ord) const
inlineoverridevirtual

Implements vcl::AbstractTrueTypeFont.

Definition at line 777 of file sft.hxx.

Referenced by open().

SFErrCodes vcl::TrueTypeFont::open ( sal_uInt32  facenum)
const sal_uInt8 * vcl::TrueTypeFont::table ( sal_uInt32  ord,
sal_uInt32 &  size 
) const
inlineoverridevirtual

Member Data Documentation

char* vcl::TrueTypeFont::family
sal_Int32 vcl::TrueTypeFont::fsize
std::array<struct TTFontTable_, NUM_TAGS> vcl::TrueTypeFont::m_aTableList
private

Definition at line 758 of file sft.hxx.

Referenced by open(), and table().

sal_uInt32 vcl::TrueTypeFont::ntables

Definition at line 770 of file sft.hxx.

Referenced by open().

char* vcl::TrueTypeFont::psname
sal_uInt8* vcl::TrueTypeFont::ptr
char* vcl::TrueTypeFont::subfamily
sal_Unicode* vcl::TrueTypeFont::ufamily

Definition at line 766 of file sft.hxx.

Referenced by vcl::GetNames(), vcl::GetTTGlobalFontInfo(), and ~TrueTypeFont().

sal_Unicode* vcl::TrueTypeFont::usubfamily

Definition at line 768 of file sft.hxx.

Referenced by vcl::GetNames(), vcl::GetTTGlobalFontInfo(), and ~TrueTypeFont().


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