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

[WIN32SS][FONT] Add Super Font Debugging feature (SFNTDBG)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Do
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I wanna implement a special font debug feature (I call it SFNTDBG) to check the font penalty, as follows:

      1. If there's a font request whose request name string (lfFaceName) is in a pattern of "SFNTDBG:AN/RN" (hereby, AN is an actual font name string, and RN is a request font name string), then the font engine remembers the pair of those two names and the current thread ID. It makes SFNTDBG active. RN is interpreted as a real lfFaceName string.
      2. In GetFontPenalty function, when SFNTDBG is active, and when AN and RN and the thread ID were matched, then the font engine dumps the penalty items and the result penalty value.
      3. An empty name string matches to any name.
      4. After dumping done, SFNTDBG forgets the thread ID.

        Attachments

          Activity

            People

            • Assignee:
              bug zilla Bug Zilla
              Reporter:
              katayama_hirofumi_mz Katayama Hirofumi MZ
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: