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

[WIN32SS][NTGDI] Remove all the hacks in freetype.c

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      win32ss/gdi/ntgdi/freetype.c has two hacks:

      // {{freetype.c}}, Line 48:
      /* HACK!! Fix XFORMOBJ then use 1:16 / 16:1 */
      #define gmxWorldToDeviceDefault gmxWorldToPageDefault
      

      // In NtGdiGetGlyphIndicesW function:
          // FIXME: This is a hack!! (triggered by e.g. Word 2010). See CORE-12825
          if (cwc == 0)
          {
              DPRINT1("ERR: NtGdiGetGlyphIndicesW with (cwc == 0) is UNIMPLEMENTED!\n");
              return GDI_ERROR;
          }
      

      We have to investigate why these hacks are needed and how we can remove the hacks for correct implementation.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            katayama_hirofumi_mz Katayama Hirofumi MZ
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: