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. FontLoader on Symbian platform
Forum Update on Monday, May 27th 2025

FontLoader on Symbian platform

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 4 Posters 3.5k 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.
  • O Offline
    O Offline
    Onddo
    wrote on last edited by
    #1

    Hi - I am having problems to load a custom font on Symbian^3^ platform (Qt 4.7.1), I cannot make FontLoader work on Symbian^3^.

    @
    //load the custom font
    FontLoader { id: customFont; name:"custom"; source: "templates/custom_font.ttf" }
    //set the font for different components
    font.family: customFont.name
    @

    However, if I build the app for PC or the Simulator, the UI will show the custom font, but if I build it for Symbian, it shows the default font.

    Does anyone know if this is a known problem?

    Thanks!

    [EDIT: code formatting, Volker]

    1 Reply Last reply
    0
    • A Offline
      A Offline
      archerabi
      wrote on last edited by
      #2

      I am not entirely sure but i think symbian only has 1 font. So no matter what font you ask for you get the default one.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Onddo
        wrote on last edited by
        #3

        Does this mean that I cannot load fonts externally for symbian platform? According to the documentation, http://doc.qt.nokia.com/4.7-snapshot/qml-fontloader.html, there is no mention to any platform related restrictions in the use of FontLoader ...

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mbrasser
          wrote on last edited by
          #4

          Hi,

          Yes, FontLoader not working on Symbian is a known issue. The core bug (as far as I understand) is http://bugreports.qt.nokia.com/browse/QTBUG-6611; once this is fixed, FontLoader on Symbian should work fine.

          Regards,
          Michael

          1 Reply Last reply
          0
          • O Offline
            O Offline
            Onddo
            wrote on last edited by
            #5

            All right, thanks for the clarification

            1 Reply Last reply
            0
            • B Offline
              B Offline
              byvikingen
              wrote on last edited by
              #6

              Hello. Is this problem still not fixed? I use the latest version of qt and QML and on the simulator fontloader works just fine to load custom fonts but on my symbian^3 device it does not work at all. I've googled around and tried some "solutions" but most of them are a couple of years old (and supposedly, according to the threads, it is supposed to be fixed now) and I can't get them to work either.

              What is the best way to use custom fonts on symbian using qt and qml right now? How long before fontloader works? Will it ever work? There should be some mentioning about this in the APIs.

              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