Dobe Peter
a66dd42d4c
stb_image: fix three unused function warnings
ago%!(EXTRA string=7 years)
Omar
886cca8f15
stb_truetype: stbtt_PackFontRanges skip missing glyphs.
ago%!(EXTRA string=7 years)
Martin Stensgård
ebcae5b130
stb_textedit: remove double initialization
...
`clang-scan` found this
ago%!(EXTRA string=7 years)
Marcin Wojdyr
e0a0328b43
add tests to tests/test_sprintf.c
ago%!(EXTRA string=7 years)
Sean Barrett
e5254a7fde
whoops, makefile for travis was no longer testing most libraries compiling
ago%!(EXTRA string=7 years)
kroko / Reinis Adovičs
756166e853
fix comma warnings when building with -Wcomma
...
Happens on standard Xcode Version 9.2 (9C40b) configuration (using Apple LLVM version 9.0.0 (clang-900.0.39.2)). Addresses https://github.com/nothings/stb/issues/515
ago%!(EXTRA string=7 years)
Daniel Gibson
1ad30e4e77
stb_image_write.h: Fix jpg flipping for non-multiple-of-8 sizes
...
JPG always encodes 8x8 pixel blocks. If the input image does not have
a width or height that's a multiple of 8, the last column or row is just
used multiple times for the remaining pixels of the block.
The original code first calculated p (the index into the pixel data)
with the "imaginary" row/colum (that might be up to 7 pixels too far
into each direction) and then subtracted the necessary amount of bytes
it if row >= height or col >= width.
That was a bit cryptic (IMHO), and didn't get more readable/obvious when
vertical flipping was added - which introduced a bug, by not taking
stbi__flip_vertically_on_write into account when adjusting p for
row >= height...
The code should be more obvious (and less buggy) now.
This fixes bug #592
ago%!(EXTRA string=7 years)
Omar Cornut
cc99df4b48
stb_truetype: added comment about stbtt_FindGlyphIndex() return value.
ago%!(EXTRA string=7 years)
PopPoLoPoPpo
f685ee4e58
Fix overflow in stbi_write_hdr_core()
...
b056850ea9
left an additional multiplication by x,
leading to overflow.
ago%!(EXTRA string=7 years)
Omar Cornut
4716080627
stb_truetype: fix unused variable warning when asserts are disabled.
ago%!(EXTRA string=7 years)
JR
d0ae424061
Re added unicode filename support for stb_image and stb_image_write with whitespace issues fixed.
ago%!(EXTRA string=7 years)
Mikhail Morozov
fa8fe30532
Merge pull request #1 from nothings/master
...
Update stb
ago%!(EXTRA string=7 years)
Omar Cornut
eb3c5db96c
stb_reck_pack: Removed unused assigned variables (under #ifdef _DEBUG wrap)
ago%!(EXTRA string=7 years)
luz.paz
622b3adad3
Misc. comment typos
...
Found via `codespell -q 3`
ago%!(EXTRA string=7 years)
Sean Barrett
e6afb9cbae
update readme
ago%!(EXTRA string=7 years)
Sean Barrett
fa2a1d9b3b
stb_image version number
ago%!(EXTRA string=7 years)
Sean Barrett
0707304469
update readme
ago%!(EXTRA string=7 years)
Sean Barrett
19850aa29a
Merge branch 'working'
ago%!(EXTRA string=7 years)
Sean Barrett
af786f9883
update readme
ago%!(EXTRA string=7 years)
Sean Barrett
0c11c4f1b6
rework GPOS support for old non-declare-anywhere C
ago%!(EXTRA string=7 years)
Sean Barrett
6d59a4913f
Merge branch 'stb-truetype-gpos-request' of https://github.com/danielmaciel/stb into working
ago%!(EXTRA string=7 years)
Sean Barrett
cd62aa9714
docs
ago%!(EXTRA string=7 years)
Sean Barrett
ac66307576
docs
ago%!(EXTRA string=7 years)
Sean Barrett
b79c8458d3
stb_vorbis: avoid NaN due to uninitialized variable
ago%!(EXTRA string=7 years)
Sean Barrett
543ad0c112
stb_image_write: tweak handling of STB_IMAGE_WRITE_STATIC
ago%!(EXTRA string=7 years)
Sean Barrett
aeb2b4b64d
tweak handling of STBIWDEF
ago%!(EXTRA string=7 years)
Sean Barrett
dbf0fab1c7
stb_image_write: credits
ago%!(EXTRA string=7 years)
Sean Barrett
2886b67f7f
Merge branch 'stb_image_write_png_filters_fix' of https://github.com/kosua20/stb into working
ago%!(EXTRA string=7 years)
Sean Barrett
6382814b8c
Merge branch 'image_write_variable_typos' of https://github.com/cap/stb into working
ago%!(EXTRA string=7 years)
Sean Barrett
4eef034d52
stb_write_image: fix typos
ago%!(EXTRA string=7 years)
Cap Petschulat
6ab920bb6a
stb_image_write: fix png compression level typos
ago%!(EXTRA string=7 years)
Simon Rodriguez
34f087ce4c
stb_image_write: fix indexing error when computing PNG filters with the stbi__flip_vertically_on_write on.
...
The PNG filters of the pixels row N are computed using row N-1 of the final image. If the image should be flipped when saving, this corresponds to row N+1 of the initial image.
ago%!(EXTRA string=7 years)
Sean Barrett
a77d9213e4
stb_vorbis: no dealloca
ago%!(EXTRA string=7 years)
Sean Barrett
a6796aee40
test stb_lib
ago%!(EXTRA string=7 years)
Sean Barrett
0ba9ff6599
stb_image: fix unused variable warning
ago%!(EXTRA string=7 years)
Jordan Peck
15685cc4d4
Removed seed from documentation
ago%!(EXTRA string=7 years)
Sean Barrett
6ba21df503
update dsp with new compile tests
ago%!(EXTRA string=7 years)
Sean Barrett
48168170a1
stb_truetype: add STBTT_fmod
ago%!(EXTRA string=7 years)
Jordan
ca6548c30a
Changed gradient idx table to match previous implementation, removed seeds from public API
ago%!(EXTRA string=7 years)
Sean Barrett
73990fefe7
update readme
ago%!(EXTRA string=7 years)
Sean Barrett
a9672961c9
more cases of STB_NO_HDR and STB_NO_LINEAR interfering
ago%!(EXTRA string=7 years)
Sean Barrett
40f43afe56
tweak tests
ago%!(EXTRA string=7 years)
Sean Barrett
602e986824
fix STBI_NO_HDR and STBI_NO_LINEAR to compile correctly even if you don't #include <math.h>
ago%!(EXTRA string=7 years)
Sean Barrett
085ba4b627
add compilation tests that have no other includes to avoid accidental dependencies
ago%!(EXTRA string=7 years)
Sean Barrett
01daa3a244
stb_sprintf: fix size-only snprintf query
ago%!(EXTRA string=7 years)
Sean Barrett
ccee11ad79
stb_image: fix warnings
ago%!(EXTRA string=7 years)
Sean Barrett
3ac351f39d
break out stb_lib.h
ago%!(EXTRA string=7 years)
Sean Barrett
06fedddb4d
fix stb_dxt.h; fix misspelled STB_DXT_IMPLEMENTATION in test jig
ago%!(EXTRA string=7 years)
Daniel Ribeiro Maciel
e460d1a8d8
Add basic GPOS kerning
ago%!(EXTRA string=7 years)
Sean Barrett
f2974f6c1c
update readme version number
ago%!(EXTRA string=7 years)