# [`sdf-winding`][]
[Glyph][] contour [winding number][] and [SDF][] OpenGL experiment.
This repository has a singular purpose: to roughly reproduce [Figure 7][] from
the [Apple TrueType Reference Manual - Chapter 2: Font Engine - Distinguishing
the inside from the outside of a glyph][TrueType]:
![Figure 7][]
I have not read a single word of that reference manual, proceed accordingly.
To build, run `make`. You need the following dependencies on your system:
- OpenGL
- [GLEW][]
- [GLFW][]
[`sdf-winding`]: https://git.rcrnstn.net/rcrnstn/sdf-winding
[glyph]: https://en.wikipedia.org/wiki/Glyph
[winding number]: https://en.wikipedia.org/wiki/Winding_number
[SDF]: https://en.wikipedia.org/wiki/Signed_distance_function
[Figure 7]: https://developer.apple.com/fonts/TrueType-Reference-Manual/RM02/FE6.gif
[TrueType]: https://developer.apple.com/fonts/TrueType-Reference-Manual/RM02/Chap2.html#distinguishing
[GLEW]: https://glew.sourceforge.net
[GLFW]: https://www.glfw.org
## License
Licensed under the [ISC License][] unless otherwise noted, see the
[`LICENSE`][] file.
[ISC License]: https://choosealicense.com/licenses/isc
[`LICENSE`]: LICENSE