View Single Post
10-12-17, 09:06 PM   #4
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Originally Posted by Dasteman View Post
Try this:
Lua Code:
  1. TargetFrameTextureFrameName:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE")
  2. TargetFrameTextureFrameName:SetTextColor(1,.9,0)
  3. FocusFrameTextureFrameName:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE")
  4. FocusFrameTextureFrameName:SetTextColor(1,.9,0)
Just keep in mind if you hardcode the font to FRIZQT__.TTF it will break when fed Russian character names (not strictly, but the name will be replaced with ???????'s)

This may not be a problem for OP if they play on NA servers, but if anyone found this code and wanted to use it while playing on EU servers this can be a problem.
  Reply With Quote