Bagnon ItemLevel Plus

Bagnon ItemLevel Plus

2M Downloads

<Request> Change font type and size

SiderealDay opened this issue ยท 1 comments

commented

Hi,
As per the title, can we have an option to change font type and size plz.
In the mean time, how can I do that in the lua? Not sure of the exact syntax :)

commented

+1; I'm also putting in a separate request to change the location, I like bottom left personally.

In case you see this, add a line in the label-related block from lines 220 to 225 in ItemLevel.lua:

label:SetFont(label:GetFont(),15,"")

That will keep the same font, change the size to 15 and keep the font with its normal look. Change the 15 as desired to adjust the size.

To change the actual font you'd have to replace the "label:GetFont()" part with a path to a font file, not sure if we're allowed to provide external links here but if this doesn't work look up API_FontInstance_SetFont on Wowpedia for more info, the example they provide is "Fonts\FRIZQT__.TTF" (quotes are required):
https://wowpedia.fandom.com/wiki/API_FontInstance_SetFont

Also, try changing the "" to "OUTLINE, THICK", seems to add a shadow and bolds it a bit, something like that might help as well, I've made that change myself. The third option available is MONOCHROME, you can use one or multiple separated by commas. That's documented at the link above as well.