23 class DtGlyphRenderer;
45 const std::string& fontName()
const;
48 bool attachFile(
const char* fontFilePath);
51 void setFreeTypeLoadFlags(
unsigned int flags);
54 bool setCharacterMap(
unsigned int encoding);
57 const unsigned int* characterMaps();
60 unsigned int characterMapCount()
const;
66 bool setFaceSize(
const unsigned int size);
69 unsigned int faceSize()
const;
72 float globalAscender()
const;
75 float globalDescender()
const;
78 float lineHeight()
const;
82 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
86 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
90 unsigned int pos = 0,
int len = -1);
93 void releaseResources();
99 bool checkError()
const;
104 bool characterCodeIsIndex =
false);
107 DtGlyph* findOrLoadGlyph(
const unsigned int chr);
111 unsigned int indexInFont(
const unsigned int characterCode)
const;
114 Dt2dPoint calculateKerning(
unsigned int index1,
unsigned int index2);
A unicode string.
Definition: DtUnicode.h:33
Contains the makVrv::DtBoundingBox class declaration.
A 2D point.
Definition: DtBoundingBox.h:19
FontPrivate * myImpl
Internal FTGL FTFont implementation object. For private use only.
Definition: DtFont.h:129
A class which encapsulates a free type face object.
Definition: DtFreeTypeFace.h:26
Abstract class for handling glyph rendering.
Definition: DtGlyphRenderer.h:21
A class which represents a glyph instance.
Definition: DtGlyph.h:21
TextAlignement
Definition: DtFont.h:33
Manages instances of fonts, the font will be kept in memory unless the manager is cleared...
Definition: DtFontManager.h:28
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
A class with encapsulated a font loaded from disk with a given size.
Definition: DtFont.h:29
A pen object with parameters on how to draw text.
Definition: DtBoundingBox.h:80
A simple bounding box.
Definition: DtBoundingBox.h:101