Commit Graph

591 Commits

Author SHA1 Message Date
Sean Barrett
ff2d5473c5 Merge branch 'master' of https://github.com/ocornut/stb into working 2014-12-13 23:05:49 -08:00
Fabian Giesen
1996a019ac stb_image: Guess decoded image size before zlib decode to avoid unnecessary reallocs. 2014-12-13 19:15:38 -08:00
Fabian Giesen
3d6dccf0c4 stb_image: Make 'fast' table contain code size and value directly. 2014-12-13 18:48:37 -08:00
Fabian Giesen
007de5eb6e stb_image: Extract zhuffman_decode slow path into own function. 2014-12-13 18:18:36 -08:00
Fabian Giesen
cdc230598e stb_image: Fast path for matches with dist=1 (runs) in stbi__parse_huffman_block. 2014-12-13 18:07:00 -08:00
Fabian Giesen
92b9e262b7 stb_image: Keep zout in a local var during stbi__parse_huffman_block. 2014-12-13 17:58:36 -08:00
Fabian Giesen
8188e842e2 stb_image: Add 'static' for some internal funcs, STBIDEF for external ones. 2014-12-13 17:31:51 -08:00
Fabian Giesen
61428d4526 stb_image: Trivial optimizations for filter path when img_n==out_n. 2014-12-13 17:22:57 -08:00
Sean Barrett
00965512d7 update version number 2014-12-10 00:29:25 -08:00
Sean Barrett
26439254e8 fix use of stbrp_coord if no stb_rect_pack;
fix a few assert()s that weren't STBTT_asserts();
fix missing cast for C++
fix typo in C++ test compilation that prevented it from trying to compile stb_truetype
2014-12-10 00:27:11 -08:00
Sean Barrett
34eec7cc5d Merge branch 'oversample_shift' of https://github.com/rygorous/stb 2014-12-08 20:00:18 -08:00
Sean Barrett
d1c85eac78 update version numbers 2014-12-08 19:58:51 -08:00
Sean Barrett
97037461d9 stb_truetype:
STBTT_POINT_SIZE
   documentation for above

stb_rect_pack:
   STBRP_ASSERT
2014-12-08 19:56:39 -08:00
Fabian Giesen
d9e121f4c7 stb_rect_pack: Fix implicit conversion warnings. 2014-12-08 19:53:12 -08:00
Fabian Giesen
82677e5518 stb_truetype: Fix implicit conversion warnings. 2014-12-08 19:51:39 -08:00
Fabian Giesen
27974c42f9 stb_truetype: Negative size = pixels for EM square. 2014-12-08 19:43:27 -08:00
Fabian Giesen
ffbea74703 stb_rect_pack.h: Impl must include assert.h 2014-12-08 19:39:49 -08:00
Fabian Giesen
5f674fc7e5 stb_truetype: Cancel out phase offset from box filter correctly. 2014-12-08 19:20:41 -08:00
nothings
8ac41a413d fix typo 2014-12-08 11:42:47 -08:00
nothings
3a5caacaae Update README.md 2014-12-06 23:50:34 -08:00
nothings
49d5456de9 Update README.md 2014-12-06 23:49:29 -08:00
nothings
916800aae5 Update README.md 2014-12-06 23:48:10 -08:00
nothings
cd5b5a5684 Update README.md 2014-12-06 23:46:40 -08:00
nothings
b62bc08c34 Update README.md 2014-12-06 23:31:12 -08:00
nothings
ae5bc8dfe9 Update README.md 2014-12-06 23:30:46 -08:00
nothings
9b1e1c50c0 Update README.md 2014-12-06 23:28:28 -08:00
nothings
7d0cec62c8 Update README.md 2014-12-06 23:28:04 -08:00
nothings
4b87ba76fe Update README.md 2014-12-06 23:22:14 -08:00
nothings
539dc3996b Update README.md 2014-12-06 23:21:11 -08:00
nothings
19b24bba1a Update README.md 2014-12-06 23:19:25 -08:00
nothings
c6e1ec0cec Create README.md 2014-12-06 23:17:44 -08:00
Sean Barrett
0a1d82f9e3 readme 2014-12-06 23:02:10 -08:00
Sean Barrett
22dbcffef7 stbtt_Pack* documentation
oversample test tweaks
2014-12-06 23:00:59 -08:00
Sean Barrett
f03e352093 stb_rect_pack: fix LARGE_RECT bug
stb_truetype: oversampling, including oversampling demo app
2014-12-06 12:28:46 -08:00
Sean Barrett
b6f8358f47 various fixes for compilation test 2014-12-02 03:00:08 -08:00
Sean Barrett
0a3dd5aff3 new font bitmap baking API 2014-12-02 02:59:44 -08:00
Sean Barrett
37c95d8d55 add internal version number for use by stb_truetype 2014-12-02 02:59:05 -08:00
Sean Barrett
5f81a92cdd use explicit float constants to avoid warnings in some compilers 2014-12-02 02:58:08 -08:00
Ken Miller
c37efd3142 Merge branch 'master' of https://github.com/kennethdmiller3/stb 2014-11-29 15:21:02 -06:00
Ken Miller
ff4a8a00a9 Merge branch 'master' of https://github.com/nothings/stb 2014-11-29 15:20:45 -06:00
Ken Miller
ff22b6cb56 Merge branch 'master' of https://github.com/nothings/stb 2014-11-27 22:11:54 -06:00
Ken Miller
af982450f1 Merge branch 'working' of https://github.com/nothings/stb 2014-11-27 22:11:17 -06:00
Sean Barrett
99198d044f Merge branch 'working' 2014-11-25 15:32:43 -08:00
Sean Barrett
e9151589ca duh, best-fit should tiebreak using waste, not prioritize waste (which makes bizarre towers) 2014-11-25 15:32:08 -08:00
nothings
36ef8be0be fix typo 2014-11-24 18:56:56 -08:00
Sean Barrett
ece0883f3c Merge branch 'working' 2014-11-24 18:22:14 -08:00
Sean Barrett
2c56e11c59 doc tweaks 2014-11-24 18:21:36 -08:00
Sean Barrett
a9e1f96765 rename 'stbrp_init_packer' to 'stbrp_init_target' since it must be called for every target;
clean up docs
2014-11-24 18:20:13 -08:00
Sean Barrett
8d3ef72e3c fixed bugs related to the best-fit heuristic 2014-11-24 18:12:46 -08:00
Sean Barrett
0c10e7c40e tested & debugged on two cases (both heuristics); unknown if BF is *correct*. 2014-11-24 17:47:06 -08:00