cairoUserFontFaceSetUnicodeToGlyphFunc: cairoUserFontFaceSetUnicodeToGlyphFunc

Description Usage Arguments Details Author(s)

View source: R/cairoFuncs.R

Description

Sets the unicode-to-glyph conversion function of a user-font. See cairo_user_scaled_font_unicode_to_glyph_func_t for details of how the callback works.

Usage

1
cairoUserFontFaceSetUnicodeToGlyphFunc(font.face, unicode.to.glyph.func)

Arguments

font.face

[CairoFontFace] A user font face

unicode.to.glyph.func

[cairo_user_scaled_font_unicode_to_glyph_func_t] The unicode_to_glyph callback, or NULL

Details

The font-face should not be immutable or a CAIRO_STATUS_USER_FONT_IMMUTABLE error will occur. A user font-face is immutable as soon as a scaled-font is created from it. Since 1.8

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.