Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for contextual substitutions? #17

Open
typiconman opened this issue Jun 23, 2024 · 1 comment
Open

No support for contextual substitutions? #17

typiconman opened this issue Jun 23, 2024 · 1 comment

Comments

@typiconman
Copy link

Converting sfd file with contextual substitutions gives the following cryptic message:

Traceback (most recent call last): File "/home/name/.local/bin/sfd2ufo", line 33, in <module> sys.exit(load_entry_point('sfdLib', 'console_scripts', 'sfd2ufo')()) File "/home/name/Documents/sfdLib.py/Lib/sfdLib/__main__.py", line 37, in main parser.parse() File "/home/name/Documents/sfdLib.py/Lib/sfdLib/parser.py", line 1504, in parse self._parseChainPosSub(key, section) File "/home/name/Documents/sfdLib.py/Lib/sfdLib/parser.py", line 618, in _parseChainPosSub assert False, (lkey, kind, subtable) AssertionError: ('ChainSub2', 'class', 'Contextual Substitution - Soft Dot Removal-1')

The offending SFD file is here.

@khaledhosny
Copy link
Contributor

Only coverage contextual substitutions are supported right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants