- 3.9K All Categories
- 25 Introductions
- 3.1K Typeface Design
- 608 Font Technology
- 927 Technique and Theory
- 456 Type Business
- 386 Type Design Critiques
- 476 Type Design Software
- 29 Punchcutting
- 99 Lettering and Calligraphy
- 59 Technique and Theory
- 40 Lettering Critiques
- 366 Typography
- 245 History of Typography
- 92 Education
- 29 Resources
- 414 Announcements
- 65 Events
- 91 Job Postings
- 126 Type Releases
- 131 Miscellaneous News
- 242 About TypeDrawers
- 50 TypeDrawers Announcements
- 102 Suggestions and Bug Reports

James Puckett
Posts: **1,802**

Why does TrueType use quadratic splines instead of cubic béziers? Did Apple think that people would actually want to draw that way?

0

## Comments

1,389143`The main thing is that TrueType uses only quadratic splines, and that Type1 fonts use cubic splines, which allow you to get by with a lot fewer points where you have to specify things. The quadratic has the great advantage that there's a real cheap way to render them. You can make hardware to draw a quadratic spline lickety-split. It's all Greek mathematics, the conic sections. You can describe a quadratic spline by a quadratic equation (x, y) so that the value of f(x, y) is positive on one side of the curve and negative on the other side. And then you can just follow along pixel by pixel, and when x changes by one and y changes by one, you can see which way to move to draw the curve in the optimal way. And the mathematics is really simple for a quadratic. The corresponding thing for a cubic is six times as complicated, and it has extra very strange effects in it because cubic curves can have cusps in them that are hidden. They can have places where the function will be plus on both sides of the cubic, instead of plus on one side and minus on the other. The algorithm that's like the quadratic one, but for cubics, turns out that you can be in something that looks like a very innocuous curve, but mathematically you're passing a singular point. That's sort of like a dividing by zero even though it doesn't look like there's any reason to do so. The bottom line is that the quadratic curves that TrueType uses allow extremely fast hardware implementations, in parallel.`

1,802