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