Stuf Raid/Lily Icons Help
View Single Post
12-21-15, 11:49 AM
A Pyroguard Emberseer
Join Date: Sep 2007
Originally Posted by
Yea this makes a lot more sense so if I understand you correctly there is not any definite way to fix this judging by where i truncate the text and where the alt character falls.
Oddly enough Stuf attempts to use a "string.utf8sub" function if it's already been defined somewhere, but as far as I can tell doesn't create one itself. They list UTF8 as an optional dependency in StufRaid's toc file, so presumably you could just download
and install it like an addon and have it behave the way you expect it to.
Personally I would have just set a max width on the font string itself and let it wrap any letters that don't fit to an invisible line; since individual characters have varying widths and different fonts have different sizes you'd have to adjust the character limit every time you change how it looks to make sure it fits, and "Iiiiii" takes up substantially less space than "Mmmmmm" even though they use the same number of letters.
View Public Profile
Send a private message to semlar
Find More Posts by semlar