Configure the SVG output.
Syntax
fgl_report_configureSVGDevice(
antialiasFonts BOOLEAN,
antialiasShapes BOOLEAN,
embedFonts BOOLEAN,
charsetToEmbed STRING )
- antialiasFonts - Configures whether fonts should be rendered using
antialiasing. The default value is false.
- antialiasShapes - Configures whether shapes should be rendered using
antialiasing. The default value is false.
- embedFonts - Controls whether fonts are embedded within the document. The
default value is true.
- charsetToEmbed - SVG offers the possibility to embed fonts within the
document. Documents with embedded fonts are slightly larger, but they offer the advantage of exact
reproduction. Normally one would embed exactly those characters that were used throughout the
document, but that would require reading the entire document before creating any SVG output. This
attribute provides a solution that does not compromise streaming. The characters in the specified
character set are embedded, not requiring all of them to have been used. Note that the character
sets are neither restricted to 255 characters, nor is there any restriction on which unicode
characters are used. Furthermore, an entry in the character set can be a sequence of unicode
characters, thus allowing for ligatures. Valid values are:
Usage
Function to configure the SVG output.
This function is applicable when SVG output has been selected by a call to the function fgl_report_selectDevice. All arguments to this function are optional
(indicated by passing a null value). If the SVG document should be written to a file, the general
function fgl_report_setOutputFileName and fgl_report_selectPreview are available for this purpose.
For a generic 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.