WoWInterface - View Single Post - A simple display
View Single Post
02-10-18, 12:54 PM   #11
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
I'm not sure how true that is, at least not in the current time. Otherwise I wouldn't be able to do this.
(Font size 3000, set with SetFont)

I remember when I was originally messing with this, I used GetFont to get nameplate name font size and re-used it as-is, but it turned out they used some kind of downscaling and the actual font size returned by GetFont was something in the 5 digits, lol. Got a nice surprise when I hit /reload

lua Code:
  1. local f = CreateFrame("frame", "name")
  2. f:SetFrameStrata("HIGH")
  3. f:SetPoint("CENTER", UIParent)
  4. f:SetSize(500, 500)
  5. f.text = f.text or f:CreateFontString(nil, "OVERLAY")
  6. f.text:SetFont("FONTS\\FRIZQT__.TTF", 72, "OUTLINE, MONOCHROME")
  7. f.text:SetPoint("CENTER", UIParent)
  8. f.text:Show()
  9. f.text:SetText("Ta-daa")
  10. f.text:SetVertexColor(1, 1, 1)

(There definitely is a hardcoded limit, but it's much higher than 32 ;p I don't think the screenshot I linked was actually 3000 but I typed in a random large number just to show. At the very least the difference between 32 and 72 is very apparent, and it can even go higher.)

Last edited by Ammako : 02-18-18 at 07:15 PM.
  Reply With Quote