text_dimensions(3)
π text_dimensions(3) β your Arcan Lua API bestie π
okay so bestie, this is text_dimensions(3) from the Arcan Lua API, and it's here to spill the tea on sizing. No cap, it's a short one. π
β¨
πΈ NAME πΈ
text_dimensions β calculate the output volume of a format string. ππ
β¨ SYNOPSIS β¨
width, height
text_dimensions( message, vspacing, tspacing )
π¦ DESCRIPTION π¦
text_dimensions follows a lot of the same rules and restrictions as render_text β like, same family energy β with one notable exception: it does not produce any output. It's giving "measure only, no output," and honestly? iconic. π«Ά
π«§ NOTES π«§
- Even though it doesn't output anything, the global text-rendering state can still be affected β e.g. the currently loaded
fontandstyleare still in the mix. πβ¨
π SEE ALSO π
render_text(3)β go read that one too, bestie π
no output does not mean no vibes, okay? it's literally just measuring π
π xoxo, that's the whole page β from the image build, October 2026, with love from the Arcan Lua API crew π
π
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms