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 IsMicrosoftSymbolEncoded () 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_bMicrosoftSymbolEncoded
 

Detailed Description

Definition at line 690 of file sft.hxx.

Constructor & Destructor Documentation

◆ AbstractTrueTypeFont()

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

Definition at line 1226 of file sft.cxx.

References m_sFileName.

◆ ~AbstractTrueTypeFont()

vcl::AbstractTrueTypeFont::~AbstractTrueTypeFont ( )
virtual

Definition at line 1238 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.

Referenced by indexGlyphData().

◆ horzMetricCount()

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

Definition at line 713 of file sft.hxx.

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

◆ indexGlyphData()

SFErrCodes vcl::AbstractTrueTypeFont::indexGlyphData ( )
protected

◆ initialize()

SFErrCodes vcl::AbstractTrueTypeFont::initialize ( )

Definition at line 1260 of file sft.cxx.

References vcl::GetNames(), indexGlyphData(), and vcl::Ok.

Referenced by vcl::TrueTypeFont::open().

◆ IsMicrosoftSymbolEncoded()

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

Definition at line 716 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 714 of file sft.hxx.

Referenced by vcl::GetMetrics().

Member Data Documentation

◆ family

OString vcl::AbstractTrueTypeFont::family

Definition at line 722 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 697 of file sft.hxx.

Referenced by glyphOffset(), and indexGlyphData().

◆ m_bMicrosoftSymbolEncoded

bool vcl::AbstractTrueTypeFont::m_bMicrosoftSymbolEncoded
private

Definition at line 699 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nGlyphs

sal_uInt32 vcl::AbstractTrueTypeFont::m_nGlyphs
private

Definition at line 693 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nHorzMetrics

sal_uInt32 vcl::AbstractTrueTypeFont::m_nHorzMetrics
private

Definition at line 694 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nUnitsPerEm

sal_uInt32 vcl::AbstractTrueTypeFont::m_nUnitsPerEm
private

Definition at line 696 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_nVertMetrics

sal_uInt32 vcl::AbstractTrueTypeFont::m_nVertMetrics
private

Definition at line 695 of file sft.hxx.

Referenced by indexGlyphData().

◆ m_sFileName

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

Definition at line 692 of file sft.hxx.

Referenced by AbstractTrueTypeFont().

◆ m_xCharMap

FontCharMapRef vcl::AbstractTrueTypeFont::m_xCharMap
private

Definition at line 698 of file sft.hxx.

Referenced by indexGlyphData().

◆ psname

OString vcl::AbstractTrueTypeFont::psname

◆ subfamily

OString vcl::AbstractTrueTypeFont::subfamily

Definition at line 724 of file sft.hxx.

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

◆ ufamily

OUString vcl::AbstractTrueTypeFont::ufamily

Definition at line 723 of file sft.hxx.

Referenced by vcl::GetTTGlobalFontInfo().

◆ usubfamily

OUString vcl::AbstractTrueTypeFont::usubfamily

Definition at line 725 of file sft.hxx.

Referenced by vcl::GetTTGlobalFontInfo().


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