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
          92 kB
          Jedi-to-be
        2. debug_virtualbox.log
          64 kB
          amber
        3. fonttestbatch.bat
          0.2 kB
          Katayama Hirofumi MZ
        4. fonttestbatch-after.txt
          318 kB
          Katayama Hirofumi MZ
        5. fonttestbatch-before.txt
          318 kB
          Katayama Hirofumi MZ
        6. fonttestbatch-diff.txt
          0.4 kB
          Katayama Hirofumi MZ
        7. FreeTypeTest.png
          11 kB
          Katayama Hirofumi MZ
        8. FreeTypeTest2.png
          13 kB
          Katayama Hirofumi MZ
        9. FreeTypeTest3.png
          13 kB
          Katayama Hirofumi MZ
        10. IntCreateRotatedBitmap.c
          2 kB
          Katayama Hirofumi MZ
        11. patch1.patch
          2 kB
          Katayama Hirofumi MZ
        12. patch2.patch
          12 kB
          Katayama Hirofumi MZ
        13. patch3.patch
          12 kB
          Katayama Hirofumi MZ
        14. rottext.png
          6 kB
          Katayama Hirofumi MZ
        15. testcase_win2k3.png
          178 kB
          hbelusca
        16. testcase.7z
          38 kB
          Jedi-to-be
        17. TypeTest-win10.png
          12 kB
          Katayama Hirofumi MZ
        18. wrong font rendering.png
          53 kB
          Jedi-to-be

        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: