googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
151 stars 43 forks source link

Add reproducer for issue #621 #626

Closed anthrotype closed 2 years ago

anthrotype commented 2 years ago

data copied from test font at changa.zip in #621

this should only pass after #625 is mergerd, it should fail on master (which I want to confirm by merging it before the other one)

anthrotype commented 2 years ago
------------------------------ Captured log call -------------------------------
ERROR    cu2qu.ufo:ufo.py:291 Glyphs named 'exclamdown' have incompatible segment types:
   1: ('curve', 'line')
   2: ('curve', 'line')
   4: ('curve', 'line')
   5: ('close', 'curve')
   6: ('move', 'line')
   7: ('line', 'close')
   8: ('line', 'move')
  10: ('line', 'curve')
  12: ('line', 'curve')
=========================== short test summary info ============================
FAILED tests/filters/decomposeTransformedComponents_test.py::DecomposeTransformedComponentsFilterTest::test_decompose_compatibly_nested_transformed_components[defcon]
FAILED tests/filters/decomposeTransformedComponents_test.py::DecomposeTransformedComponentsFilterTest::test_decompose_compatibly_nested_transformed_components[ufoLib2]

https://github.com/googlefonts/ufo2ft/runs/7009486680?check_suite_focus=true#step:5:437