HISE Logo Forum
    • Categories
    • Register
    • Login

    Apple does not recognise otf font?

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 91 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.
    • griffinboyG
      griffinboy
      last edited by

      Engine.loadFontAs("{PROJECT_FOLDER}Seravek_Basic.otf", "CleanFont");
      

      Does anyone else have an issue where when loading in a custom font (place in the images folder inside the project folder) and loaded into Hise like so, that Label elements set to this new Font name 'CleanFont' do not work?

      I'd like to know if it's just my machine. That may be a real possibility as I am creating a crossplatform project, and the original project was created on windows. Everything else works apart from the custom fonts.

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @griffinboy
        last edited by

        @griffinboy does it work if you paint in a panel's paint routine??

        Link Preview Image
        [Engine] Cannot set Label fontName property from JSON · Issue #480 · christophhart/HISE

        const var label = Content.addLabel("label", 0, 0); Content.setPropertiesFromJSON("label", { "width": 200, "height": 200, "editable": false, "text": "Funky", "fontName,": "Tahoma", "fontSize": 18, }); Doesn't show as overwritten, still ac...

        favicon

        GitHub (github.com)

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

        30

        Online

        1.8k

        Users

        12.0k

        Topics

        104.5k

        Posts