fontHash
import { fontHash } from 'pixi-silk/i18n';
function fontHash(bytes: Uint8Array): string;
64-bit FNV-1a of font bytes as 16 hex digits: the hash the compiler stores per face. Compare it
with SilkBundle.faces.get(id).hash before shaping with a font at runtime.
Parameters#
| Parameter | Type |
|---|---|
bytes | Uint8Array |
Returns#
string