need to be tweaks but it seems to work on my linux box. I haven't touched any of the other build systems so those will need to be done. We probably don't need all of this stuff but I figured better to add a little too much then to little. Kent
18 lines
248 B
C++
Executable File
18 lines
248 B
C++
Executable File
#include "FTGlyph.h"
|
|
|
|
|
|
FTGlyph::FTGlyph( FT_GlyphSlot glyph)
|
|
: advance(0.0f),
|
|
err(0)
|
|
{
|
|
if( glyph)
|
|
{
|
|
bBox = FTBBox( glyph);
|
|
advance = static_cast<float>( glyph->advance.x) / 64.0f;
|
|
}
|
|
}
|
|
|
|
|
|
FTGlyph::~FTGlyph()
|
|
{}
|