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

Implement Font/Text Rotation (Support lfEscapement value)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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. FreeTypeTest.png
          FreeTypeTest.png
          11 kB
        8. FreeTypeTest.zip
          128 kB
        9. FreeTypeTest2.png
          FreeTypeTest2.png
          13 kB
        10. FreeTypeTest2.zip
          129 kB
        11. FreeTypeTest3.png
          FreeTypeTest3.png
          13 kB
        12. FreeTypeTest3.zip
          129 kB
        13. FreeTypeTest3-dll-added.zip
          2.91 MB
        14. IntCreateRotatedBitmap.c
          2 kB
        15. patch1.patch
          2 kB
        16. patch2.patch
          12 kB
        17. patch3.patch
          12 kB
        18. rotimage.zip
          100 kB
        19. rottext.png
          rottext.png
          6 kB
        20. rottext.zip
          26 kB
        21. testcase_win2k3.png
          testcase_win2k3.png
          178 kB
        22. testcase.7z
          38 kB
        23. TypeTest.zip
          3.05 MB
        24. TypeTest.zip
          3.36 MB
        25. TypeTest.zip
          3.06 MB
        26. TypeTest.zip
          3.06 MB
        27. TypeTest-ros-after.zip
          255 kB
        28. TypeTest-win10.png
          TypeTest-win10.png
          12 kB
        29. TypeTest-win10.zip
          89 kB
        30. wrong font rendering.png
          wrong font rendering.png
          53 kB

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                Jedi-to-be Jedi-to-be
              • Votes:
                6 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: