1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
#include <cassert>
#include "FTICUFace.h"
FTICUFace::FTICUFace( const char* filename)
: face( filename)
{
err = face.Error();
}
FTICUFace::FTICUFace( const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
: face( pBufferBytes, bufferSizeInBytes)
{
err = face.Error();
}
FTICUFace::~FTICUFace()
{}
const void* FTICUFace::getFontTable( LETag tableTag) const
{
assert( false);
}
le_bool FTICUFace::canDisplay( LEUnicode32 ch) const
{
assert( false);
}
le_int32 FTICUFace::getUnitsPerEM() const
{
return face.UnitsPerEM();
}
void FTICUFace::mapCharsToGlyphs( const LEUnicode chars[], le_int32 offset,
le_int32 count, le_bool reverse, const LECharMapper *mapper,
LEGlyphID glyphs[]) const
{
assert( false);
}
LEGlyphID FTICUFace::mapCharToGlyph( LEUnicode32 ch, const LECharMapper *mapper) const
{
assert( false);
}
le_int32 FTICUFace::getName( le_uint16 platformID, le_uint16 scriptID, le_uint16 languageID,
le_uint16 nameID, LEUnicode *name) const
{
assert( false);
}
void FTICUFace::getGlyphAdvance( LEGlyphID glyph, LEPoint &advance) const
{
assert( false);
}
le_bool FTICUFace::getGlyphPoint( LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const
{
assert( false);
}
float FTICUFace::getXPixelsPerEm() const
{
assert( false);
}
float FTICUFace::getYPixelsPerEm() const
{
assert( false);
}
float FTICUFace::xUnitsToPoints( float xUnits) const
{
assert( false);
}
float FTICUFace::yUnitsToPoints( float yUunits) const
{
assert( false);
}
void FTICUFace::unitsToPoints( LEPoint &units, LEPoint &points) const
{
assert( false);
}
float FTICUFace::xPixelsToUnits( float xPixels) const
{
assert( false);
}
float FTICUFace::yPixelsToUnits( float yPixels) const
{
assert( false);
}
void FTICUFace::pixelsToUnits( LEPoint &pixels, LEPoint &units) const
{
assert( false);
}
void FTICUFace::transformFunits( float xFunits, float yFunits, LEPoint &pixels) const
{
assert( false);
}