Subversion Repositories Scribus

Rev

Rev 2969 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2529 craig 1
#include <qglobal.h>
2
#include <qstring.h>
3
#include <qcolor.h>
4
 
5
#include <ft2build.h>
6
#include FT_FREETYPE_H
7
#include FT_OUTLINE_H
8
#include FT_GLYPH_H
9
 
2969 craig 10
#include "scribusapi.h"
2529 craig 11
#include "fpoint.h"
12
#include "fpointarray.h"
3133 fschmid 13
#include "pdflib.h"
2529 craig 14
 
15
class Foi;
2534 craig 16
class Scribusdoc;
2529 craig 17
 
2969 craig 18
int SCRIBUS_API setBestEncoding(FT_Face face);
19
FPointArray SCRIBUS_API traceChar(FT_Face face, uint chr, int chs, double *x, double *y, bool *err);
20
QPixmap SCRIBUS_API FontSample(Foi * fnt, int s, QString ts, QColor back, bool force = false);
21
QPixmap SCRIBUS_API fontSamples(Foi * fnt, int s, QString ts, QColor back);
22
bool SCRIBUS_API GlyNames(Foi * fnt, QMap<uint, QString> *GList);
23
bool SCRIBUS_API GlyIndex(Foi * fnt, QMap<uint, PDFlib::GlNamInd> *GListInd);
24
double SCRIBUS_API Cwidth(ScribusDoc *currentDoc, Foi* name, QString ch, int Siz, QString ch2 = " ");
25
double SCRIBUS_API RealCWidth(ScribusDoc *currentDoc, Foi* name, QString ch, int Siz);
26
double SCRIBUS_API RealCAscent(ScribusDoc *currentDoc, Foi* name, QString ch, int Size);
27
double SCRIBUS_API RealCHeight(ScribusDoc *currentDoc, Foi* name, QString ch, int Size);
28
double SCRIBUS_API RealFHeight(ScribusDoc *currentDoc, Foi* name, int Size);