Scribus
Open source desktop publishing at your fingertips
ScFace_ttf Class Reference
Inheritance diagram for ScFace_ttf:
Collaboration diagram for ScFace_ttf:

Public Member Functions

 ScFace_ttf (QString fam, QString sty, QString alt, QString scname, QString psname, QString path, int face)
 
void load () const
 
void unload () const
 
bool EmbedFont (QByteArray &str) const
 
void RawData (QByteArray &bb) const
 
qreal glyphKerning (ScFace::gid_type gl1, ScFace::gid_type gl2, qreal sz) const
 
virtual bool glyphNames (ScFace::FaceEncoding &GList) const
 
virtual bool hasNames () const
 
virtual bool isSymbolic () const
 
- Public Member Functions inherited from FtFace
 FtFace (QString fam, QString sty, QString variant, QString scname, QString psname, QString path, int face)
 
FT_Face ftFace () const
 
qreal ascent (qreal sz=1.0) const
 
qreal descent (qreal sz=1.0) const
 
qreal xHeight (qreal sz=1.0) const
 
qreal capHeight (qreal sz=1.0) const
 
qreal height (qreal sz=1.0) const
 
qreal strikeoutPos (qreal sz=1.0) const
 
qreal underlinePos (qreal sz=1.0) const
 
qreal strokeWidth (qreal) const
 
qreal maxAdvanceWidth (qreal sz=1.0) const
 
QString pdfAscentAsString () const
 
QString pdfDescentAsString () const
 
QString pdfCapHeightAsString () const
 
QString pdfFontBBoxAsString () const
 
QString italicAngleAsString () const
 
ScFace::gid_type char2CMap (QChar ch) const
 
void loadGlyph (ScFace::gid_type gl) const
 

Additional Inherited Members

- Static Public Member Functions inherited from FtFace
static bool hasMicrosoftUnicodeCmap (FT_Face face)
 
static QString adobeGlyphName (FT_ULong charcode)
 
- Public Attributes inherited from ScFace::ScFaceData
int refs
 controls destruction
 
int usage
 controls load()
 
QString scName
 
QString fontFile
 
int faceIndex
 
QString psName
 
QString family
 
QString style
 
QString variant
 
QString forDocument
 
ScFace::Status status
 
ScFace::FontType typeCode
 
ScFace::FontFormat formatCode
 
bool usable
 
bool embedPs
 
bool subset
 
bool outline
 
bool isStroked
 
bool isFixedPitch
 
bool hasGlyphNames
 
gid_type maxGlyph
 
- Protected Member Functions inherited from ScFace::ScFaceData
virtual QMap< QString, QString > fontDictionary (qreal sz=1.0) const
 
virtual GlyphMetrics glyphBBox (gid_type gl, qreal sz) const
 
virtual bool glyphNames (QMap< gid_type, std::pair< ucs4_type, QString > > &gList) const
 
virtual qreal glyphWidth (gid_type gl, qreal sz) const
 
virtual FPointArray glyphOutline (gid_type gl, qreal sz) const
 
virtual FPoint glyphOrigin (gid_type gl, qreal sz) const
 
- Protected Attributes inherited from FtFace
FT_Face m_face
 
QString m_pdfAscent
 
QString m_pdfCapHeight
 
QString m_pdfDescender
 
QString m_italicAngle
 
QString m_pdfFontBBox
 
int m_encoding
 
qreal m_uniEM
 
qreal m_ascent
 
qreal m_descent
 
qreal m_height
 
qreal m_xHeight
 
qreal m_capHeight
 
qreal m_maxAdvanceWidth
 
qreal m_underlinePos
 
qreal m_strikeoutPos
 
qreal m_strokeWidth
 
- Protected Attributes inherited from ScFace::ScFaceData
Status cachedStatus
 
QHash< gid_type, qreal > m_glyphWidth
 
QHash< gid_type, GlyphDatam_glyphOutline
 
- Static Protected Attributes inherited from FtFace
static FT_Library library = NULL
 

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