Basically the vertical equivalent to StringWidth,
For example:
TESTSTRING =
"This is my big\n\n"
"extremely high\n\n"
"not really string";
Such a string can only get it's width easily with String Width, If I wanted to have a texture behind it that scaled to it. Only the width can easily be gained from StringWidth, as the height would be dependent on overcomplicated tricks, or manually defined height numbers that would have to be specified manually, and GetHeight() is not enough since it only cares about the actual font's height and not the string. A native method to get a string's height would be superior and more usable for the majority of ZScripters.
Ta-ta, and fare thee well.
StringHeight
Remember, just because you request it, that doesn't mean you'll get it.
Moderator: GZDoom Developers
-
- Posts: 394
- Joined: Mon May 09, 2016 1:38 am
- Location: Anywhere but here
- Contact:
Return to “Feature Suggestions [GZDoom]”
Jump to
- Official
- ↳ ZDoom (and related) News
- ↳ The Spotlight
- ↳ Rules and Forum Announcements
- Projects
- ↳ Levels
- ↳ Gameplay Mods
- ↳ TCs, Full Games, and Other Projects
- ↳ Resources
- ↳ Requests
- ↳ Script Library
- ↳ Graphic/Audio Patches
- ↳ Shaders
- Doom Editing Help
- ↳ Scripting
- ↳ Programming & Collaboration Tools
- ↳ Mapping
- ↳ Assets (and other stuff)
- ↳ Tutorials
- ↳ Programming and Compiling
- Discussion
- ↳ General
- ↳ Networking
- ↳ Legacy Discussion
- ↳ Off-Topic
- Technical Issues
- ↳ Technical Issues
- ↳ Helpful Stickies
- ZDoom Development
- ↳ Bugs [UZDoom]
- ↳ Feature Suggestions [UZDoom]
- ↳ Bugs [GZDoom]
- ↳ Important Threads
- ↳ Please check the latest version (or dev builds) before reporting!
- ↳ Classic ("Carmack") Software Renderer Bugs
- ↳ OpenGL Renderer Bugs
- ↳ OpenGLES Renderer Bugs
- ↳ Vulkan Renderer Bugs
- ↳ Audio/Music Bugs
- ↳ LZDoom Bugs
- ↳ ZDoom.org Bugs
- ↳ On Hold Bugs
- ↳ On-Hold Softpoly Bugs
- ↳ Closed Bugs [GZDoom]
- ↳ Vintage Build Bugs
- ↳ SoftPoly2 Bugs
- ↳ Feature Suggestions [GZDoom]
- ↳ ZDoom.org Suggestions
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [GZDoom]
- Raze-Specific Stuff
- ↳ Raze
- ↳ News
- ↳ Raze (and ZDoom-related) News
- ↳ Technical Issues
- ↳ Technical Issues
- ↳ Raze Development
- ↳ Bugs [Raze]
- ↳ On Hold Bugs
- ↳ Closed Bugs [Raze]
- ↳ Feature Suggestions [Raze]
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [Raze]
- ↳ Discussion
- ↳ General
- ↳ Editing Help
- ↳ Scripting (Build)
- ↳ Mapping (Build)
- ↳ Tutorials (Build)
- ↳ Projects
- ↳ Projects
- ↳ Abandoned Projects
- Software and Ports
- ↳ Launchers
- ↳ Game Engines
- ↳ Creation, Conversion, and Editing
- ↳ Miscellaneous
- Important Threads
- ↳ Official ZDoom Community Rules
- ↳ Official Discord Server
- ↳ New Password Requirements and Password Reset
- ↳ HELP! "Account is inactive!"
- ↳ Mod Download Broken? Request Reuploads Here
- ↳ Don't see your first post(s) here? DON'T PANIC
- Archives
- ↳ The Halls of the Dead
- ↳ Abandoned/Dead Projects
- ↳ Editing (Archive)
- ↳ Archived Bugs & Suggestions (Mantis Tracker)
- ↳ Developer Blog
- ↳ Errors? Can't run that new mod? Your GZDoom or ZDoom may be too old!
- ↳ A quick notice about privacy (Re: Our efforts to combat spam)