prepareFontData

Deprecated

Not being used by any cross library, and should not be used, internal implementation detail.

A helper function to create a mapping from Uri to ByteBuffer. Skip if the file contents is not ready to be read.

Return

A map from Uri to ByteBuffer.

Parameters

context

A Context to be used for resolving content URI in FontInfo.

fonts

An array of FontInfo.