Skip to content

Commit 5e3772c

Browse files
committed
Add TODO section to readme
1 parent e74e369 commit 5e3772c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,12 @@ On a high level, the fontinline code operates by the following method:
3838
* This uses the poly2tri Python library from http://github.com/hansent/python-poly2tri
3939
1. Consider each separate triangle of the Delauney triangulation. Throw out the triangle sides that coincide with the side of a glyph. Take the centerpoint of each remaining side, and draw straight lines between each centerpoint. This produces a rough, but generally quite accurate, "midline" for the glyph.
4040
1. Take the midline produced in the previous step and draw dots at a (tweakable) interval along each one.
41+
42+
TODO
43+
----
44+
45+
* Place dots at 0.0 and 1.0 of endpoints (sometimes they're not landing
46+
at the end of the midlines, which seems like a bug)
47+
* If endpoint dots within 50% of another dot, drop other dot
48+
* (This calculation might be slightly tricky, but will be
49+
simplified if we keep track of endpoint dots specially)

0 commit comments

Comments
 (0)