Skip to content
HALOWERK

File Formats and Conversion

font hmtx advance run

Return per-glyph advances, side bearings and cumulative origins from a supplied hmtx byte table.

POST https://format.halowerk.com/v1/font-hmtx-advance-run

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
hexstringYes
number_of_hmetricsintegerYes
num_glyphsintegerYes
glyphsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "hex": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "number_of_hmetrics": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "num_glyphs": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "glyphs": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 999
      },
      "maxItems": 256,
      "minItems": 1
    }
  },
  "required": [
    "hex",
    "number_of_hmetrics",
    "num_glyphs",
    "glyphs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "hex": "01f4000a0014",
  "number_of_hmetrics": 1,
  "num_glyphs": 2,
  "glyphs": [
    0,
    1,
    0
  ]
}

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 โ†’