Optimization options for SVG formatSVG uses XML to save high-resolution vector graphics. SVG files can contain sophisticated elements, such as gradients, animation, and filter effects. (See About SVG.)
![]() Optimization settings for SVG A. File format menu B. Font subsetting menu C. Image Location menu D. CSS properties menu E. Character encoding menu F. Optimize menu Compressed Select Compressed to create a Compressed SVG (SVGZ) file. Font Subsetting Choose an option from the Font Subsetting menu to control which glyphs are embedded from the SVG file. Choose None from the Subsetting menu if you can rely on the necessary fonts being installed on end-user systems. Choose Only Glyphs Used to only include glyphs for text that exists in the current artwork. The other values (Common English, Common English + Glyphs Used, Common Roman, Common Roman + Glyphs Used, All Glyphs) are useful when the textual content of the SVG file is dynamic (such as server-generated text or user-interactive text). Decimals Specify the precision of vector data in the SVG file. You can set a value of 1 to 7 decimal places. A high value results in a larger file size and increased image quality. Image Location Choose Embed Images or Link Images from the Image Location menu. Embedding images increases file size but ensures that rasterized images will always be available. CSS Properties Determines how CSS style attributes are saved in the SVG code. The default method, Presentation Attributes, applies properties at the highest point in the hierarchy, which allows the most flexibility for specific edits and transformations. The Style Attributes method creates the most readable files but may increase the file size. Choose this method if the SVG code will be used in transformations--for example, transformations using Extensible Stylesheet Language Transformation (XSLT). The Entity References method results in faster rendering times and reduced SVG file size. The Style Element method is used when sharing files with HTML documents. By selecting Style Element, you can then modify the SVG file to move a style element into an external stylesheet file that is also referenced by the HTML file--however, the Style Element option also results in slower rendering speeds. Encoding Choose a method from the Encoding menu to determine how characters are encoded in the SVG file. UTF (Unicode Transformation Format) encoding is supported by all XML processors. (UTF-8 is an 8-bit format; UTF-16 is a 16-bit format.) ISO 8859-1 and UTF-16 encoding do not preserve file metadata. (SeeAdding metadata to documents.) |