LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
vcl::AbstractTrueTypeFont Class Referenceabstract

#include <sft.hxx>

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

Public Member Functions

 AbstractTrueTypeFont (const char *fileName=nullptr, const FontCharMapRef xCharMap=nullptr)
 
virtual ~AbstractTrueTypeFont ()
 
SFErrCodes initialize ()
 
std::string const & 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
 
bool IsSymbolFont () const
 
virtual bool hasTable (sal_uInt32 ord) const =0
 
virtual const sal_uInt8table (sal_uInt32 ord, sal_uInt32 &size) const =0
 

Public Attributes

OString psname
 
OString family
 
OUString ufamily
 
OString subfamily
 
OUString usubfamily
 

Protected Member Functions

SFErrCodes indexGlyphData ()
 

Private Attributes

std::string m_sFileName
 
sal_uInt32 m_nGlyphs
 
sal_uInt32 m_nHorzMetrics
 
sal_uInt32 m_nVertMetrics
 
sal_uInt32 m_nUnitsPerEm
 
std::vector< sal_uInt32 > m_aGlyphOffsets
 
FontCharMapRef m_xCharMap
 
bool m_bIsSymbolFont
 

Detailed Description

Definition at line 730 of file sft.hxx.

Constructor & Destructor Documentation

◆ AbstractTrueTypeFont()

vcl::AbstractTrueTypeFont::AbstractTrueTypeFont ( const char *  fileName = nullptr,
const FontCharMapRef  xCharMap = nullptr 
)

Definition at line 1182 of file sft.cxx.

References m_sFileName.

◆ ~AbstractTrueTypeFont()

vcl::AbstractTrueTypeFont::~AbstractTrueTypeFont ( )
virtual

Definition at line 1194 of file sft.cxx.

Member Function Documentation

◆ fileName()

std::string const & vcl::AbstractTrueTypeFont::fileName ( ) const
inline

◆ glyphCount()

sal_uInt32 vcl::AbstractTrueTypeFont::glyphCount ( ) const
inline

◆ glyphOffset()

sal_uInt32 vcl::AbstractTrueTypeFont::glyphOffset ( sal_uInt32  glyphID) const

◆ hasTable()

virtual bool vcl::AbstractTrueTypeFont::hasTable ( sal_uInt32  ord) const
pure virtual

Implemented in vcl::TrueTypeFont, and vcl::TrueTypeFace.

Referenced by indexGlyphData().

◆ horzMetricCount()

sal_uInt32 vcl::AbstractTrueTypeFont::horzMetricCount ( ) const
inline

Definition at line 753 of file sft.hxx.

Referenced by vcl::GetMetrics(), vcl::GetTTRawGlyphData(), and vcl::GetTTSimpleGlyphMetrics().

◆ indexGlyphData()

SFErrCodes vcl::AbstractTrueTypeFont::indexGlyphData ( )
protected

◆ initialize()

SFErrCodes vcl::AbstractTrueTypeFont::initialize ( )

◆ IsSymbolFont()

bool vcl::AbstractTrueTypeFont::IsSymbolFont ( ) const
inline

Definition at line 756 of file sft.hxx.

Referenced by vcl::GetTTGlobalFontInfo().

◆ table()

virtual const sal_uInt8 * vcl::AbstractTrueTypeFont::table ( sal_uInt32  ord,
sal_uInt32 &  size 
) const
pure virtual

◆ unitsPerEm()

sal_uInt32 vcl::AbstractTrueTypeFont::unitsPerEm ( ) const
inline

◆ vertMetricCount()

sal_uInt32 vcl::AbstractTrueTypeFont::vertMetricCount ( ) const
inline

Definition at line 754 of file sft.hxx.

Referenced by vcl::GetMetrics(), and vcl::GetTTSimpleGlyphMetrics().

Member Data Documentation

◆ family

OString vcl::AbstractTrueTypeFont::family

Definition at line 762 of file sft.hxx.

Referenced by vcl::CreateT42FromTTGlyphs(), and vcl::GetTTGlobalFontInfo().

◆ m_aGlyphOffsets

std::vector<sal_uInt32> vcl::AbstractTrueTypeFont::m_aGlyphOffsets
private

Definition at line 737 of file sft.hxx.

Referenced by glyphOffset(), and indexGlyphData().

◆ m_bIsSymbolFont

bool vcl::AbstractTrueTypeFont::m_bIsSymbolFont
private

Definition at line 739 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nGlyphs

sal_uInt32 vcl::AbstractTrueTypeFont::m_nGlyphs
private

Definition at line 733 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nHorzMetrics

sal_uInt32 vcl::AbstractTrueTypeFont::m_nHorzMetrics
private

Definition at line 734 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nUnitsPerEm

sal_uInt32 vcl::AbstractTrueTypeFont::m_nUnitsPerEm
private

Definition at line 736 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nVertMetrics

sal_uInt32 vcl::AbstractTrueTypeFont::m_nVertMetrics
private

Definition at line 735 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_sFileName

std::string vcl::AbstractTrueTypeFont::m_sFileName
private

Definition at line 732 of file sft.hxx.

Referenced by AbstractTrueTypeFont().

◆ m_xCharMap

FontCharMapRef vcl::AbstractTrueTypeFont::m_xCharMap
private

Definition at line 738 of file sft.hxx.

Referenced by indexGlyphData().

◆ psname

OString vcl::AbstractTrueTypeFont::psname

◆ subfamily

OString vcl::AbstractTrueTypeFont::subfamily

Definition at line 764 of file sft.hxx.

Referenced by vcl::CreateT42FromTTGlyphs(), and vcl::GetTTGlobalFontInfo().

◆ ufamily

OUString vcl::AbstractTrueTypeFont::ufamily

Definition at line 763 of file sft.hxx.

Referenced by vcl::GetTTGlobalFontInfo().

◆ usubfamily

OUString vcl::AbstractTrueTypeFont::usubfamily

Definition at line 765 of file sft.hxx.

Referenced by vcl::GetTTGlobalFontInfo().


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