Quantcast WoWInterface - View Single Post - Stuf Raid/Lily Icons Help
View Single Post
12-21-15, 11:49 AM   #8
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,051
Originally Posted by badness View Post
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 this library 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.
  Reply With Quote