Class FreeTypeFontFile
class FreeTypeFontFile;
Constructors
| Name | Description |
|---|---|
this
(library, filename)
|
Properties
| Name | Type | Description |
|---|---|---|
allowKerning[get]
|
bool | allow kerning |
baseline[get]
|
int | |
face[get]
|
string | |
filename[get]
|
string | filename |
height[get]
|
int | |
isNull[get]
|
bool | |
italic[get]
|
bool | |
library[get]
|
ft | |
size[get]
|
int | |
weight[get]
|
int |
Methods
| Name | Description |
|---|---|
clear
()
|
|
getCharIndex
(code, def_char)
|
find glyph index for character |
getGlyphInfo
(code, glyph, def_char, withImage)
|
retrieve glyph information, filling glyph struct; returns false if glyph not found |
getKerningOffset
(prevCharIndex, nextCharIndex)
|
|
open
(size, index)
|
open face with specified size |
Aliases
| Name | Description |
|---|---|
~this
|