• 0

    posted a message on kgPanels Offical Thread
    Quote from Kagaro »

    You need the path to the font. see http://www.wowwiki.com/API_FontInstance_SetFont for example and check clearfont2 for getting a new font inplace or sharedmedia


    Thank you. I finally got it working. :) I did try with paths before but your reply made me try even more.

    The solution for the path was: "Fonts\\ARIALN.TTF" (I hadn't tried the double slashes before) if anyone else needs it.
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    First I want to thank you for a great addon. :)

    I have a question that I can't seem to find an answer to. Is it possible to change font, fontsize and outline through scripting in a panel (as opposed to using the built-in text options)? Say for instance that I want the panel text to be in Arial Narrow with thick outline and size 18 on a certain event.

    I have tried to put self.text:SetFont("ARIALN", 18, "THICKOUTLINE") in both event and onload to no avail.

    Have I missed something?

    Posted in: General AddOns
  • To post a comment, please or register a new account.