5.4 GskRenderReplayFontFilter

Callback: GskRenderReplayFontFilter

A procedure given for it is called as (procedure replay font) ⇒ %return.

A function that filters fonts.

The function will be called by the default replay function for all nodes with fonts. They will then generate a node using the returned font.

It is valid for the function to return the passed in font if the font shuld not be modified.

replay

Passed: a <GskRenderReplay>.

The replay object used to replay the node

font

Passed: a <PangoFont>.

The font to filter

%return

Returned: a <PangoFont>.

The filtered font

user-data

Not passed: it is the user data that guile-gi supplied.

The user data