LibreOffice Module vcl (master)
1
|
#include <sft.hxx>
Public Member Functions | |
AbstractTrueTypeFont (const char *fileName=nullptr, const FontCharMapRef xCharMap=nullptr) | |
virtual | ~AbstractTrueTypeFont () |
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 |
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 | |
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 |
vcl::AbstractTrueTypeFont::AbstractTrueTypeFont | ( | const char * | fileName = nullptr , |
const FontCharMapRef | xCharMap = nullptr |
||
) |
Definition at line 1197 of file sft.cxx.
References m_sFileName.
|
virtual |
|
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().
sal_uInt32 vcl::AbstractTrueTypeFont::glyphOffset | ( | sal_uInt32 | glyphID | ) | const |
Definition at line 1240 of file sft.cxx.
References m_aGlyphOffsets.
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 1247 of file sft.cxx.
References vcl::GetInt16(), vcl::GetUInt16(), vcl::GetUInt32(), hasTable(), vcl::HEAD_indexToLocFormat_offset, vcl::HEAD_Length, vcl::HEAD_unitsPerEm_offset, i, tools::SvRef< T >::is(), m_aGlyphOffsets, m_nGlyphs, m_nHorzMetrics, m_nUnitsPerEm, m_nVertMetrics, 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 728 of file sft.hxx.
Referenced by glyphOffset(), and indexGlyphData().
|
private |
Definition at line 724 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 725 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 727 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 726 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 723 of file sft.hxx.
Referenced by AbstractTrueTypeFont().
|
private |
Definition at line 729 of file sft.hxx.
Referenced by indexGlyphData().