Skip to content

Function: setDefaultFontMetricsOracle() ​

ts
function setDefaultFontMetricsOracle(oracle): void;

Experimental

Replace the shared oracle (e.g. force the deterministic fallback for reproducible layout); null resets to lazy creation of the default.

Parameters ​

ParameterType
oracleFontMetricsOracle | null

Returns ​

void

Released under the MIT License.