LibreOffice Module vcl (master) 1
|
#include <sft.hxx>
Classes | |
struct | TTFontTable_ |
Public Member Functions | |
TrueTypeFont (const char *pFileName=nullptr, const FontCharMapRef xCharMap=nullptr) | |
~TrueTypeFont () override | |
SFErrCodes | open (sal_uInt32 facenum) |
bool | hasTable (sal_uInt32 ord) const override |
const sal_uInt8 * | table (sal_uInt32 ord, sal_uInt32 &size) const override |
Public Member Functions inherited from vcl::AbstractTrueTypeFont | |
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 | |
sal_Int32 | fsize |
sal_uInt8 * | ptr |
sal_uInt32 | ntables |
Public Attributes inherited from vcl::AbstractTrueTypeFont | |
OString | psname |
OString | family |
OUString | ufamily |
OString | subfamily |
OUString | usubfamily |
Private Attributes | |
std::array< struct TTFontTable_, NUM_TAGS > | m_aTableList |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::AbstractTrueTypeFont | |
SFErrCodes | indexGlyphData () |
vcl::TrueTypeFont::TrueTypeFont | ( | const char * | pFileName = nullptr , |
const FontCharMapRef | xCharMap = nullptr |
||
) |
|
override |
Definition at line 1250 of file sft.cxx.
References vcl::AbstractTrueTypeFont::fileName(), fsize, and ptr.
|
inlineoverridevirtual |
Implements vcl::AbstractTrueTypeFont.
Definition at line 748 of file sft.hxx.
References m_aTableList.
Referenced by open().
SFErrCodes vcl::TrueTypeFont::open | ( | sal_uInt32 | facenum | ) |
Definition at line 1342 of file sft.cxx.
References vcl::AbstractTrueTypeFont::fileName(), vcl::FontNo, fsize, vcl::GetInt32(), vcl::GetUInt16(), vcl::GetUInt32(), hasTable(), i, vcl::AbstractTrueTypeFont::initialize(), length, m_aTableList, nIndex, ntables, vcl::NUM_TAGS, vcl::O_CFF, vcl::O_cmap, vcl::O_cvt, vcl::O_fpgm, vcl::O_glyf, vcl::O_head, vcl::O_hhea, vcl::O_hmtx, vcl::O_loca, vcl::O_maxp, vcl::O_name, vcl::O_OS2, vcl::O_post, vcl::O_prep, vcl::O_vhea, vcl::O_vmtx, p, pData, ptr, SAL_WARN, SAL_WARN_IF, vcl::T_CFF, vcl::T_cmap, vcl::T_cvt, vcl::T_fpgm, vcl::T_glyf, vcl::T_head, vcl::T_hhea, vcl::T_hmtx, vcl::T_loca, vcl::T_maxp, vcl::T_name, vcl::T_OS2, vcl::T_otto, vcl::T_post, vcl::T_prep, vcl::T_true, vcl::T_ttcf, vcl::T_vhea, vcl::T_vmtx, vcl::TtFormat, and Version.
|
inlineoverridevirtual |
Implements vcl::AbstractTrueTypeFont.
Definition at line 752 of file sft.hxx.
References m_aTableList, vcl::NUM_TAGS, and size.
Referenced by FontSubsetInfo::CreateFontSubsetFromSfnt(), vcl::CreateT3FromTTGlyphs(), and vcl::CreateT42FromTTGlyphs().
sal_Int32 vcl::TrueTypeFont::fsize |
Definition at line 739 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::CreateT42FromTTGlyphs(), open(), and ~TrueTypeFont().
|
private |
Definition at line 736 of file sft.hxx.
Referenced by hasTable(), open(), and table().
sal_uInt8* vcl::TrueTypeFont::ptr |
Definition at line 740 of file sft.hxx.
Referenced by vcl::CreateT3FromTTGlyphs(), vcl::CreateT42FromTTGlyphs(), open(), and ~TrueTypeFont().