|
Scribus
Open source desktop publishing at your fingertips
|
#include <sfnt.h>
Public Member Functions | |
| KernFeature (FT_Face face) | |
| KernFeature (const KernFeature &kf) | |
| double | getPairValue (unsigned int glyph1, unsigned int glyph2) const |
| bool | isValid () const |
An object holding a table of kerning pairs extracted from a kern feature such as found in a GPOS table
| KernFeature::KernFeature | ( | FT_Face | face | ) |
Build a ready-to-use kerning pairs table
| face | a valid FT_Face, It won’t be store by KernFeature |
| double KernFeature::getPairValue | ( | unsigned int | glyph1, |
| unsigned int | glyph2 | ||
| ) | const |
Get the kerning value for a pair of glyph indexes.
| glyph1 | Index of the left glyph in logical order |
| glyph2 | Index of the right glyph in logical order |
|
inline |
The table can have been invalidated if something went wrong at any moment.