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

Font/FreeType: Fix the values of GetTextExtentPoint32 and GetTextMetrics

    XMLWordPrintable

    Details

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

          Issue Links

            Activity

              People

              • Assignee:
                learn_more Mark Jansen
                Reporter:
                katayama_hirofumi_mz Katayama Hirofumi MZ
              • Votes:
                5 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: