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. Windows API
  4. Vista behaviour different when drawing characters < 0x20

Vista behaviour different when drawing characters < 0x20

Scheduled Pinned Locked Moved Windows API
csharpvisual-studiographicsjsonquestion
3 Posts 2 Posters 0 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.
  • K Offline
    K Offline
    Keith Worden
    wrote on last edited by
    #1

    Just switched to a Vista pc and noticed that Vista draws characters (e.g. using TextOut api) which don't exist in the character set differently to previous operating systems. Previously you got an empty square, now you get nothing (not even a space). I've tried changing the fonts to previous versions and that made no difference. It's a bit of a pain - if I draw a string in courier say, which contains tabs, I can no longer see where the tabs are. Similarly it screws up displays of data and text in Visual Studio (I am using VS6) - if I do a watch on a string I cannot see where the tabs are. Anyone got any solutions? [My solution is to go back to XP where things work - Vista has only brought heartache]

    K 1 Reply Last reply
    0
    • K Keith Worden

      Just switched to a Vista pc and noticed that Vista draws characters (e.g. using TextOut api) which don't exist in the character set differently to previous operating systems. Previously you got an empty square, now you get nothing (not even a space). I've tried changing the fonts to previous versions and that made no difference. It's a bit of a pain - if I draw a string in courier say, which contains tabs, I can no longer see where the tabs are. Similarly it screws up displays of data and text in Visual Studio (I am using VS6) - if I do a watch on a string I cannot see where the tabs are. Anyone got any solutions? [My solution is to go back to XP where things work - Vista has only brought heartache]

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      Did you select a approbiate font before TextOut?

      Greetings from Germany

      K 1 Reply Last reply
      0
      • K KarstenK

        Did you select a approbiate font before TextOut?

        Greetings from Germany

        K Offline
        K Offline
        Keith Worden
        wrote on last edited by
        #3

        As I noted in the original message, the program displays characters "correctly" under previous operating systems and behaves differently under Vista.

        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