def ttf.xadvance
import gralha-truetype@0.1.0.1/font.bend as Fontimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-bytes@0.1.0.1/bytes.bend as Bin
731def ttf.xadvance(+b: Bin.Bytes, +at: U32, +vf: U32) -> F32:
732 U.choose(F32, ttf.bit(vf, 4), ttf.i16(b, (at + ttf.bits(U32.and(vf, 3)) * 2 : U32)), 0.0)