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

Implement Font/Text Rotation (Support lfEscapement value)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • Win32SS
    • None

    Description

      We have to implement LOGFONT.lfEscapement value that controls the font/text rotation. That value is effective in TextOut and ExtTextOut functions. Setting lfEscapement value to non-zero value makes text slanting.

      LOGFONT
      https://docs.microsoft.com/en-us/windows/desktop/api/wingdi/ns-wingdi-taglogfonta

      The test case is testcase.7z by Vladimir Yarovenko: and @vtune_amplifier

      Attachments

        1. VertTabs.zip
          12 kB
        2. TypeTest7.zip
          34 kB
        3. FontWidth.zip
          28 kB
        4. TypeTest6.zip
          34 kB
        5. TypeTest5.zip
          34 kB
        6. TypeTest-ros-after.zip
          255 kB
        7. TypeTest.zip
          3.05 MB
        8. TypeTest-win10.zip
          89 kB
        9. fonttestbatch-after.txt
          318 kB
        10. fonttestbatch-before.txt
          318 kB
        11. fonttestbatch-diff.txt
          0.4 kB
        12. fonttestbatch.bat
          0.2 kB
        13. TypeTest.zip
          3.36 MB
        14. TypeTest.zip
          3.06 MB
        15. TypeTest.zip
          3.06 MB
        16. TypeTest-win10.png
          TypeTest-win10.png
          12 kB
        17. FreeTypeTest3-dll-added.zip
          2.91 MB
        18. patch3.patch
          12 kB
        19. patch2.patch
          12 kB
        20. patch1.patch
          2 kB
        21. FreeTypeTest3.zip
          129 kB
        22. FreeTypeTest3.png
          FreeTypeTest3.png
          13 kB
        23. rottext.png
          rottext.png
          6 kB
        24. FreeTypeTest2.zip
          129 kB
        25. FreeTypeTest2.png
          FreeTypeTest2.png
          13 kB
        26. FreeTypeTest.zip
          128 kB
        27. FreeTypeTest.png
          FreeTypeTest.png
          11 kB
        28. IntCreateRotatedBitmap.c
          2 kB
        29. rottext.zip
          26 kB
        30. rotimage.zip
          100 kB
        31. debug_virtualbox.log
          64 kB
        32. testcase_win2k3.png
          testcase_win2k3.png
          178 kB
        33. correct font rendering.png
          correct font rendering.png
          92 kB
        34. testcase.7z
          38 kB
        35. wrong font rendering.png
          wrong font rendering.png
          53 kB

        Issue Links

          Activity

            People

              katayama_hirofumi_mz Katayama Hirofumi MZ
              Jedi-to-be Jedi-to-be
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: