Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms gsub ligature correspondence

An agent that checks a CMS font shaping handover needs its claimed glyph sequence checked against ordered OpenType type-four ligature substitutions with first-rule precedence across explicit lookup passes.

POST https://detect.halowerk.com/v1/cms/cms-gsub-ligature-correspondence

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "glyphs": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535
          },
          "minItems": 0,
          "maxItems": 2048
        },
        "lookups": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "components": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 65535
                  },
                  "minItems": 2,
                  "maxItems": 16
                },
                "replacement": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 65535
                }
              },
              "required": [
                "components",
                "replacement"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 128
          },
          "minItems": 0,
          "maxItems": 8
        },
        "claimed_glyphs": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535
          },
          "minItems": 0,
          "maxItems": 2048
        }
      },
      "required": [
        "glyphs",
        "lookups",
        "claimed_glyphs"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "glyphs": [
      3,
      1,
      2,
      0,
      1,
      3,
      3,
      1,
      1,
      2,
      3,
      1,
      1,
      3
    ],
    "lookups": [
      [
        {
          "components": [
            3,
            3,
            3
          ],
          "replacement": 3
        },
        {
          "components": [
            1,
            2
          ],
          "replacement": 2
        }
      ],
      [
        {
          "components": [
            0,
            0,
            0
          ],
          "replacement": 0
        },
        {
          "components": [
            2,
            3,
            0
          ],
          "replacement": 1
        },
        {
          "components": [
            3,
            2,
            2
          ],
          "replacement": 1
        },
        {
          "components": [
            3,
            1
          ],
          "replacement": 1
        },
        {
          "components": [
            1,
            0,
            1
          ],
          "replacement": 1
        },
        {
          "components": [
            3,
            1,
            0,
            3
          ],
          "replacement": 1
        },
        {
          "components": [
            3,
            2,
            1
          ],
          "replacement": 2
        }
      ]
    ],
    "claimed_glyphs": [
      3,
      2,
      0,
      1,
      3,
      1,
      2,
      1,
      1,
      3
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →