Surface.hasShowTextGlyphs

cairo.types.Bool hasShowTextGlyphs()

Returns whether the surface supports sophisticated cairo.context.Context.showTextGlyphs operations. That is, whether it actually uses the provided text and cluster data to a cairo.context.Context.showTextGlyphs call.

Note

Even if this function returns false, a

cairo.context.Context.showTextGlyphs operation targeted at surface will still succeed. It just will act like a cairo.context.Context.showGlyphs operation. Users can use this function to avoid computing UTF-8 text and cluster mapping if the target surface does not use it.

Returns

true if surface supports

cairo.context.Context.showTextGlyphs, false otherwise