Quantcast WoWInterface - View Single Post - Fonts not showing on Russian client (SharedMediaAdditionalFonts)
View Single Post
09-29-16, 09:23 PM   #5
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Your code isn't registering anything with LibSharedMedia itself. It's calling the "Register" method of "SharedMediaAdditionalFonts", and I don't have any idea what that method is doing. Most likely, it's failing to pass that third parameter on to LSM.

However, I don't really see the purpose in having that "SharedMediaAdditionalFonts" object as an intermediary anyway, regardless of whether this is your own code or the actual code in the SharedMediaAdditionalFonts addon. Just register the fonts directly with LSM -- change all instances of "SharedMediaAdditionalFonts:Register" to "LSM:Register" everything should work fine.

Also, you should double-check that your font actually contains Cyrillic glyphs before flagging it as supporting the ruRU locale. Otherwise Russian users will be able to select it and get a nice UI full of ???? ??? ???? ??? ???? everywhere, which is exactly the situation LSM's locale filtering is intended to prevent.
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote