def ttf.cmap4.indexed

gralha-truetype@0.1.0.1 · font.bend:668

import gralha-truetype@0.1.0.1/font.bend as Font
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

668def ttf.cmap4.indexed(+g: U32, +delta: U32) -> U32:
669  U.choose(U32, U32.is_eq(g, 0), 0, U32.and((g + delta : U32), 65535))

Uses (5)

Used by (1)