SVG Output

AH Formatter V6.2 outputs SVG that is compliant to W3C Scalable Vector Graphics (SVG) 1.1 specification. It also outputs SVG Tiny and SVG Basic in the Mobile SVG Profiles.

Customers must purchase "AH Formatter SVG Output Option" to output SVG. See also Antenna House website for more details.

SVG Output Format

AH Formatter V6.2 can output to SVG 1.1, SVG Basic and SVG Tiny. When a profile is not specified, it is regarded as SVG 1.1.

Mobile SVG Profiles are the specifications for mobile computing devices or cellular phones which have restrictions in the throughput of the hardware, the memory capacity and the number of colors that can be displayed.

Since SVG Tiny is for hardware with the most restrictions, like a cellular phone, the supported elements and attributes are quite limited. Therefore, the reproduction level of the original document may be low.

SVG Basic is for more high-efficient pocket devices, such as high-efficient PDA, and has fewer restrictions than SVG Tiny. See also Mobile SVG Profiles for more details.

AH Formatter V6.2 outputs SVG Tiny and SVG Basic on the basis of the output for SVG 1.1 by disregarding the unsupported elements.

When the document composed of multiple pages is converted into SVG, each page will be output as individual files. It is possible to output them collectively to one file by setting Command-line Interface etc. However, when it is output as standard out, it is always output to one file.

Image Output

For more information about supported graphic images, refer to the "Graphics".

With SVG Output, there are three types of methods for handling images. These methods can be specified with the Command-line Interface or the Option Setting File, etc.

There are two types of images in FO.

In AH Formatter V6.2, all the images referred by outputted SVG are converted into JPEG or PNG or SVG. For this reason, images embedded or externally referenced are handled as follows.

Embed Link Copy and Link
JPEG ExternalRefEmbeds images without change.Links images without change.Copies and links images without change.
EmbeddedEmbeds images without change.
PNG ExternalRefLinks images without change.
EmbeddedEmbeds images without change.
BMP ExternalRefEmbeds images after converting into JPEG or PNG.Copies and links images after converting into JPEG or PNG.
Embedded
TIFF ExternalRef
Embedded
GIF ExternalRef
Embedded
JPEG2000 ExternalRef
Embedded
SVG ExternalRefEmbeds images as SVG.Links images without change.Copies and links images without change.
EmbeddedEmbeds images as SVG.
WMF ExternalRefEmbeds images after converting into SVG.Copies and links images after converting into SVG.
Embedded
EMF ExternalRef
Embedded
PDF ExternalRef
Embedded
MathML ExternalRef Embeds images after converting into SVG. It's invalid if AH Formatter MathML Option is not installed with AH Formatter V6.2 Lite. Copies and links images after converting into SVG. It's invalid if AH Formatter MathML Option is not installed with AH Formatter V6.2 Lite.
Embedded
CGM ExternalRefEmbeds images after converting into JPEG or PNG. Effective only when ActiveCGM plug-in is installed on Windows version. Copies and links images after converting into JPEG or PNG. Effective only when ActiveCGM plug-in is installed on Windows version.
Embedded
EPS ExternalRefEmbeds images after converging into JPEG or PNG in Windows version. In non-Windows versions, if the preview image included in EPS is the TIFF format, it's embedded after being changed into JPEG or PNG, if it is the WMF format, it's embedded after being changed into SVG. Copies and links images after converging into JPEG or PNG in Windows version. In non-Windows versions, if the preview image included in EPS is the TIFF format, it's copied and linked after being changed into JPEG or PNG, if it is the WMF format, it's copied and linked after being changed into SVG.
Embedded

Font Output

Please refer to "Fonts" for font details.

Fonts can be embedded with SVG Output, but it is the stroke of the associated character of a font that is embedded, not the font file. Therefore, fonts that are patent protected cannot be embedded because its stroke cannot be acquired. In addition, the correct outline of some TrueType and OpenType fonts might not be embedded as well.

Restrictions

SVG Tiny

Since many elements in SVG Tiny are not supported, it may be difficult to reproduce output that stays true to the original document. AH Formatter V6.2 reproduces the original as much as possible by substituting the elements with alternative expressions to the extent possible. The following are the main restrictions of SVG Tiny:

  • SVG Tiny does not support fills that contain gradation. Plain color is used as a substitute.
  • Writing mode is not supported by SVG Tiny. When a document contains vertical writing, the position for every character will be specified. For this reason, the size of the document may become greater than the one outputted by SVG 1.1.
  • Many SVG Tiny viewers do not support the rotation of characters. Those viewers will ignore the rotated character.