8 #ifndef SCFONTMETRICS_H
9 #define SCFONTMETRICS_H
12 #include <QGlobalStatic>
19 #include FT_FREETYPE_H
23 #include "scribusapi.h"
25 #include "fpointarray.h"
31 int SCRIBUS_API setBestEncoding(FT_Face face);
32 QString adobeGlyphName(FT_ULong charcode);
34 FPointArray SCRIBUS_API traceChar(FT_Face face, ScFace::ucs4_type chr,
int chs, qreal *x, qreal *y,
bool *err);
35 FPointArray SCRIBUS_API traceGlyph(FT_Face face, ScFace::gid_type gl,
int chs, qreal *x, qreal *y,
bool *err);
36 QPixmap SCRIBUS_API
FontSample(
const ScFace& fnt,
int s, QString ts, QColor back,
bool force =
false);
Definition: FontSample.py:1
Base Class FtFace provides an ScFace private implementation for Freetype based fonts. Subclasses are ScFace_ps and ScFace_ttf.
Definition: ftface.h:53
Base Class ScFace : This is a total rewrite of the old Foi class.
Definition: scface.h:73
Definition: fpointarray.h:42