home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / fonts / scfontmetrics.h < prev   
Encoding:
C/C++ Source or Header  |  2009-02-06  |  1.2 KB  |  38 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7.  
  8. #ifndef SCFONTMETRICS_H
  9. #define SCFONTMETRICS_H
  10.  
  11. #include <utility>
  12. #include <QGlobalStatic>
  13. #include <QString>
  14. #include <QColor>
  15. //Added by qt3to4:
  16. #include <QPixmap>
  17.  
  18. #include <ft2build.h>
  19. #include FT_FREETYPE_H
  20. #include FT_OUTLINE_H
  21. #include FT_GLYPH_H
  22.  
  23. #include "scribusapi.h"
  24. #include "fpoint.h"
  25. #include "fpointarray.h"
  26.  
  27. class ScFace;
  28. class Scribusdoc;
  29.  
  30. int SCRIBUS_API setBestEncoding(FT_Face face);
  31. FPointArray SCRIBUS_API traceChar(FT_Face face, uint chr, int chs, qreal *x, qreal *y, bool *err);
  32. FPointArray SCRIBUS_API traceGlyph(FT_Face face, uint chr, int chs, qreal *x, qreal *y, bool *err);
  33. QPixmap SCRIBUS_API FontSample(const ScFace& fnt, int s, QString ts, QColor back, bool force = false);
  34. //QPixmap SCRIBUS_API fontSamples(const ScFace& fnt, int s, QString ts, QColor back);
  35. bool SCRIBUS_API GlyNames(FT_Face face, QMap<uint, std::pair<QChar, QString> >& GList);
  36.  
  37. #endif
  38.