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

GetTextExtentPointA of gdi32.dll returns a distinctive value from XP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.10
    • Win32SS
    • None

    Description

      In Delphi, use the function GetTextExtentPointA order to calculate the position and size of buttons in dialog boxes, called standard Delphi functions like MessageDlg. Perhaps the same mechanism is used in other applications to calculate the position and size of controls. I'm not sure whether the difference in this feature on other apps, but perhaps it indirectly affects some programs. I wrote a small utility that tests the output of the function. Just can't understand why the values in ROS and Windows are different.

      Attachments

        1. ExsapleFunction.rar
          173 kB
        2. FontExtent.zip
          27 kB
        3. font-extent-image.png
          font-extent-image.png
          6 kB
        4. FontExtent-v2.zip
          27 kB
        5. FontPixels.zip
          25 kB
        6. FontPixels2.zip
          26 kB
        7. GetTextExtentPoint_debug.log
          57 kB
        8. GetTextExtentPoint.JPG
          GetTextExtentPoint.JPG
          31 kB
        9. screenshots-after.zip
          1.31 MB
        10. snapshot105.png
          snapshot105.png
          48 kB
        11. StockFontsTest.zip
          27 kB

        Issue Links

          Activity

            People

              hbelusca hbelusca
              amber amber
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: