24 class DtGlyphRenderer;
25 class DtGLFontManager;
38 const std::string& fontName()
const;
41 bool attachFile(
const char* fontFilePath);
44 void setFreeTypeLoadFlags(
unsigned int flags);
47 bool setCharacterMap(
unsigned int encoding);
50 const unsigned int* characterMaps();
53 unsigned int characterMapCount()
const;
59 bool setFaceSize(
const unsigned int size);
62 unsigned int faceSize()
const;
65 float globalAscender()
const;
68 float globalDescender()
const;
71 virtual float lineHeight()
const;
75 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
79 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
83 unsigned int pos = 0,
int len = -1);
86 void releaseResources();
92 bool checkError()
const;
97 bool characterCodeIsIndex =
false);
100 DtGlyph* findOrLoadGlyph(
const unsigned int chr);
104 unsigned int indexInFont(
const unsigned int characterCode)
const;
107 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:122
A class which encapsulates a free type face object.
Definition: DtFreeTypeFace.h:23
Abstract class for handling glyph rendering.
Definition: DtGlyphRenderer.h:21
A class which represents a glyph instance.
Definition: DtGlyph.h:21
Manages instances of fonts, the font will be kept in memory unless the manager is cleared...
Definition: DtGLFontManager.h:26
#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:30
A class with encapsulated a font loaded from disk with a given size.
Definition: DtFontInterface.h:22
Contains makVrv::DtFontInterface class declaration.
A pen object with parameters on how to draw text.
Definition: DtBoundingBox.h:80
A simple bounding box.
Definition: DtBoundingBox.h:101