Sean Barrett
e140649ccf
remove trailign whitespace
ago%!(EXTRA string=5 years)
Sean Barrett
cd742941e6
stb_truetype: fix warning
ago%!(EXTRA string=5 years)
Sean Barrett
2bb4a0accd
Fix trailing whitespace
ago%!(EXTRA string=5 years)
Sean Barrett
7a69424f15
update version numbers
ago%!(EXTRA string=5 years)
Sean Barrett
5e4a0617b7
udpate version numbers
ago%!(EXTRA string=5 years)
Sean Barrett
fe6bef2307
stb_truetype: clean up svg support
ago%!(EXTRA string=5 years)
Sean Barrett
787f1d646a
Update version numbers
ago%!(EXTRA string=6 years)
Brotcrunsher
f7d1cd581e
Allowing Compound Glyphs with `numberOfContours < -1`
...
While it is recommended that the numberOfContours are set to -1 for compound glyphs, it is allowed to have any negative value. Source: https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html
However, I don't know if this happens in practice.
ago%!(EXTRA string=6 years)
Chris Young
0a1016331c
Add functions to extract SVG glyphs from font.
...
The fucntions are:
stbtt_GetCodepointSVG - provides a pointer to the SVG data in the supplied argument, and returns the length of this data
stbtt_GetGlyphSVG - As above but takes the glyph index instead of the codepoint
Note that the returned data may be deflate compressed.
ago%!(EXTRA string=6 years)
rgriege
a5b663f1b0
stb_truetype: update contributors list
ago%!(EXTRA string=6 years)
rgriege
8ac257b00f
stb_truetype: limit to 1 missing glyph in texture
...
When calling stbtt_PackFontRanges, multiple missing glyphs in the range
of codepoints will create multiple copies of the font's missing glyph to
be added to the pixel buffer. Instead, the first codepoint that maps to the missing glyph will add it to the pixel buffer, and all subsequent glyphs will simply copy the stbtt_packedchar data to reference the same region of the buffer.
This does NOT prevent duplication in multiple calls to stbtt_PackFontRange(s) - that would require modifying the packing context, which could be nice but is a bit more intrusive.
ago%!(EXTRA string=6 years)
kaesve
f3ca0dd5ae
Remove redundant scale check in stbtt_GetGlyphSDF
ago%!(EXTRA string=6 years)
Sean Barrett
c963e40972
update version numbers
ago%!(EXTRA string=6 years)
Sean Barrett
5fe7fb52f2
various fixes for clang
...
also fix a comment typo
ago%!(EXTRA string=6 years)
Fabian Giesen
af43e6b006
stb_truetype: Fix warning in comment.
...
Replace ASCII art with slightly crappier ASCII art that is not
going to make compilers complain about trailing backslashes.
Fixes issue #707 .
ago%!(EXTRA string=6 years)
Sean Barrett
63b59b46b0
update version numbers
ago%!(EXTRA string=6 years)
Sean Barrett
6244febf5f
stb_truetype: tweaks to codepoint-missing packing
ago%!(EXTRA string=6 years)
Sean Barrett
8cf07e85c8
rename stbtt_PackSetSkipMissingGlyphs to stbtt_PackSetSkipMissingCodepoints
ago%!(EXTRA string=6 years)
Sean Barrett
c35d1dd8ad
stb_truetype: runtime selection of skipping missing codepoints
ago%!(EXTRA string=6 years)
Sean Barrett
27460c23a6
stb_truetype: allow getting font metrics without explicitly opening file
ago%!(EXTRA string=6 years)
Omar
886cca8f15
stb_truetype: stbtt_PackFontRanges skip missing glyphs.
ago%!(EXTRA string=7 years)
Omar Cornut
cc99df4b48
stb_truetype: added comment about stbtt_FindGlyphIndex() return value.
ago%!(EXTRA string=7 years)
Omar Cornut
4716080627
stb_truetype: fix unused variable warning when asserts are disabled.
ago%!(EXTRA string=7 years)
luz.paz
622b3adad3
Misc. comment typos
...
Found via `codespell -q 3`
ago%!(EXTRA string=7 years)
Sean Barrett
0c11c4f1b6
rework GPOS support for old non-declare-anywhere C
ago%!(EXTRA string=7 years)
Sean Barrett
48168170a1
stb_truetype: add STBTT_fmod
ago%!(EXTRA string=7 years)
Daniel Ribeiro Maciel
e460d1a8d8
Add basic GPOS kerning
ago%!(EXTRA string=7 years)
Sean Barrett
87352fdcb5
stb_truetype: fix bug in handling of stbtt_hheap that could cause severe badness
ago%!(EXTRA string=7 years)
Sean Barrett
3f01acced4
stb_textedit: allow overriding key-input typedef
ago%!(EXTRA string=7 years)
Sean Barrett
76ec599c68
stb_truetype - remove duplicate definition
ago%!(EXTRA string=7 years)
Sean Barrett
ee0ebfc79b
version numbers
ago%!(EXTRA string=7 years)
Sean Barrett
4254a9f237
stb_truetype credits
ago%!(EXTRA string=7 years)
Sean Barrett
501e29b245
stb_truetype.h docs
ago%!(EXTRA string=7 years)
Rob Loach
5c2c826df9
stb_truetype: Silence warnings of winding_lengths
...
Coverty scan shows potential warnings of winding_lengths. Forcing it to be a NULL fixes the issue.
ago%!(EXTRA string=7 years)
Kenney Phillis Jr
6e50ac7860
stb_truetype: Fix undefined function warning
...
This fixes the error in bug report #516 . This should work as intended
since the function definitions line up.
ago%!(EXTRA string=8 years)
Dougall Johnson
1f2b4271e3
stb_truetype: Fix CFF GetGlyphBox optional params
...
Fixes #404
ago%!(EXTRA string=8 years)
Dougall Johnson
84fd09ea53
stb_truetype: Fix sign error in CFF push immediate
ago%!(EXTRA string=8 years)
Sean Barrett
555efbedfc
Update version numbers
ago%!(EXTRA string=8 years)
Fabian Giesen
b1d058e5c7
stb_truetype: Fix typo, as pointed out by oyvindjam.
...
Fixes #471 .
ago%!(EXTRA string=8 years)
Fabian Giesen
30c7c6b583
stb_truetype: Support reading OS/2 vertical metrics
...
...as present in MS TrueType files. Since this table is optional,
the new stbtt_GetFontVMetricsOS2 has a return value and can fail.
This is a replacement for pull request #463 .
Fixes #463 .
ago%!(EXTRA string=8 years)
Sean Barrett
423298e071
fix SDF documentation and add example code
ago%!(EXTRA string=8 years)
Sean Barrett
38479bc58c
stb_truetype version number
ago%!(EXTRA string=8 years)
Sean Barrett
9a2e92e818
SDF documentation
ago%!(EXTRA string=8 years)
Sean Barrett
5defc65c23
Initial SDF support
ago%!(EXTRA string=8 years)
Cort
f3d8e52ddc
stb_truetype: fontdata can be const in stbtt_PackFontRange[s]()
ago%!(EXTRA string=8 years)
Jorge Rodriguez
f298fb8a4c
Add support for obtaining the entire kerning table from a font all at once, for use in rendering packed textures offline.
ago%!(EXTRA string=8 years)
Sean Barrett
0c1232f576
version number
ago%!(EXTRA string=8 years)
Sean Barrett
e248e30954
change license to public-domain AND mit (based on twitter vote)
ago%!(EXTRA string=8 years)
Cort
f5519a8f85
stbtt: chardata can be const in GetBakedQuad() and GetPackedQuad()
ago%!(EXTRA string=8 years)
Sean Barrett
96620a3a54
update version numbers
ago%!(EXTRA string=8 years)