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