typemytype / drawbot

http://www.drawbot.com
Other
408 stars 63 forks source link

only add tracking when the added text is not a \n or \r #459

Closed typemytype closed 2 years ago

typemytype commented 2 years ago

fixing #458

typemytype commented 2 years ago

this seems to be a bug deep in CoreText

there is an endless loop when creating a CoreText.CTFramesetterCreateFrame(setter, (0, 0), path, None) with setter containing a attributed string with a tracked return