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. WhatSize.c
          4 kB
        2. WhatSize.exe
          152 kB
        3. Picture3.jpg
          Picture3.jpg
          371 kB
        4. MapTest-ros-before.png
          MapTest-ros-before.png
          20 kB
        5. MapTest.zip
          102 kB
        6. MapTest-Win10.png
          MapTest-Win10.png
          5 kB
        7. MapTest-ros-before-2.png
          MapTest-ros-before-2.png
          14 kB
        8. CORE-15907.patch
          2 kB
        9. MapTest-ros-after.png
          MapTest-ros-after.png
          14 kB
        10. WhatSize-ros-after.png
          WhatSize-ros-after.png
          27 kB
        11. CORE-15907.patch
          2 kB
        12. TypeTest4NoFreeType.zip
          433 kB
        13. TypeTest4NoFreeType-ros-after.zip
          137 kB

        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: