Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved]Change Box('.notdef' glyph) to space.
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved General and Desktop
freetypenotdefglyphboxspace
1 Posts 1 Posters 886 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.
  • D Offline
    D Offline
    dhuta
    wrote on 17 Apr 2015, 10:05 last edited by dhuta
    #1

    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
    0

    1/1

    17 Apr 2015, 10:05

    • Login

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