cu2qu
Cubic-to-quadratic bezier curve conversion
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 cu2quuv
uv add cu2qupoetry
poetry add cu2quInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
defconDefcon provides lightweight, UFO-based objects…
permissive · top 15,000 on PyPI
isosurfacesConstructs isolines and isosurfaces of 2D and…
permissive · top 15,000 on PyPI
ufo2ftCompiles OpenType font binaries (OTF and TTF)…
permissive · top 15,000 on PyPI
glyphsLibConverts Glyphs source files (.glyphs) to UFO…
permissive · top 15,000 on PyPI
ufoLib2ufoLib2 provides a lightweight, programmatic…
permissive · top 15,000 on PyPI
cffsubrSubroutinizes CFF (Compact Font Format) font…
permissive · top 15,000 on PyPI
pyclothoidsPyclothoids provides a Python interface to…
unclear · top 15,000 on PyPI
piecewise-rationalPerforms shape-preserving piecewise rational…
permissive · top 15,000 on PyPI
svg.pathParses SVG path definitions and provides…
permissive · top 5,000 on PyPI