Skip to content
Myr

Merge branch 'patch-2' of https://github.com/Brotcrunsher/stb into work2

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parents f9ec936, f7d1cd5 · Browse files · 1 file+1 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−4 removed

  • other:+1 added−4 removed

1 file+1 added−4 removed

modified:stb_truetype.h+1 added-4 removed
1780 unmodified lines
1781 }1782 }1783 }1784 num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy);1785 } else if (numberOfContours == -1) {1785 } else if (numberOfContours < 0) {1786 // Compound shapes.1787 int more = 1;1788 stbtt_uint8 *comp = data + g + 10;1789 num_vertices = 0;
68 unmodified lines
1858 }1859 // More components ?1860 more = flags & (1<<5);1861 }1862 } else if (numberOfContours < 0) {1863 // @TODO other compound variations?1864 STBTT_assert(0);1862 } else {1863 // numberOfCounters == 0, do nothing1864 }1865
3081 unmodified lines