requireBitmapSheetSize

fun requireBitmapSheetSize(width: Int, height: Int)(source)

Applies generic image safety and the independent bitmap-sheet input ceiling before allocating a provider sheet. The default sheet ceiling allows the default raster cache to retain a sheet and its largest copied glyph together. Raising this input ceiling may cause repeated decoding under a smaller cache, but never changes provider selection between cache modes.

Parameters

width

decoded sheet width.

height

decoded sheet height.

Throws

when the sheet exceeds an image or bitmap input ceiling.