Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-15907

Whatsize.exe: Text bbox is wrong when MM_ANISOTROPIC and viewport is set

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 0.4.12
    • Win32SS
    • None

    Description

      Included compiled testcase and .C file.
      Attache a screenshot running in ReactOS and Windows 2003 SP2

      Whatsize.exe is a Petzolds example which tries several MapModes using a SYSTEM_FIXED_FONT.

      Oddly, seems MapModes are broken and just MM_TWIPS seems to be working (while MM_ANISOTROPIC or MM_TEXT are broken).

      Hint: When resizing the window, seems some text is written and repainted, but the position of the text is always behind the MM_TWIPS printed line.

      katayama_hirofumi_mz probably can share his knowledge in this report to point the real issue behind this bug.

      Attachments

        1. CORE-15907.patch
          2 kB
          Katayama Hirofumi MZ
        2. CORE-15907.patch
          2 kB
          Katayama Hirofumi MZ
        3. MapTest-ros-after.png
          14 kB
          Katayama Hirofumi MZ
        4. MapTest-ros-before.png
          20 kB
          Katayama Hirofumi MZ
        5. MapTest-ros-before-2.png
          14 kB
          Katayama Hirofumi MZ
        6. MapTest-Win10.png
          5 kB
          Katayama Hirofumi MZ
        7. Picture3.jpg
          371 kB
          vicmarcal
        8. WhatSize.c
          4 kB
          vicmarcal
        9. WhatSize.exe
          152 kB
          vicmarcal
        10. WhatSize-ros-after.png
          27 kB
          Katayama Hirofumi MZ

        Issue Links

          Activity

            People

              katayama_hirofumi_mz Katayama Hirofumi MZ
              vicmarcal vicmarcal
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: