Cosimo Lupo 4543910367
[ttFont] fail when input is not seekable and lazy=True
the SFNTReader expects the input file to be seekable, and it already rewinds the file with file.seek(0) to get to the sfnt table directory. Thus, if TTFont is loaded with an unseekable file object and lazy=True, we raise a TTLibError requiring one to either pass a seekable input file, or to not set lazy=True (in which case the input is loaded in a seekable BytesIO)

Fixes https://github.com/fonttools/fonttools/issues/3052
2023-03-21 18:15:01 +00:00
..
2023-01-19 11:19:17 -07:00
2022-12-13 11:26:36 +00:00
2022-12-13 11:26:36 +00:00
2022-12-13 11:26:36 +00:00
2022-12-13 11:26:36 +00:00
2022-08-17 14:20:36 -06:00