fgl_report_setRenderingHints

Specifies the hints to be used in the rendering process.

Syntax

fgl_report_setRenderingHints(
   values om.SaxAttributes )
  1. values - Attribute set containing the key/value pairs.

Example

This sample code sets the svgTextLengthAdjust and grvUseEmbeddedFontMetrics hints:

DEFINE renderingHints om.SaxAttributes
LET renderingHints=om.SaxAttributes.create()
CALL renderingHints.addAttribute("svgTextLenghAdjust","SpacingAndGlyphs")
CALL renderingHints.addAttribute("grvUseEmbeddedFontMetrics","true")

CALL fgl_report_setRenderingHints(renderingHints)

For an example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.