Home
last modified time | relevance | path

Searched refs:max_err_em (Results 1 – 3 of 3) sorted by relevance

/external/fonttools/Lib/fontTools/cu2qu/
Dufo.py223 fonts, max_err_em=None, max_err=None, reverse_direction=False, argument
260 if max_err_em and max_err:
262 if not (max_err_em or max_err):
263 max_err_em = DEFAULT_MAX_ERR
271 if isinstance(max_err_em, (list, tuple)):
272 assert len(fonts) == len(max_err_em)
274 for f, e in zip(fonts, max_err_em)]
275 elif max_err_em:
276 max_errors = [f.info.unitsPerEm * max_err_em for f in fonts]
Dcli.py150 max_err_em=options.conversion_error,
/external/fonttools/Tests/cu2qu/
Dufo_test.py72 fonts_to_quadratic(fonts, max_err_em=0.002, stats=stats)
77 fonts_to_quadratic(fonts, max_err_em=[0.002, 0.002], stats=stats)
92 fonts_to_quadratic(fonts, max_err=1.000, max_err_em=0.001)
95 assert font_to_quadratic(fonts[0], max_err_em=0.002,