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

GetTextExtentPointA of gdi32.dll returns a distinctive value from XP

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Trivial
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Win32SS
    • Labels:
      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. GetTextExtentPoint_debug.log
          57 kB
        6. GetTextExtentPoint.JPG
          GetTextExtentPoint.JPG
          31 kB
        7. snapshot105.png
          snapshot105.png
          48 kB

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                amber amber
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: