Sean Barrett
f9e593c25c
Merge branch 'optimize' of https://github.com/rygorous/stb into working
...
Conflicts:
stb_image.h
Also disable VC6 automatic precompiled headers which were enabled in some projects.
ago%!(EXTRA string=11 years)
Sean Barrett
8ac015c03f
fix 1/2/4-bit png to filter bytes before decoding to pixels;
...
rename pngsuite/part1 to pngsuite/primary;
check in pngsuite
ago%!(EXTRA string=11 years)
Sean Barrett
01d2c9d957
test program now verifies pngsuite tests against refererence versions
ago%!(EXTRA string=11 years)
Sean Barrett
8679ce08b7
fix incorrect img_n variable for interlaced files, caused files to be totally incorrect if forcing channel count
ago%!(EXTRA string=11 years)
Sean Barrett
ff2d5473c5
Merge branch 'master' of https://github.com/ocornut/stb into working
ago%!(EXTRA string=11 years)
Fabian Giesen
1996a019ac
stb_image: Guess decoded image size before zlib decode to avoid unnecessary reallocs.
ago%!(EXTRA string=11 years)
Fabian Giesen
3d6dccf0c4
stb_image: Make 'fast' table contain code size and value directly.
ago%!(EXTRA string=11 years)
Fabian Giesen
007de5eb6e
stb_image: Extract zhuffman_decode slow path into own function.
ago%!(EXTRA string=11 years)
Fabian Giesen
cdc230598e
stb_image: Fast path for matches with dist=1 (runs) in stbi__parse_huffman_block.
ago%!(EXTRA string=11 years)
Fabian Giesen
92b9e262b7
stb_image: Keep zout in a local var during stbi__parse_huffman_block.
ago%!(EXTRA string=11 years)
Fabian Giesen
8188e842e2
stb_image: Add 'static' for some internal funcs, STBIDEF for external ones.
ago%!(EXTRA string=11 years)
Fabian Giesen
61428d4526
stb_image: Trivial optimizations for filter path when img_n==out_n.
ago%!(EXTRA string=11 years)
Sean Barrett
00965512d7
update version number
ago%!(EXTRA string=11 years)
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
ago%!(EXTRA string=11 years)
Sean Barrett
34eec7cc5d
Merge branch 'oversample_shift' of https://github.com/rygorous/stb
ago%!(EXTRA string=11 years)
Sean Barrett
d1c85eac78
update version numbers
ago%!(EXTRA string=11 years)
Sean Barrett
97037461d9
stb_truetype:
...
STBTT_POINT_SIZE
documentation for above
stb_rect_pack:
STBRP_ASSERT
ago%!(EXTRA string=11 years)
Fabian Giesen
d9e121f4c7
stb_rect_pack: Fix implicit conversion warnings.
ago%!(EXTRA string=11 years)
Fabian Giesen
82677e5518
stb_truetype: Fix implicit conversion warnings.
ago%!(EXTRA string=11 years)
Fabian Giesen
27974c42f9
stb_truetype: Negative size = pixels for EM square.
ago%!(EXTRA string=11 years)
Fabian Giesen
ffbea74703
stb_rect_pack.h: Impl must include assert.h
ago%!(EXTRA string=11 years)
Fabian Giesen
5f674fc7e5
stb_truetype: Cancel out phase offset from box filter correctly.
ago%!(EXTRA string=11 years)
nothings
8ac41a413d
fix typo
ago%!(EXTRA string=11 years)
nothings
3a5caacaae
Update README.md
ago%!(EXTRA string=11 years)
nothings
49d5456de9
Update README.md
ago%!(EXTRA string=11 years)
nothings
916800aae5
Update README.md
ago%!(EXTRA string=11 years)
nothings
cd5b5a5684
Update README.md
ago%!(EXTRA string=11 years)
nothings
b62bc08c34
Update README.md
ago%!(EXTRA string=11 years)
nothings
ae5bc8dfe9
Update README.md
ago%!(EXTRA string=11 years)
nothings
9b1e1c50c0
Update README.md
ago%!(EXTRA string=11 years)
nothings
7d0cec62c8
Update README.md
ago%!(EXTRA string=11 years)
nothings
4b87ba76fe
Update README.md
ago%!(EXTRA string=11 years)
nothings
539dc3996b
Update README.md
ago%!(EXTRA string=11 years)
nothings
19b24bba1a
Update README.md
ago%!(EXTRA string=11 years)
nothings
c6e1ec0cec
Create README.md
ago%!(EXTRA string=11 years)
Sean Barrett
0a1d82f9e3
readme
ago%!(EXTRA string=11 years)
Sean Barrett
22dbcffef7
stbtt_Pack* documentation
...
oversample test tweaks
ago%!(EXTRA string=11 years)
Sean Barrett
f03e352093
stb_rect_pack: fix LARGE_RECT bug
...
stb_truetype: oversampling, including oversampling demo app
ago%!(EXTRA string=11 years)
Sean Barrett
b6f8358f47
various fixes for compilation test
ago%!(EXTRA string=11 years)
Sean Barrett
0a3dd5aff3
new font bitmap baking API
ago%!(EXTRA string=11 years)
Sean Barrett
37c95d8d55
add internal version number for use by stb_truetype
ago%!(EXTRA string=11 years)
Sean Barrett
5f81a92cdd
use explicit float constants to avoid warnings in some compilers
ago%!(EXTRA string=11 years)
Sean Barrett
99198d044f
Merge branch 'working'
ago%!(EXTRA string=11 years)
Sean Barrett
e9151589ca
duh, best-fit should tiebreak using waste, not prioritize waste (which makes bizarre towers)
ago%!(EXTRA string=11 years)
nothings
36ef8be0be
fix typo
ago%!(EXTRA string=11 years)
Sean Barrett
ece0883f3c
Merge branch 'working'
ago%!(EXTRA string=11 years)
Sean Barrett
2c56e11c59
doc tweaks
ago%!(EXTRA string=11 years)
Sean Barrett
a9e1f96765
rename 'stbrp_init_packer' to 'stbrp_init_target' since it must be called for every target;
...
clean up docs
ago%!(EXTRA string=11 years)
Sean Barrett
8d3ef72e3c
fixed bugs related to the best-fit heuristic
ago%!(EXTRA string=11 years)
Sean Barrett
0c10e7c40e
tested & debugged on two cases (both heuristics); unknown if BF is *correct*.
ago%!(EXTRA string=11 years)