BasicTextShaperCache class

BasicTextShaperCache class

Implements basic cache for ITextShaper instances. This class is thread-safe.

Interfaces: ITextShaperFactory

Constructors

NameDescription
BasicTextShaperCache(factory)Wraps factory and cachesITextShaperFactory.get_text_shaper() results.

Methods

NameDescription
get_text_shaper(font_path, face_index)Returns new instance of a text shaper for the font specified by fontPath andfaceIndex.
(Inherited from ITextShaperFactory)
get_text_shaper(font_id, font_blob, face_index)Returns new instance of a text shaper for the font represented by fontBlob andfaceIndex.
(Inherited from ITextShaperFactory)

See Also