Debian Codegraph @

Doc/source/qu2cu/index.rst

raw
1 ########################################
2 qu2cu: Convert quadratic curves to cubic
3 ########################################
4
5 .. rubric:: Overview
6 :heading-level: 2
7
8
9 Routines for converting quadratic curves to cubic splines, suitable for use
10 in TrueType to CFF-flavored OpenType outline conversion.
11
12 The basic curve conversion routines are implemented in the
13 :mod:`fontTools.qu2cu.qu2cu` module.
14
15 .. note:: The redundancy in the module name is a workaround made
16 made necessary by :mod:`fontTools.qu2cu`'s usage of
17 `Cython <https://cython.org/>`_. Providing Cython support
18 for the module enables faster execution on systems where
19 Cython is available. However, the module remains fully
20 available on systems without Cython, too.
21
22 .. automodule:: fontTools.qu2cu.qu2cu
23 :members:
24 :undoc-members:
25
26 qu2cu also includes a submodule that implements the
27 ``fonttools qu2cu`` command for converting a UFO format font with
28 quadratic curves into one with cubic curves:
29
30 .. toctree::
31 :maxdepth: 1
32
33 cli
34
35
36 .. rubric:: Package contents
37 :heading-level: 2
38