text_dimensions(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸŽ€ 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 🫧

  1. Even though it doesn't output anything, the global text-rendering state can still be affected β€” e.g. the currently loaded font and style are still in the mix. πŸ‘€βœ¨

πŸ’œ SEE ALSO πŸ’œ


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