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:
Collaboration diagram for vcl::TrueTypeFont:


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
char * psname
char * family
char * subfamily
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 ( )

Member Function Documentation

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

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

Member Data Documentation

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

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: