View Single Post
08-30-16, 06:18 AM   #3
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 154
Oh! That worked. Kinda unprecise way to get it done but here it is:

Lua Code:
  1. local r, g, b = line.Text:GetTextColor()
  2. -- hacky way to get bonus objective titles in another font
  3. -- print(line.Text:GetText(), r, g, b)
  4. if b < 0.1 then
  5.     line.Text:SetFont(FONT, 13)
  6. else
  7.     line.Text:SetFont([[Fonts/ARIALN.ttf]], 12)
  8. end

Thanks!
__________________
Lyn • I'm a mess of unfinished thoughts
  Reply With Quote