Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Font Loading Issues on OSX Qt5.1 Beta Qt Quick 2.0
QtWS25 Last Chance

Font Loading Issues on OSX Qt5.1 Beta Qt Quick 2.0

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 2 Posters 2.7k Views
  • 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.
  • R Offline
    R Offline
    rocketchicken
    wrote on last edited by
    #1

    FontLoader
    {
    id:flat_manteka_font
    name:"flat_manteka_font"
    source:"manteka.ttf"
    }

    Text
    {
    text: "MANTEKA"
    font.family: flat_manteka_font.name // metastream_flat_style.flat_style.flat_font_family
    font.pointSize: 45

    }

    The operation couldn’t be completed. (com.apple.coretext error -1 - Could not register the font file 'file://localhost/Users/rock/CodeWorkSpaces/QtCreatorWorkspace/TimeFrameAlpha/qml/TimeFrameAlpha/manteka.ttf')" UserInfo=0x7fed5847f510 {NSDescription=Could not register the font file 'file://localhost/Users/rock/CodeWorkSpaces/QtCreatorWorkspace/TimeFrameAlpha/qml/TimeFrameAlpha/manteka.ttf', CTFailedFontFileURL=file://localhost/Users/rock/CodeWorkSpaces/QtCreatorWorkspace/TimeFrameAlpha/qml/TimeFrameAlpha/manteka.ttf}

    I am using osx lion

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rocketchicken
      wrote on last edited by
      #2

      Okay so I have tried this with android the font does not load either.
      I have checked it with the file utility it is a true type font.

      FontLoader { id:flat_manteka_font name:“flat_manteka_font_src” source:“manteka.ttf” }

      Text
      {
      text: “MANTEKA”
      font.family: flat_manteka_font_src
      font.pointSize:45
      }

      UserInfo=0x7f8823a849f0 {NSDescription=Could not register the font file 'file://localhost/Users/michaelchung/CodeWorkSpaces/QtCreatorWorkspace/TimeFrameAlpha/qml/TimeFrameAlpha/manteka.ttf', CTFailedFontFileURL=file://localhost/Users/michaelchung/CodeWorkSpaces/QtCreatorWorkspace/TimeFrameAlpha/qml/TimeFrameAlpha/manteka.ttf}

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Have you considered to "file a bug report":https://bugreports.qt-project.org/ ? Bugreports do get developer attention, forum posts in general do not.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rocketchicken
          wrote on last edited by
          #4

          I am going to do that now, my assumption is that developers would be looking at these threads. Thanks for the direction and clarification.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            rocketchicken: No, most developers do not follow the forums actively. Many check in sometimes, but basically you will need to be very lucky to get the attention of a developer that actually knows the code.

            Plus forums are really bad for managing bug reports: They get pushed down in time and at some point they are simply lost since nobody scrolls down past the first couple of pages anyway.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              rocketchicken
              wrote on last edited by
              #6

              Hey Thanks we can close this one as solved, I filed a bug report.
              Your right forums are bad places to post bugs.
              I will likely post if asking if someone gets similar behaviour and then file a bug report.

              Anyways heres the report if your interested I will likely post more bugs as I go along
              https://bugreports.qt-project.org/browse/QTBUG-31359

              thanks again!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved