Penpot slows to a crawl when justified text is present

I don’t know if this is just me, but I had my Penpot project slow to a crawl this morning, and I coudldn’t figure out the cause. It turns out that I had a single paragraph on one page that was fully justified. When I change the text alignment to left again, the whole project started moving smoothly again.

Has anyone else had this problem? Maybe it’s a total fluke limited only to this file, but I thought I’d ask just in case.

I haven’t run into this myself, but since switching that paragraph back to left alignment fixes it, it sounds like the justified layout is being recalculated over and over rather than your file being broken in general. A couple of quick tests would help narrow it down: check whether it still happens with the WebGL renderer toggled the other way, and whether it depends on the font, for example by setting the same paragraph in a common Google Font like Inter or Roboto. If you can reproduce it, it’s worth opening an issue on Penpot’s GitHub (Issues · penpot/penpot · GitHub) with a small file containing just that paragraph, plus your browser and Penpot version, so the team can profile it. In the meantime, keeping that paragraph left-aligned until you’re ready to export is a reasonable workaround.

2 Likes

Hello @3x5, are you using Penpot in SaaS? We just launched an improvement in the text. Can you try it and see if it is better? (Make sure the new render is enable)

1 Like