Forum

    • Register
    • Login
    • Search
    • Categories

    Preset browser and whole plug-in font changed to a different language?

    Scripting Forum
    language font preset browser
    2
    4
    73
    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.
    • M
      mwplugs last edited by

      I was messing around testing a compiled plug-in on another machine and the preset browser and any instance where a label or font was called the font changed to a whole different language it looked Arabic. Any ideas why this happened and how to prevent it from happening?!

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

        @mwplugs You need to use loadFontAs() and some fonts will screw up on different operating systems, Google's Material fonts are a safe bet.

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

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

          @d-healey can you give me a snippet example of usage thanks!

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

            Engine.loadFontAs("{PROJECT_FOLDER}Fonts/Lato-Bold.ttf", "bold");
            Engine.loadFontAs("{PROJECT_FOLDER}Fonts/Lato-Regular.ttf", "regular");
            

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

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

            25
            Online

            982
            Users

            6.6k
            Topics

            60.7k
            Posts