@pdfa-lab/fontkit / choose
Function: choose() ​
choose(
script?): typeofDefaultShaper
Defined in: src/open-type/shapers/index.ts:97
Given a Unicode script or list of script, select an appropriate shaper.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
script? | string | string[] | null | One or more scripts |
Returns ​
typeof DefaultShaper
the appropriate shaper