Forum

    • Register
    • Login
    • Search
    • Categories

    Using custom fonts.

    General Questions
    3
    5
    144
    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.
    • lalalandsynth
      lalalandsynth last edited by

      What is involved in that exactly , do i place them in the Images/fonts and thats it or do I need to install them separately and if there a difference in dealing with that on PC and Mac ?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      1 Reply Last reply Reply Quote 0
      • d.healey
        d.healey last edited by

        Put them in images/fonts and use loadFontAs to avoid issues with different platforms - https://docs.hise.audio/scripting/scripting-api/engine/index.html#loadfontas

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        lalalandsynth 1 Reply Last reply Reply Quote 0
        • lalalandsynth
          lalalandsynth last edited by

          Excellent ! Thanks

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          1 Reply Last reply Reply Quote 0
          • lalalandsynth
            lalalandsynth @d.healey last edited by lalalandsynth

            @d-healey How can I then use this font , the name does not appear in the font list.

            I have successfully loaded it with Engine.loadFontAs("{PROJECT_FOLDER}Aaargh.ttf", "AAA");

            I was expecting to the see AAA in the font list.

            Also, if i write Engine.setGlobalFont("AAA") does it then become the default font in the font selector window ?
            i would expect that but it does not seem to be the case ?

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

            Natan 1 Reply Last reply Reply Quote 0
            • Natan
              Natan @lalalandsynth last edited by Natan

              @lalalandsynth
              Place The Fonts In A Folder And Rename It To "Fonts"
              Then Call It At The Beginning Of Your Script

              Engine.loadFontAs("{PROJECT_FOLDER}Fonts/YOURFONT.ttf", "YOURFONTNAME");
              

              And Select It In Property Editor
              Font.png
              Also You Can Use That Font To Act As A Global / Default Level By Using Below Code:

              Engine.setGlobalFont("YOURFONTNAMEHERE");
              

              Important Note: It Won't Show Up Until You Save Your Project Xml And Then Close / Reopen HISE.

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

              8
              Online

              1.1k
              Users

              6.8k
              Topics

              62.1k
              Posts