skillfed

cu2qu

Cubic-to-quadratic bezier curve conversion

cu2qu v1.6.7.post2 146.2K downloads/30d#11,102 on PyPI
Permissive license Apache License, Version 2.0 Abandoned released

What it is and what it does

cu2qu is a font processing library that takes UFO font objects and converts their cubic Bézier curves to quadratic curves. It was originally developed for font optimization workflows but is now maintained as part of fonttools rather than as a standalone package.

The library depends only on fonttools and installs as a pure Python wheel with low friction. However, it has been abandoned for 1367 days, with its last release on 2022-11-16. Since the functionality is now integrated into fonttools itself, new projects should prefer using fonttools directly; this package is primarily useful for legacy codebases or workflows that already depend on it.

Use it for:

  • Convert cubic curves to quadratic in font design workflows where quadratic curves are required
  • Optimize font files by reducing curve complexity during font build pipelines
  • Process UFO font objects programmatically as part of font tooling in legacy projects

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Converts cubic Bézier curves to quadratic curves in font objects (Defcon or Robofab UFO formats), with the primary entry point being the `fonts_to_quadratic` function.

No. The package is abandoned and its functionality is now maintained within fonttools. Use fonttools directly instead for new projects. Only install if you have an existing dependency or legacy codebase that specifically requires cu2qu.

Install

cu2qu on PyPI

pip

pip install cu2qu

uv

uv add cu2qu

poetry

poetry add cu2qu

Installing cu2qu

Before you install

Low install friction with a pure Python wheel. However, the package is abandoned (last release 1367 days ago) and is now maintained as part of fonttools; new projects should use fonttools directly.

License in practice

Licensed under Apache License, Version 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install cu2qu

from cu2qu.ufo import fonts_to_quadratic
fonts_to_quadratic(ufo_font_object)

Requires a UFO font object from Defcon or Robofab as input

Verify before relying

  • Whether fonttools now includes all cu2qu functionality or if standalone use cases remain
  • Python version compatibility beyond the unspecified declaration

Package facts

License Apache License, Version 2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — fonttools
Maintenance abandoned — 1,367 days since the last release
First released
Downloads 146,214/month — #11,102 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: cu2qu-1.6.7.post2-py2.py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Multimedia :: Graphics :: Editors :: Vector-BasedTopic :: Multimedia :: Graphics :: Graphics ConversionTopic :: Scientific/Engineering :: MathematicsTopic :: Software Development :: Libraries :: Python Modules

Tags

cubic to quadratic bezier conversionfont curve conversionufo font processingbezier curve simplificationfont optimization curves
font-toolslegacy-package

More Python Modules packages