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. MetricsStat-w10.txt
          0.3 kB
        2. MetricsStat-ros.txt
          0.3 kB
        3. MetricsStat2-w10.csv
          0.5 kB
        4. MetricsStat2-ros.csv
          0.5 kB
        5. MetricsStat2.zip
          29 kB
        6. MetricsStat.zip
          29 kB
        7. load_VDMX.c
          5 kB
        8. GetTextMetrics-ros.txt
          107 kB
        9. get_font_data.c
          0.8 kB
        10. get_font_data.c
          0.9 kB
        11. get_bitmap_size.c
          1 kB
        12. freetype-extent-fix.patch
          1.0 kB
        13. FontMetrics-w2k3.png
          FontMetrics-w2k3.png
          8 kB
        14. FontMetrics-w10.png
          FontMetrics-w10.png
          12 kB
        15. FontMetrics-r75977.png
          FontMetrics-r75977.png
          16 kB
        16. FontMetrics.zip
          29 kB
        17. FontMetrics.zip
          29 kB
        18. extent-patched.png
          extent-patched.png
          42 kB
        19. DejaVuSerif.zip
          305 kB
        20. calc_ppem_for_height.c
          1 kB
        21. adjustment.png
          adjustment.png
          39 kB
        22. 0001-fix-font-extent.patch
          1 kB
        23. 0001-adjustment-of-TextMetrics.patch
          1 kB
        24. 0001-add-GetTextMetrics-tests-to-gdi32_apitest.patch
          27 kB
        25. 0001-add-GetTextMetrics-tests-to-gdi32_apitest.patch
          25 kB

        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: