Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. ClearType Rendering problems with DirectWrite C++

ClearType Rendering problems with DirectWrite C++

Scheduled Pinned Locked Moved Graphics
visual-studiocsharpc++comtutorial
1 Posts 1 Posters 1 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.
  • P Offline
    P Offline
    paul1167
    wrote on last edited by
    #1

    As a warmup for a more complex project, I had started to test doing layouts and rendering of text with DirectWrite. And for a start, I had used the snippets from the Microsoft Dev Center and created a complete minimal test application in my Visual Studio 2015 with Windows 10. The good part is that I had some rendered text as a result in my window. The bad part is that the result (see this this screenshot) is far away from good readable text. My understanding of the relating MSDN documentation is that ClearType is enabled by default. The title bar text of the window is obviously set up with text in ClearType. I guess I missed some setting in the DWrite factory but I do not know which one. Does anybody have an advice for me? For anybody who wants to take a look at my application: The project can be found here as ZIP file. The coding of my test application was not thought to be an example for a well structured program; its sole purpose was to find out how text rendering in ClearType could be accomplished. (A short note: I had originally posted this in the Managed C++/CLI forum, and I received the advice that I might be better off in this forum. So I modified my test into a minimal C++ application - with the same sad result -, and I am reposting it here)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups