- 28 8月, 2021 1 次提交
-
-
由 Sean Barrett 提交于
-
- 26 7月, 2021 1 次提交
-
-
由 Sean Barrett 提交于
-
- 13 7月, 2021 1 次提交
-
-
由 Sean Barrett 提交于
-
- 12 7月, 2021 4 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
stb_truetype: fix incorrect antialiasing computation in v2 rasterizer, and handle certain cases where math blew up
-
由 Sean Barrett 提交于
-
- 10 7月, 2021 1 次提交
-
-
由 Fabian Giesen 提交于
No actual bugs as far as I can tell. Fixes issue #1162.
-
- 09 7月, 2021 1 次提交
-
-
由 Sean Barrett 提交于
-
- 07 7月, 2021 9 次提交
-
-
由 Fabian Giesen 提交于
Fixes issue #979.
-
由 Fabian Giesen 提交于
To pacify GCC warnings at -Wimplicit-fallthrough=4. Why the all-caps version works and the others don't, I'm not sure; the GCC manual page lists regular expressions that GCC is checking for but does not say which regular expression syntax variant it's using, whether it's looking for a substring match or a full match for the comment, and what exactly the text being matched against is for a single-line comment. Sigh. Fixes issue #507.
-
由 Fabian Giesen 提交于
Was using 4-character spaces and otherwise formatted unlike the rest of the code, fix this. Also get rid of the outer switch in GetGlyphGPOSInfoAdvance with just one case; just use an if. No behavioral changes.
-
由 Fabian Giesen 提交于
Glyphs not assigned a glyph class should default to class 0 as per the OpenType spec. Also, change the code to treat malformed data as an error to be handled, not an assert, and change the way the version checking works. Fixes the issue mentioned in PR #1035. Also, this part of the code is indented incorrectly; will fix that in a subsequent commit.
-
由 Fabian Giesen 提交于
GCC warns about a potentially uninitialized variable here. It's not (or at least I don't see how), but fix it anyway.
-
由 Sean Barrett 提交于
-
由 Fabian Giesen 提交于
Confirmed from the OpenType spec that there's nothing missing here. (These were just annotations listing the total sizes of the tables, but this is not used for anything here.) Fixes issue #704.
-
由 Fabian Giesen 提交于
-
由 Fabian Giesen 提交于
Whitespace only.
-
- 04 7月, 2021 2 次提交
-
-
由 Fabian Giesen 提交于
Fixes the bug covered by PR #1066, but with a slightly different fix that's hopefully a bit clearer.
-
由 Jan CW Kroeze 提交于
-
- 02 7月, 2021 2 次提交
-
-
由 Fabian Giesen 提交于
Fixes the bug covered by PR #1066, but with a slightly different fix that's hopefully a bit clearer.
-
由 Jan CW Kroeze 提交于
-
- 13 7月, 2020 1 次提交
-
-
由 Sean Barrett 提交于
-
- 05 2月, 2020 1 次提交
-
-
由 Sean Barrett 提交于
-
- 03 2月, 2020 4 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
- 11 8月, 2019 1 次提交
-
-
由 Sean Barrett 提交于
-
- 30 4月, 2019 1 次提交
-
-
由 Brotcrunsher 提交于
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.
-
- 15 4月, 2019 1 次提交
-
-
由 Chris Young 提交于
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.
-
- 08 3月, 2019 2 次提交
-
-
由 rgriege 提交于
-
由 rgriege 提交于
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.
-
- 07 3月, 2019 1 次提交
-
-
由 kaesve 提交于
-
- 26 2月, 2019 2 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
also fix a comment typo
-
- 23 2月, 2019 1 次提交
-
-
由 Fabian Giesen 提交于
Replace ASCII art with slightly crappier ASCII art that is not going to make compilers complain about trailing backslashes. Fixes issue #707.
-
- 08 2月, 2019 3 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-