From ad9a570e271a8b00ac9574415feee6cc9dd597fb Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Sat, 16 Jan 2016 10:20:54 -0800 Subject: [PATCH] stb_truetype version history; update README --- README.md | 12 ++++++------ stb_truetype.h | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0fb310e..889cbbc 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ single-file public domain libraries for C/C++ library | lastest version | category | LoC | description --------------------- | ---- | -------- | --- | -------------------------------- -**stb_vorbis.c** | 1.06 | audio | 5441 | decode ogg vorbis files from file/memory to float/16-bit signed output -**stb_image.h** | 2.08 | graphics | 6509 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC -**stb_truetype.h** | 1.08 | graphics | 3235 | parse, decode, and rasterize characters from truetype fonts -**stb_image_write.h** | 1.00 | graphics | 993 | image writing to disk: PNG, TGA, BMP +**stb_vorbis.c** | 1.07 | audio | 5462 | decode ogg vorbis files from file/memory to float/16-bit signed output +**stb_image.h** | 2.09 | graphics | 6610 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC +**stb_truetype.h** | 1.09 | graphics | 3246 | parse, decode, and rasterize characters from truetype fonts +**stb_image_write.h** | 1.01 | graphics | 1044 | image writing to disk: PNG, TGA, BMP **stb_image_resize.h** | 0.90 | graphics | 2586 | resize images larger/smaller with good quality **stb_rect_pack.h** | 0.08 | graphics | 572 | simple 2D rectangle packer with decent quality **stretchy_buffer.h** | 1.02 | utility | 216 | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++ @@ -21,13 +21,13 @@ library | lastest version | category | LoC | description **stb_easy_font.h** | 0.6 | 3D graphics | 232 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc **stb_tilemap_editor.h** | 0.36 | game dev | 4127 | embeddable tilemap editor **stb_herringbone_wa...** | 0.6 | game dev | 1220 | herringbone Wang tile map generator -**stb_c_lexer.h** | 0.06 | parsing | 815 | simplify writing parsers for C-like languages +**stb_c_lexer.h** | 0.07 | parsing | 816 | simplify writing parsers for C-like languages **stb_divide.h** | 0.91 | math | 379 | more useful 32-bit modulus e.g. "euclidean divide" **stb.h** | 2.25 | misc | 14136 | helper functions for C, mostly redundant in C++; basically author's personal stuff **stb_leakcheck.h** | 0.2 | misc | 124 | quick-and-dirty malloc/free leak-checking Total libraries: 18 -Total lines of C code: 46448 +Total lines of C code: 46633 FAQ diff --git a/stb_truetype.h b/stb_truetype.h index 0b1e3b5..b112b8a 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -50,7 +50,7 @@ // // VERSION HISTORY // -// 1.09 (????-??-??) warning fix; avoid crash on outofmem +// 1.09 (2016-01-16) warning fix; avoid crash on outofmem // 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges // 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; // variant PackFontRanges to pack and render in separate phases; @@ -3203,6 +3203,7 @@ STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *font_collection, const // FULL VERSION HISTORY // +// 1.09 (2016-01-16) warning fix; avoid crash on outofmem // 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges // 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; // allow PackFontRanges to pack and render in separate phases;