arsd.ttf

TrueType Font rendering.

More...

Members

Aliases

stbtt_vertex_type
alias stbtt_vertex_type = short

Enums

STBTT_vmove
enum STBTT_vmove

Functions

stbtt_BakeFontBitmap
int stbtt_BakeFontBitmap(const 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(const 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(in stbtt_uint8* p)

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

Static functions

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

Structs

TtfFont
struct TtfFont
stbtt_bakedchar
struct stbtt_bakedchar
stbtt_fontinfo
struct stbtt_fontinfo

Variables

STBTT_MACSTYLE_DONTCARE
auto STBTT_MACSTYLE_DONTCARE

Detailed Description

Started as a copy of stb_truetype by Sean Barrett. It will be changing more later.

Suggestion Box / Bug Report