Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [Solved]Change Box('.notdef' glyph) to space.

    General and Desktop
    freetype notdef glyph box space
    1
    1
    701
    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.
    • D
      dhuta last edited by dhuta

      Hi,
      I want to change box to space in text string when renderring glyphs through freetype. I patchs qfontengine.cpp & qfontengine_ft.cpp in Qt5.3.1 and it works on my ubuntu PC(without fontconfig). But in our embeded enviroments it still shows the .notdef glyph.

      I set QT_QPA_FONTDIR and there is only one same .ttf file under specified directory on both platform. I think the enviroments both are the same and on my pc it seems the patchs covers All possible code flows when debugging not that there's no way to debug our embeded device. But what's the thing makes this diffence happen?

      The patchs url is https://github.com/EightFingerDhuta/qt/tree/master/box2space. Is it that i omit something? Can anyone help me out ?

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