toCaptureOptions method

CaptureOptions toCaptureOptions()

Wire data to the in-process callback form: the per-family map becomes the per-run policy.

Implementation

CaptureOptions toCaptureOptions() => CaptureOptions(
  text: (run) => textFor(run.fontFamily),
  unsupported: unsupported,
  rasterScale: rasterScale,
);