googlefonts/fontations

font-test-data/test_data/rebuild.sh fails

rsheeter opened this issue · 0 comments

Extracting glyphs from "fontations/font-test-data/test_data/ttf/cbdt.ttf" to "fontations/font-test-data/test_data/extracted/cbdt-glyphs.txt"...
Traceback (most recent call last):
  File "fontations/font-test-data/test_data/extract_glyphs.py", line 143, in <module>
    glyphs.add_glyph(face, size, glyph_id)
  File "fontations/font-test-data/test_data/extract_glyphs.py", line 68, in add_glyph
    face.set_pixel_sizes(size, size)
  File "fontations/.venv/lib/python3.11/site-packages/freetype/__init__.py", line 1309, in set_pixel_sizes
    if error: raise FT_Exception(error)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
freetype.ft_errors.FT_Exception: FT_Exception:  (invalid pixel size)