Closed
Description
When I use
text.set(text.UnicodeEngine)
got error
Traceback (most recent call last):
File "d:/MyFiles/LearnPython/pyx-unicode.py", line 3, in <module>
text.set(text.UnicodeEngine)
File "C:\Python36-32bit\lib\site-packages\pyx\text.py", line 1814, in set
defaulttextengine = engine(*args, **kwargs)
File "C:\Python36-32bit\lib\site-packages\pyx\text.py", line 1708, in __init__
with config.open(fontname, [config.format.type1]) as f:
raise IOError("Could not locate the file '%s'." % filename)
OSError: Could not locate the file 'cmr10'.
How to fix it?
Metadata
Metadata
Assignees
Labels
No labels