stb_truetype

This module is no longer maintained, use arsd.ttf instead. stb_truetype.h - v0.6c - public domain authored from 2009-2012 by Sean Barrett / RAD Game Tools

Members

Enums

STBTT_vmove
anonymousenum STBTT_vmove

///////////////////////////////////////////////////////////////////////////

Functions

stbtt_BakeFontBitmap
int stbtt_BakeFontBitmap(ubyte* data, int offset, float pixel_height, ubyte* pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar* chardata)

///////////////////////////////////////////////////////////////////////////

stbtt_GetGlyphBitmapBoxSubpixel
void stbtt_GetGlyphBitmapBoxSubpixel(stbtt_fontinfo* font, int glyph, float scale_x, float scale_y, float shift_x, float shift_y, int* ix0, int* iy0, int* ix1, int* iy1)

///////////////////////////////////////////////////////////////////////////

ttBYTE
stbtt_uint8 ttBYTE(stbtt_uint8* p)

//////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// / / IMPLEMENTATION / / ///////////////////////////////////////////////////////////////////////

Manifest constants

STBTT_MACSTYLE_DONTCARE
enum STBTT_MACSTYLE_DONTCARE;

///////////////////////////////////////////////////////////////////////////

Static functions

stbtt__CompareUTF8toUTF16_bigendian_prefix
stbtt_int32 stbtt__CompareUTF8toUTF16_bigendian_prefix(stbtt_uint8* s1, stbtt_int32 len1, const(stbtt_uint8)* s2, stbtt_int32 len2)

///////////////////////////////////////////////////////////////////////////

Structs

stbtt_bakedchar
struct stbtt_bakedchar

///////////////////////////////////////////////////////////////////////////

stbtt_fontinfo
struct stbtt_fontinfo

///////////////////////////////////////////////////////////////////////////

Meta