Infinite loop when drawing large ligatures to char atlas #4362
Labels
area/addon/canvas
area/addon/ligatures
area/addon/webgl
help wanted
type/bug
Something is misbehaving
some fonts provide extremely long ligatures, e.g. Fira Code for
===================================================
The char atlas code tries to find a row to fit it but fails and gets stuck in an infinite loop
xterm.js/src/browser/renderer/shared/TextureAtlas.ts
Lines 792 to 799 in fe89817
^Here we're checking if there's room on the current row and creating a new one if not.
Details
Steps to reproduce
=
=
will freeze everything.The text was updated successfully, but these errors were encountered: