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