LibreOffice Module vcl (master) 1
|
#include <sft.hxx>
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_uInt8 * | table (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 |
vcl::AbstractTrueTypeFont::AbstractTrueTypeFont | ( | const char * | fileName = nullptr , |
const FontCharMapRef | xCharMap = nullptr |
||
) |
Definition at line 1226 of file sft.cxx.
References m_sFileName.
|
virtual |
|
inline |
Definition at line 710 of file sft.hxx.
Referenced by vcl::CreateT42FromTTGlyphs(), vcl::GetCompoundTTOutline(), vcl::GetSimpleTTOutline(), vcl::GetTTNameRecords(), vcl::TrueTypeFont::open(), and vcl::TrueTypeFont::~TrueTypeFont().
|
inline |
Definition at line 711 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::GetCompoundTTOutline(), vcl::GetSimpleTTOutline(), vcl::GetTTGlyphComponents(), vcl::GetTTGlyphOutline(), and vcl::GetTTRawGlyphData().
sal_uInt32 vcl::AbstractTrueTypeFont::glyphOffset | ( | sal_uInt32 | glyphID | ) | const |
Definition at line 1271 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 713 of file sft.hxx.
Referenced by vcl::GetMetrics(), and vcl::GetTTRawGlyphData().
|
protected |
Definition at line 1278 of file sft.cxx.
References vcl::GetInt16(), vcl::GetUInt16(), vcl::GetUInt32(), HasMicrosoftSymbolCmap(), hasTable(), vcl::HEAD_indexToLocFormat_offset, vcl::HEAD_Length, vcl::HEAD_unitsPerEm_offset, i, tools::SvRef< typename T >::is(), m_aGlyphOffsets, m_bMicrosoftSymbolEncoded, 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, table(), and vcl::TtFormat.
Referenced by 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().
|
inline |
Definition at line 716 of file sft.hxx.
Referenced by vcl::GetTTGlobalFontInfo().
|
pure virtual |
Implemented in vcl::TrueTypeFont.
Referenced by vcl::CreateTTFfontSubset(), vcl::CreateTTFromTTGlyphs(), vcl::GetCompoundTTOutline(), vcl::GetMetrics(), vcl::GetSimpleTTOutline(), vcl::GetTTGlobalFontHeadInfo(), vcl::GetTTGlobalFontInfo(), vcl::GetTTGlyphComponents(), vcl::GetTTGlyphOutline(), vcl::GetTTNameRecords(), vcl::GetTTRawGlyphData(), and indexGlyphData().
|
inline |
Definition at line 715 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::CreateT42FromTTGlyphs(), vcl::GetTTGlobalFontHeadInfo(), and vcl::GetTTGlobalFontInfo().
|
inline |
Definition at line 714 of file sft.hxx.
Referenced by vcl::GetMetrics().
OString vcl::AbstractTrueTypeFont::family |
Definition at line 722 of file sft.hxx.
Referenced by vcl::CreateT42FromTTGlyphs(), and vcl::GetTTGlobalFontInfo().
|
private |
Definition at line 697 of file sft.hxx.
Referenced by glyphOffset(), and indexGlyphData().
|
private |
Definition at line 699 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 693 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 694 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 696 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 695 of file sft.hxx.
Referenced by indexGlyphData().
|
private |
Definition at line 692 of file sft.hxx.
Referenced by AbstractTrueTypeFont().
|
private |
Definition at line 698 of file sft.hxx.
Referenced by indexGlyphData().
OString vcl::AbstractTrueTypeFont::psname |
Definition at line 721 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::CreateT42FromTTGlyphs(), and vcl::GetTTGlobalFontInfo().
OString vcl::AbstractTrueTypeFont::subfamily |
Definition at line 724 of file sft.hxx.
Referenced by vcl::CreateT42FromTTGlyphs(), and vcl::GetTTGlobalFontInfo().
OUString vcl::AbstractTrueTypeFont::ufamily |
Definition at line 723 of file sft.hxx.
Referenced by vcl::GetTTGlobalFontInfo().
OUString vcl::AbstractTrueTypeFont::usubfamily |
Definition at line 725 of file sft.hxx.
Referenced by vcl::GetTTGlobalFontInfo().