golang / freetype

The Freetype font rasterizer in the Go programming language.
Other
778 stars 183 forks source link

Join strokes when the first and last points coincide, instead of capping both #50

Closed tdewolff closed 1 year ago

tdewolff commented 7 years ago

This will join the last point with the first point of a stroked path. Instead of capping both, which will give undesired results (try ButtCapper for example), the path is now properly joined so that a RoundJoiner will give the expected results.

@nigeltao

tdewolff commented 7 years ago

To clarify, this changes

capped

to

joined

(used together with #49)