Module: Rsvg::HandleFlags

Defined in:
(unknown)

Constant Summary collapse

FLAGS_NONE =

No flags are set.

0 or :flags_none
FLAG_UNLIMITED =

Disable safety limits in the XML parser. Libxml2 has several limits designed to keep malicious XML content from consuming too much memory while parsing. For security reasons, this should only be used for trusted input! Since: 2.40.3

1 or :flag_unlimited
FLAG_KEEP_IMAGE_DATA =

Use this if the Cairo surface to which you are rendering is a PDF, PostScript, SVG, or Win32 Printing surface. This will make librsvg and Cairo use the original, compressed data for images in the final output, instead of passing uncompressed images. For example, this will make the a resulting PDF file smaller and faster. Please see the Cairo documentation for details.

2 or :flag_keep_image_data