Merge pull request #80 from moyogo/approxerror
Change the default approximation error from 0.0025 to 0.001
This commit is contained in:
commit
6fa218266c
@ -34,7 +34,7 @@ from cu2qu.pens import ReverseContourPen
|
||||
|
||||
__all__ = ['fonts_to_quadratic', 'font_to_quadratic']
|
||||
|
||||
DEFAULT_MAX_ERR = 0.0025
|
||||
DEFAULT_MAX_ERR = 0.001
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -23,7 +23,7 @@ needed, converting one font at a time may yield more optimized results:
|
||||
for font in [thin_font, bold_font]:
|
||||
fonts_to_quadratic([font])
|
||||
|
||||
Some fonts may need a different error threshold than the default (0.0025
|
||||
Some fonts may need a different error threshold than the default (0.001
|
||||
em). This can also be provided by the caller:
|
||||
|
||||
.. code:: python
|
||||
|
Loading…
x
Reference in New Issue
Block a user