LibreOffice Module vcl (master)
1
|
#include <sft.hxx>
Public Member Functions | |
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 FontCharMapRef & | GetCharMap () const |
virtual bool | hasTable (sal_uInt32 ord) const =0 |
virtual const sal_uInt8 * | table (sal_uInt32 ord, sal_uInt32 &size) const =0 |
Protected Member Functions | |
SFErrCodes | indexGlyphData () |
Private Attributes | |
char * | m_pFileName |
sal_uInt32 | m_nGlyphs |
sal_uInt32 * | m_pGlyphOffsets |
sal_uInt32 | m_nHorzMetrics |
sal_uInt32 | m_nVertMetrics |
sal_uInt32 | m_nUnitsPerEm |
FontCharMapRef | m_xCharMap |
vcl::AbstractTrueTypeFont::AbstractTrueTypeFont | ( | const char * | fileName = nullptr , |
const FontCharMapRef | xCharMap = nullptr |
||
) |
Definition at line 1116 of file sft.cxx.
References m_pFileName.
|
virtual |
Definition at line 1129 of file sft.cxx.
References m_pFileName, and m_pGlyphOffsets.
|
inline |
Definition at line 738 of file sft.hxx.
Referenced by vcl::CreateT42FromTTGlyphs(), vcl::GetCompoundTTOutline(), vcl::GetNames(), vcl::GetSimpleTTOutline(), vcl::GetTTNameRecords(), vcl::TrueTypeFont::open(), and vcl::TrueTypeFont::~TrueTypeFont().
|
inline |
Definition at line 744 of file sft.hxx.
Referenced by vcl::GetTTGlobalFontInfo().
|
inline |
Definition at line 739 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::GetCompoundTTOutline(), SalGraphics::GetGlyphWidths(), vcl::GetSimpleTTOutline(), vcl::GetTTGlyphComponents(), vcl::GetTTGlyphOutline(), and vcl::GetTTRawGlyphData().
|
inline |
Definition at line 740 of file sft.hxx.
Referenced by vcl::GetCompoundTTOutline(), vcl::GetSimpleTTOutline(), vcl::GetTTGlyphComponents(), vcl::GetTTGlyphOutline(), and vcl::GetTTRawGlyphData().
|
pure virtual |
Implemented in vcl::TrueTypeFont.
Referenced by indexGlyphData().
|
inline |
Definition at line 741 of file sft.hxx.
Referenced by vcl::GetMetrics(), vcl::GetTTRawGlyphData(), and vcl::GetTTSimpleGlyphMetrics().
|
protected |
Definition at line 1163 of file sft.cxx.
References assert(), vcl::GetInt16(), vcl::GetUInt16(), vcl::GetUInt32(), hasTable(), vcl::HEAD_indexToLocFormat_offset, vcl::HEAD_Length, vcl::HEAD_unitsPerEm_offset, i, tools::SvRef< T >::is(), m_nGlyphs, m_nHorzMetrics, m_nUnitsPerEm, m_nVertMetrics, m_pGlyphOffsets, m_xCharMap, vcl::O_CFF, vcl::O_cmap, vcl::O_glyf, vcl::O_head, vcl::O_hhea, vcl::O_loca, vcl::O_maxp, vcl::O_name, vcl::O_vhea, vcl::Ok, ParseCMAP(), table(), and vcl::TtFormat.
Referenced by vcl::TrueTypeFont::open().
|
pure virtual |
Implemented in vcl::TrueTypeFont.
Referenced by vcl::CreateTTFromTTGlyphs(), vcl::GetCompoundTTOutline(), vcl::GetMetrics(), vcl::GetSimpleTTOutline(), vcl::GetTTGlobalFontHeadInfo(), vcl::GetTTGlyphComponents(), vcl::GetTTGlyphOutline(), vcl::GetTTNameRecords(), vcl::GetTTRawGlyphData(), vcl::GetTTSimpleGlyphMetrics(), and indexGlyphData().
|
inline |
Definition at line 743 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::CreateT42FromTTGlyphs(), vcl::GetTTGlobalFontHeadInfo(), vcl::GetTTGlobalFontInfo(), and vcl::GetTTSimpleGlyphMetrics().
|
inline |
Definition at line 742 of file sft.hxx.
Referenced by vcl::GetMetrics(), and vcl::GetTTSimpleGlyphMetrics().
|
private |
Definition at line 724 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 726 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 728 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 727 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 723 of file sft.hxx.
Referenced by AbstractTrueTypeFont(), and ~AbstractTrueTypeFont().
|
private |
Definition at line 725 of file sft.hxx.
Referenced by indexGlyphData(), and ~AbstractTrueTypeFont().
|
private |
Definition at line 729 of file sft.hxx.
Referenced by indexGlyphData().