HISE Logo Forum
    • Categories
    • Register
    • Login

    loading multiple fonts

    Scheduled Pinned Locked Moved Solved General Questions
    6 Posts 3 Posters 411 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.
    • StraticahS
      Straticah
      last edited by

      i have loaded two fonts but they display at the same weight (medium in this case). Using only one of the two fonts works well in both bold and medium. Any ideas for this behaviour? I am using labels to display the fonts by selecting the new font names. (restart makes no difference)

      35da7327-8fd5-477b-92d5-474a7e329d1f-image.png

      building user interfaces in HISE :)
      web: www.vst-design.com

      d.healeyD orangeO 2 Replies Last reply Reply Quote 0
      • StraticahS Straticah marked this topic as a question on
      • d.healeyD
        d.healey
        last edited by

        Yes, this is how I'm doing it - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/LookAndFeel.js#L22

        Try the same font as me and see if it works.

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

        StraticahS 1 Reply Last reply Reply Quote 1
        • d.healeyD
          d.healey @Straticah
          last edited by

          @Straticah I don't have a solution for you but I would encourage you to check how they look on different operating systems too.

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

          1 Reply Last reply Reply Quote 1
          • orangeO
            orange @Straticah
            last edited by

            @Straticah I know that some fonts may have different sizes depending on the operating system, but I haven't seen this before.

            Are you sure you didn't copy two identical fonts, Bold and Medium, into the font folder?

            Have you checked it on a different operating system?

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            StraticahS 1 Reply Last reply Reply Quote 0
            • StraticahS
              Straticah @orange
              last edited by Straticah

              @orange the font family is the same but i tried all of them, bold, semibold, regular... individually they all work well. But not more than one at the same time for some reason.

              even another font from another family.
              bbbf9890-c84b-42b0-b70d-8245e8abdcc2-image.png

              it is the correct way of using multiple fonts tho?

              building user interfaces in HISE :)
              web: www.vst-design.com

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

                Yes, this is how I'm doing it - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/includes/LookAndFeel.js#L22

                Try the same font as me and see if it works.

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

                StraticahS 1 Reply Last reply Reply Quote 1
                • StraticahS
                  Straticah @d.healey
                  last edited by Straticah

                  @d-healey Inter works perfectly fine :)

                  this is the font i am using. I might need to switch to another font then. It seems the problem is in the font files. (only tested with 3 of their fonts)

                  still strange that bold works, medium works, but not bold + medium at the same time

                  building user interfaces in HISE :)
                  web: www.vst-design.com

                  1 Reply Last reply Reply Quote 0
                  • StraticahS Straticah has marked this topic as solved on
                  • First post
                    Last post

                  19

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.6k

                  Posts