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. Mixing multiple font engines
Forum Updated to NodeBB v4.3 + New Features

Mixing multiple font engines

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 103 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.
  • W Offline
    W Offline
    WilliamBraecky
    wrote on 9 Dec 2020, 15:36 last edited by
    #1

    Hi all!

    I am working on a project on which I would need to get pathes from drawing text using a QPainter, I have already achieved this by inheriting from QPaintDevice and QPaintEngine and it works no problem there, I can't want to use QPainterPath because I need the wrapping, layout, etc.. functionalities. This is to then use those pathes to display with a laser.

    However I would like for it to work with engraving fonts which don't close pathes, unfortunately it causes problems on macos due to CoreText (using the launch argument to use FreeType instead works flawlessly, no issue on windows either) and I unfortunately can not move the whole application to FreeType.

    I am looking for a way to programatically change the FontEngine temporarily just for that process. I am ok with using small "hacks" or modifying Qt.
    Is it possible?

    Thanks a lot!

    1 Reply Last reply
    0

    1/1

    9 Dec 2020, 15:36

    • 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