Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47812

WINDOWS: Freetype fontengine does not free the font file handles in windows

XMLWordPrintable

    • e109b8a0f3c89c595f0da689e7ee847130e2ee47 a88da6377da2e10998574ccc709bec014e2b75a5

      Freetype fontengine does not free the font handles after setting a font on a QPainter and calling QPainter::drawText() even when those are not used anymore. You can check this for example with process explorer. With other font engines this does not happen.

      Not noticeable on Linux (using lsof)

        1. main.cpp
          0.8 kB
        2. qtbug47812.jpg
          qtbug47812.jpg
          143 kB
        3. qtbug47812_fopen_stacktrace.txt
          53 kB
        4. qtbug47812_fopen_stacktrace.tasks
          1 kB
        5. qtbug47812_diag.diff
          3 kB
        6. qtbug47812_log.txt
          62 kB
        7. qtbug47812.zip
          1 kB
        8. main.cpp
          0.7 kB
        For Gerrit Dashboard: QTBUG-47812
        # Subject Branch Project Status CR V

            andysh Andy Shaw
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes