-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Environement : fontParts==0.14.1 installed from pip, python 3.13, ubuntu 25.10
Hello ! i'm trying to adapt a RobotFont Extension to work as a standalone python script. Everything seems to be working but i cannot generate fonts. Even if i simplify the script to just open .ufo and try to generate a font.
from fontParts.world import OpenFont
font = OpenFont("Relief-SingleLine.ufo")
font.generate("otfcff","test.otf")that gives me :
File "\\\\\\\\\\\\\\\\\\\\\/script.py", line 64, in <module>
font.generate("otfcff", "test.otf")
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "\\\\\\\\\\\\\\\\\\\\\/.venv/lib/python3.13/site-packages/fontParts/base/font.py", line 367, in generate
return self._generate(
~~~~~~~~~~~~~~^
format=format,
^^^^^^^^^^^^^^
path=path,
^^^^^^^^^^
environmentOptions=environmentOptions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "\\\\\\\\\\\\\\\\\\\\\/.venv/lib/python3.13/site-packages/fontParts/base/font.py", line 405, in _generate
self.raiseNotImplementedError()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "\\\\\\\\\\\\\\\\\\\\\/.venv/lib/python3.13/site-packages/fontParts/base/base.py", line 229, in raiseNotImplementedError
raise NotImplementedError(
...<2 lines>...
)
NotImplementedError: The RFont subclass does not implement this method.But generate seems to be.. implemented or i missed a big part of the doc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels