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