• World of Warcraft Addons
Advertisement
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Text Shadow Fix

  Download the Curse Client

Project Updated:
Files Updated: Fri, Sep 28 2007
Category: Miscellaneous
Tags:

[Edit Tags]

Project Manager: aleth
Current Version: 0.5
Downloads Today: 1
Downloads Total: 2,410
Favorites: 23
Comments: 13
  • About Text Shadow Fix
  •  

A very small addon that works around a problem in patch 2.2 causing text shadows to render in-game text unreadable on high-resolution displays.

The first version affected changed the chat text, more recent version apply the fix to all (or at least most) of the font objects in the system.

v0.5 (the most recent version) adds support for re-applying the fix every time an addon is loaded to solve a problem with some dynamically loaded addons. If you're using v0.4 and not suffering from this problem, you probably won't gain anything by upgrading. Thanks Phanx and Farmbuyer for the help.

  • Downloads (2)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Text Shadow Fix 0.5 Release 2.0.0 37 9/28/2007
  Text Shadow Fix 0.4 Release 2.2.0 2 9/27/2007
  • 1 page(s)
Advertisement
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • aleth said 

    Okay, new version up. This one contains event handler code suggested by Phanx (thanks, Phanx :)). It's also set up so I can add font objects created by addons without affecting people that don't have them.

    Please feel free to point out any LUA noobness or any other problems and I'll do my best to fix it up.

  • aleth said 

    Haha, that's just what I was playing around with now, Phanx :) (taking me a while, I'm a complete lvl 1 LUA noob)

    Although I hadn't though of triggering it from the VARIABLES_LOADED event, good plan. I also take your point about making it less generic.

    Update coming shortly ;)

  • Phanx said 

    Building on Farmbuyer's comment, rather than just calling the newly wrapped function at the end of the file, call it on the VARIABLES_LOADED event, and again every time an LoD addon is loaded on the ADDON_LOADED event, by adding this to the end:

    local frame = CreateFrame("Frame") frame:SetScript("OnEvent", function(self, event) ShadowFix() if event == "VARIABLES_LOADED" then self:RegisterEvent("ADDON_LOADED") end end) frame:RegisterEvent("VARIABLES_LOADED")

    You might also want to give the function a less generic name to avoid any possible conflicts. Something like ApplyAlethShadowFix()

  • > What addons are causing the problem?

    It seemed to be some of the load-on-demand "builtin, but not really, well sort of" Blizzard_*UI frames, as well as FlexBar2.

    I've actually switched to using a fix provided by Telo (linked from a forum thread[*] with some coding discussion), which fixes up the drop shadows in all frames when they are created, by securely hooking the frame creation function. This catches everything with no "do-overs" needed once gameplay starts. If users of this addon are not experiencing any problems, then there's no advantage to be gained in switching, but if you're still seeing drop shadows then you might give it a try.


    [*] http://forums.worldofwarcraft.com/thread.html?topicId=1778045378&postId=21501924813&sid=1#88

  • aleth said 

    Ah thanks, Farmbuyer. I'll have a look and see if I can automate that so you won't have to keep running it manually. What addons are causing the problem?

  • Woot!

    I've found that some other frames -- the load-on-demand ones especially -- tend to mess with font settings after the player has logged in, thereby undoing Text Shadow Fix's work. To work around that, I added

     function ShadowFix () 

    at the top of the file, and

     end; ShadowFix(); 

    at the end. Now the same thing happens as the player logs in, but also leaves a function around for calling later, either manually by "/script ShadowFix()" or from another addon. Being able to run the same fixes while playing has let me correct *all* the drop shadows.

    Thanks for this!

  • Eldredd said 

    aleth > Bliz Devs

  • Hangar said 

    seems to be working fine in 1920x1200.

    you ah a lifesava :p

  • aleth said 

    v0.3 works in resolutions lower than 1920x1200.. Enjoy.

  • Everything is working properly again! Thank you.

  • aleth said 

    Yes. v0.2 should sort everything out.