HISE Logo Forum
    • Categories
    • Register
    • Login

    LAF changes my Global Font

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 134 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DanHD
      DanH
      last edited by

      Apologies if this is already covered, I just did the LAF command:

      const var laf = Engine.createGlobalScriptLookAndFeel();
      

      And my global font has changed and the previous command of:

      Engine.loadFontAs("{PROJECT_FOLDER}Fonts/Abel-Regular.TTF", "Abel-Regular");
      Engine.setGlobalFont("Abel-Regular");
      

      isn't doing the business anymore... Do I need to set the font elsewhere now?

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Just call

        laf.setGlobalFont("Comic Sans MS", 24.0)
        
        DanHD 1 Reply Last reply Reply Quote 2
        • DanHD
          DanH @Christoph Hart
          last edited by

          @Christoph-Hart you love this font!

          Thanks!

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          43

          Online

          1.7k

          Users

          11.7k

          Topics

          101.9k

          Posts