stb
stb copied to clipboard
stb single-file public domain libraries for C/C++
**Describe the bug** use macosx 13 PingFang.ttc stbtt_FindGlyphIndex Assertion failed ``` Assertion failed: (0), function stbtt_FindGlyphIndex, file stb_truetype.h, line 1585. ``` **To Reproduce** demo.c ```c #include #include #define STB_TRUETYPE_IMPLEMENTATION #include...
…ackFontRanges. This fixes https://github.com/nothings/stb/issues/1508
When using stbi_info_from_xxx() it's impossible to know which files type was detected. This patch is a quick (possibly incomplete?) fix for that.
**Describe the bug** I encountered a "Segmentation fault" while calling **stbi_load_gif_from_memory()** with the [animated gif](https://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia_logo_puzzle_globe_spins_horizontally_and_vertically%2C_revealing_the_contents_of_all_of_its_puzzle_pieces%2C_without_background.gif) from the [GIF wikipedia french page](https://fr.wikipedia.org/wiki/Graphics_Interchange_Format). tl;dr I use **gifsicle** to optimise and fix animated...
Just refer to attached gif file. In web browser it is right! However when I use stb_image stbi__load_gif_main() to decode a file. Some frame is wrong, just like we do...