Since we regularly receive requests about a perfect circle made out of Bezier curves (and discussed this long ago), I've made a circle which is so close to perfect, that it is worth sharing.
FontCreator contains a basic ellipse drawing tool, which can also create a circle sufficient for most needs.
It contains 4 on curve points, and 8 off curve points as shown here:
The (almost) perfect circle contains 4 on curve points, and 16 off curve points as shown here:
Here is a quarter of the circle, along with a basic circle (made out of 4 on curve and 8 off curve points). The basic curve is the one on the right, as it is a bit too large in some places.
In general the basic circle is made out of fewer points, so is more compact. When used at small sizes it is good enough, but occasionally you might need a more perfect circle. Then feel free to use the one as available in the font project file "Circle Perfect Bezier":
And the font file containing a circle for the ASCII character range can be downloaded from here:
In case you didn't know it, keep in mind you can't describe a perfect circle with bezier curves, but you can come close. Since font outlines are internally stored as integers (whole numbers), the rounding errors are inevitably affecting the actual position of the points.
Perfect Circle Made Out Of Quadratic Bezier Curves
-
- Moderator
- Posts: 11202
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
-
- Top Typographer
- Posts: 9888
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Perfect Circle Made Out Of Quadratic Bezier Curves
In FontCreator 10, a perfect circle (or ellipse) with 20 points is created automatically using the ellipse tool if the largest dimension is greater than the em square. That's 2048 funits for most fonts (see the General tab of the Font Properties dialogue to check).
-
- Typographer
- Posts: 793
- Joined: Mon Feb 23, 2004 1:13 pm
- Location: Enoch, Utah
Re: Perfect Circle Made Out Of Quadratic Bezier Curves
So much simpler and direct than my meanderings of long ago. Thanks Erwin!
Aut nunc aut nunquam