diff --git a/doc_images.md b/doc_images.md index e2b1617..3411fca 100644 --- a/doc_images.md +++ b/doc_images.md @@ -37,12 +37,20 @@ And the result: You can also embed SVG graphics. If you use SVG, you need to use the HTML syntax so that you can define a width/container for the graphic. Here's a sample embed: ```html - + ``` Here's the result: - + SVG images will expand to the size of their artboard, so you can either set the artboard the right size when you create the graphic in Illustrator, or you can set an inline style that confines the size to a certain width as shown in the code above. +Also, if you're working with SVG graphics, note that Firefox does not support SVG fonts. In Illustrator, when you do a Save As with your AI file and choose SVG, to preserve your fonts, in the Font section, select "Convert to outline" as the Type (don't choose SVG in the Font section). + +Also, remove the check box for "Use textpath element for text on a path". And select "Embed" rather than "Link." The following screenshot shows the settings I use. Your graphics will look great in Firefox. + +Essential options for SVG with Illustrator + + + diff --git a/images/illustratoroptions.png b/images/illustratoroptions.png new file mode 100644 index 0000000..d043971 Binary files /dev/null and b/images/illustratoroptions.png differ