Skip to content
HALOWERK

File Formats and Conversion

font kern pair advance

Return cumulative glyph origins after supplied horizontal kerning pairs and nominal advances.

POST https://format.halowerk.com/v1/font-kern-pair-advance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
glyphsarrayYes
advancesarrayYes
pairsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "glyphs": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 65535
      },
      "maxItems": 256,
      "minItems": 1
    },
    "advances": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 65535
      },
      "maxItems": 256,
      "minItems": 1
    },
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "left": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535
          },
          "right": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535
          },
          "adjustment": {
            "type": "number",
            "minimum": -32768,
            "maximum": 32767
          }
        },
        "required": [
          "left",
          "right",
          "adjustment"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    }
  },
  "required": [
    "glyphs",
    "advances",
    "pairs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "glyphs": [
    1,
    2,
    1
  ],
  "advances": [
    500,
    500,
    500
  ],
  "pairs": [
    {
      "left": 1,
      "right": 2,
      "adjustment": -50
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’