Skip to the content

Capsid menu

app/lib/inter-advances.generated.ts

7 lines and 0 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.

Functions

None: it only declares types or values.

Imports

It imports no other module of this repo. Imported by app/lib/inter-width.ts.

Source

// Generated by scripts/build-inter-advances.mjs from app/fonts/inter-latin-normal.woff2. Do not edit.
export const INTER_SHA256 = "2c295d99e26dcf357d4d01bcf270fd6924b600c9a13dd8c363ef114f4c6976fa";

/** Advance widths in em, unkerned, for code points 32 to 126. */
export const INTER_ADVANCES: Record<400 | 600, readonly number[]> = {
  400: [0.2813, 0.2876, 0.4658, 0.6333, 0.6416, 0.9819, 0.644, 0.2998, 0.3647, 0.3647, 0.501, 0.6616, 0.2881, 0.46, 0.2881, 0.3604, 0.6309, 0.4067, 0.6099, 0.6177, 0.646, 0.5933, 0.6201, 0.5659, 0.6187, 0.6201, 0.2881, 0.3018, 0.6616, 0.6616, 0.6616, 0.5112, 0.9658, 0.6899, 0.6543, 0.7305, 0.7217, 0.6011, 0.5903, 0.7461, 0.7432, 0.2686, 0.5708, 0.6719, 0.5654, 0.9033, 0.7534, 0.7646, 0.6387, 0.7646, 0.6436, 0.6416, 0.6455, 0.7441, 0.6899, 0.9854, 0.6821, 0.6787, 0.6289, 0.3647, 0.3604, 0.3647, 0.4712, 0.4561, 0.3228, 0.5615, 0.6123, 0.5713, 0.6123, 0.583, 0.3701, 0.6133, 0.5913, 0.2422, 0.2422, 0.5488, 0.2422, 0.876, 0.5908, 0.5996, 0.6123, 0.6123, 0.3765, 0.5278, 0.3271, 0.5913, 0.562, 0.8184, 0.5459, 0.562, 0.5522, 0.4263, 0.3325, 0.4263, 0.6616],
  600: [0.252, 0.3213, 0.5229, 0.6436, 0.6504, 1.0044, 0.6626, 0.3257, 0.373, 0.373, 0.5396, 0.6729, 0.3188, 0.4653, 0.3188, 0.3789, 0.6597, 0.4229, 0.623, 0.6362, 0.666, 0.6123, 0.6396, 0.5762, 0.6401, 0.6396, 0.3188, 0.3291, 0.6729, 0.6729, 0.6729, 0.5435, 0.999, 0.7275, 0.6592, 0.7368, 0.7222, 0.6055, 0.5879, 0.749, 0.7456, 0.2769, 0.5796, 0.7031, 0.5654, 0.9224, 0.7593, 0.7686, 0.645, 0.7729, 0.6523, 0.6504, 0.6602, 0.7358, 0.7275, 1.02, 0.7197, 0.7134, 0.6523, 0.373, 0.3789, 0.373, 0.4814, 0.4692, 0.3511, 0.5742, 0.624, 0.5825, 0.624, 0.5913, 0.3887, 0.6255, 0.6123, 0.2617, 0.2617, 0.5693, 0.2617, 0.9004, 0.6118, 0.6089, 0.624, 0.624, 0.397, 0.5493, 0.353, 0.6123, 0.5869, 0.8394, 0.5688, 0.5884, 0.5659, 0.4546, 0.3589, 0.4546, 0.6729],
};