Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. FontLoader Error Message
Forum Updated to NodeBB v4.3 + New Features

FontLoader Error Message

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 4 Posters 6.8k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    AMahfouz
    wrote on last edited by
    #1

    QML FontLoader: Cannot load font: "c:/data/GEBoxBold.otf", although I test the file found or not and I found it.

    Ahmed Mahfouz
    Assistant Lecturer
    Computer Science Department
    Faculty of Science
    Minia University
    Post Code: 61519

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      Does FontLoader support OTF fonts? I've only used it with TTFs, myself.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AMahfouz
        wrote on last edited by
        #3

        On symbian, I used only ttf, when I try to used otf, the app fail to open or load.

        Ahmed Mahfouz
        Assistant Lecturer
        Computer Science Department
        Faculty of Science
        Minia University
        Post Code: 61519

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AMahfouz
          wrote on last edited by
          #4

          Oh, I think FontLoader works only on desktop but on Symbian, it doesn't work.

          Ahmed Mahfouz
          Assistant Lecturer
          Computer Science Department
          Faculty of Science
          Minia University
          Post Code: 61519

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AMahfouz
            wrote on last edited by
            #5

            FontLoader works with ttf on symbian^3 but on symbian^1 show this MSG:

            QML FontLoader: Cannot load font: "e:/fonts/LateefRegOT.ttf"

            What is the matter?

            Ahmed Mahfouz
            Assistant Lecturer
            Computer Science Department
            Faculty of Science
            Minia University
            Post Code: 61519

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

              I can't even make it work on Symbian^3, how did you do ?
              I use :
              FontLoader { id: arialFont; name: "Arial"; source:"qrc:/fonts/arial.ttf"}

              Then I get QML FontLoader: Cannot load font: "qrc:/fonts/arial.ttf" on device
              On simulator it is working fine.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                AMahfouz
                wrote on last edited by
                #7

                this syntax work with me on S^3 and S^1
                FontLoader{id:localFont; source: "../../fonts/LateefRegOT.ttf"}

                Ahmed Mahfouz
                Assistant Lecturer
                Computer Science Department
                Faculty of Science
                Minia University
                Post Code: 61519

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  qtrahul
                  wrote on last edited by
                  #8

                  try this example : http://doc.qt.nokia.com/latest/declarative-text-fonts.html

                  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