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

Font/FreeType: Fix the values of GetTextExtentPoint32 and GetTextMetrics

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 0.4.7
    • None
    • None

    Description

      FontMetrics.zip
      This is a test program I made.

      DejaVuSerif.zip
      This file contains "DejaVu Serif" font.

      I tested the FontMetrics program on "DejaVu Serif" font. The screenshots are:
      FontMetrics-w2k3.png
      FontMetrics-w10.png
      FontMetrics-r75977.png

      I can say from observation, that ReactOS has reported a wrong height value at GetTextExtentPoint32 function.

      Attachments

        1. 0001-add-GetTextMetrics-tests-to-gdi32_apitest.patch
          25 kB
          Katayama Hirofumi MZ
        2. 0001-add-GetTextMetrics-tests-to-gdi32_apitest.patch
          27 kB
          Katayama Hirofumi MZ
        3. 0001-adjustment-of-TextMetrics.patch
          1 kB
          Katayama Hirofumi MZ
        4. 0001-fix-font-extent.patch
          1 kB
          Katayama Hirofumi MZ
        5. adjustment.png
          39 kB
          Katayama Hirofumi MZ
        6. calc_ppem_for_height.c
          1 kB
          Katayama Hirofumi MZ
        7. extent-patched.png
          42 kB
          Katayama Hirofumi MZ
        8. FontMetrics-r75977.png
          16 kB
          Katayama Hirofumi MZ
        9. FontMetrics-w10.png
          12 kB
          Katayama Hirofumi MZ
        10. FontMetrics-w2k3.png
          8 kB
          Katayama Hirofumi MZ
        11. freetype-extent-fix.patch
          1.0 kB
          Katayama Hirofumi MZ
        12. get_bitmap_size.c
          1 kB
          Katayama Hirofumi MZ
        13. get_font_data.c
          0.9 kB
          Katayama Hirofumi MZ
        14. get_font_data.c
          0.8 kB
          Katayama Hirofumi MZ
        15. GetTextMetrics-ros.txt
          107 kB
          Katayama Hirofumi MZ
        16. load_VDMX.c
          5 kB
          Katayama Hirofumi MZ
        17. MetricsStat2-ros.csv
          0.5 kB
          Katayama Hirofumi MZ
        18. MetricsStat2-w10.csv
          0.5 kB
          Katayama Hirofumi MZ
        19. MetricsStat-ros.txt
          0.3 kB
          Katayama Hirofumi MZ
        20. MetricsStat-w10.txt
          0.3 kB
          Katayama Hirofumi MZ

        Issue Links

          Activity

            People

              katayama_hirofumi_mz Katayama Hirofumi MZ
              katayama_hirofumi_mz Katayama Hirofumi MZ
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: