XSL Formattter V3
Last updated: Jan 10, 2006
Home
Products Top
V3.4 Overview
How XSL Formatter Works
PDF Output
Font Support
Graphic Support
WordMLToFO Transformation
 
XSL-FO Conformance
Extension
SVG Conformance
SVG 1.1 Test Suite
MathML Conformance
MathML Test Suite
 
PANTONE® Option
Web Service Interface
SVG Output Option
MathML Option
Hyphenation Option
Barcode Option
WordMLToFO Stylesheet
XML Viewer
 
Download Evaluation Version
XSL Formatter Q&A
Upgrade from V2.X to V3.4
 
See also V3.4 Lite
V3.4 Lite Overview

XSL Formatter converts XML to PDF

PDF output is a standard function of XSL Formatter V3.4. PDF is outputted as PDF version 1.3, 1.4 or 1.5. PDF1.3 can be referred by Adobe Acrobat 4.0 or later, PDF1.4 can be referred by Adobe Acrobat 5.0 or later, PDF 1.5 can be referred by Adobe Acrobat 6.0 or later. (Including each Acrobat Reader)

Benefit of XML to PDF Conversion using XSL Formatter

Outputs PDF as standard function

PDF output function provides capabilities on the server for PDF Output. The number of accessible client PC is limitted on the server by using Acrobat PDF Wrinter or Distiller. However, XSL Formatter PDF output function allows you to use unlimited client PC accessible for creating PDF files.

Capability of embedding links & Bookmarks in PDF files

By setting extended properties inside the original document, bookmarks and links can be created. When the language is not supported in Acrobat and the font that belongs to the unsupported language is specified to the bookmark, there may be a possibility of displaying the font incorrectly in Acrobat Reader. See also Bookmark and link in PDF Output

Outputs PDF in multi separate volume

Possible to divide a large FO document into many PDFs and create internal links between PDFs automatically. Bookmarks, volume numbers, document file names of the separate volumes also can be set by options. See also Output PDF in multi separate volume

Document Information

Document information such as author, title, subject, keyword, pagemode and openaction can be embedded in PDF. XSL Formatter V3.4 generates document information automatically by adding the extended elements. The information that was embedded into PDF can be seen by Acrobat Reader. See also Document Information for PDF Output.

Capability of setting security

When setting the security, 40-bit RC4(Acrobat3.x,4.x) is applied for encryption. A high level encryption, 128-bit RC4(Acrobat5.x) is available with PDF 1.4 or later.

It is possible to set user password, master password and security settings for permissions to access. See also PDF Output Setting.

PDF Embedding

Possible to embed PDF document in the other PDF.

It is performed by using <fo:external-graphic>.

<fo:external-graphic src="embedded.pdf#page=3"/>

As described above, specify the page number which you want to embed to the URI. When there is no page number specified, the first page will be embedded. When there is no size specified, it's embedded in the page size of the PDF where it's embedded. However if you want to scale the size, content-width or content-height can be specified as follows:

<fo:external-graphic src="embedded.pdf#page=3" content-width="50%"/>

When specifying PDF by utilizing the data scheme (RFC2397), the page number can be specified as the parameter of the media type as follows.

<fo:external-graphic src="data:application/pdf;page=3;base64,JVBERi0xLjQKJeLjz9M..."/>

A dummy image will be displayed in GUI.

Character Output

Font

Supports Adobe Type 1 fonts (including Adobe Standard 14 fonts), and TrueType font (including OpenType font with TrueType Outline), and OpenType font (PostScript Outline). The other font formats are not supported. For more details, refer to the "Font Setting".

XSL Formatter V3.4 requires that you have the fonts you use installed on your system. Please refer to Windows help or follow the installation instructions attached to the fonts. Be sure to select "Copy fonts to Font folder" when you install fonts.

Note for Adobe Type 1 Fonts on Windows

Adobe Type 1 fonts are supported only with Windows2000/XP.

14 fonts in Adobe Type 1 (Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique, Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique, Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic, Symbol, ZapfDingbats) are called standard 14 fonts in PDF.

Even when using an Adobe Type 1 font except for these standard 14 fonts, it is not necessary to prepare an AFM (Adobe Font Metrics) file.

The glyph name of Adobe Type 1 fonts maps to character code (Unicode) of formatting data according to the AGL(Adobe Glyph List) specification. The glyph with a name that is not defined in AGL is not output.

Character Sets, Encoding

The following character sets are supported.

  • Adobe Standard Latin character set
  • Symbol character set
  • ZapfDingbats character set
  • Japanese character set (Adobe-Japan1-Supplement2)
  • Simplified Chinese character set (Adobe-GB1-Supplement2)
  • Traditional Chinese character set (Adobe-CNS1-Supplement0)
  • Korean character set (Adobe-Korea1-Supplement1)

Encoding of all characters are processed as Unicode within XSL Formatter V3.4. In the case of Chinese, Japanese, Korean, (CJK), XSL Formatter V3.4 maps the Unicode to glyph in each CJK character sets by using the following CMap.

  • Japanese : UniJIS-UCS2-H(V) UniJIS-UCS2-HW-H(V)
  • Simplified Chinese : UniGB-UCS2-H(V)
  • Traditional Chinese : UniCNS-UCS2-H(V)
  • Korean : UniKS-UCS2-H(V)

The characters that do not belong to the above character sets are embedded in PDF by getting the outline of glyphs from the font files. This process is done only for TrueType fonts.

XSL Formatter V3.4 Lite does not support CJK.

Font Embedding

By embedding outline data of fonts in PDF, it becomes possible to display PDF files even in the environment where there are no fonts. In XSL Formatter V3.4, this function can be used only for TrueType font (including OpenType font with TrueType Outline)

In the default setting of TrueType font processing, only the outline of glyph that is not defined by CMap is embedded. In the case TrueType font that is prohibited to embed by font vendor appears, error occurs and process stops. You can avoid this error by replacing it with a white space and output PDF. You can also specify option that all glyphs of a font to be embedded whether the character is defined by CMap or not.

In the default setting of Adobe Type 1 font processing, only the outline of font that has font specific encoding is embedded. You can also specify option that all glyphs of a font to be embedded whether the font has standard encoding or font specific encoding.

XSL Formatter V3.4 does not support treating fonts as external fonts that are not allowed to be embedded.

For more information about font embedding, refer to PDF Setting.

Thai Output

The following True Type fonts are available for Thai output.

  1. Microsoft Sans Serif
  2. Tahoma
  3. Arial Unicode MS (ver0.86 or later)
  4. Angsana New
  5. Angsana UPC
  6. Browallia New
  7. Browallia UPC
  8. Cordia New
  9. Cordia UPC
  10. Dillenia UPC
  11. Eucrosia UPC
  12. Freesia UPC
  13. Iris UPC
  14. Jasmine UPC
  15. Kodchiang UPC
  16. Lily UPC

In Windows 2000, the above fonts from 4 to 12 are added when you select 'Language settings for the system' in the 'Regional Options' in the Control Panel and check Thai. In Windows XP, the above fonts from 4 to 12 are added when you select Supplemental language support in language in the 'Regional and Language Options' in Control Panel and check 'Install files for complex script and right-to-left language [including Thai]'.

The fonts 1 and 3 are available only for Regular type, The font 2 is available for Regular and Bold type. The other fonts are available for Regular, Bold, Italic, BoldItalic type.

In processing Thai fonts, when the string that needs the glyph substitution is detected by checking output script, the glyph substitution is executed.

XSL Formatter V3.4 Lite does not support Thai.

Arabic Output

The following True Type fonts are available for Arabic output.

  1. Arial
  2. Courier New
  3. Microsoft Sans Serif
  4. Tahoma
  5. Times New Roman
  6. Arial Unicode MS

In Windows 2000, the fonts added when you check Arabic in Language settings for the system in the 'Regional and Language Options' in Control Panel are not supported. Also in Windows XP, the Arabic fonts added when you select Supplemental language support in language in the 'Regional and Language Options' in Control Panel and check 'Install files for complex script and right-to-left language [including Arabic]' are not supported.

The font 3 and 6 are available only for Regular type, the other fonts are available for Regular and Bold type.

In processing Arabic, Arabic script is shaped depending on its position, final, initial, medial or isolated by using Open Type feature defined in the above fonts. In addition, the gryph substitution of Ligature, marks is defined, it's also shaped. Supported features are 'init', 'medi', 'fina', 'isol', 'liga', 'mset' for each.

Also, the expansion processing by inserting Kashida is supported. The percentage of Kashida can be controlled by the extension property axf:text-kashida-space.

XSL Formatter V3.4 Lite does not support Arabic.

Hebrew Output

The following True Type fonts are available for Hebrew output.

  1. Arial
  2. Courier New
  3. Lucida Sans Unicode
  4. Microsoft Sans Serif
  5. Tahoma
  6. Times New Roman
  7. Arial Unicode MS
  8. Aharoni
  9. David
  10. David Transparent
  11. FrankRuehl
  12. Levenim MT
  13. Miriam
  14. Miriam Fixed
  15. Fixed Miriam Transparent
  16. Miriam Transparent
  17. Narkisim
  18. Rod
  19. Rod Transparent

In Windows 2000, the above fonts from 8 to 19 are added when you select 'Language settings for the system' in the 'Regional Options' in the Control Panel and check Hebrew. In Windows XP, the above fonts from 8 to 19 are added when you select Supplemental language support in language in the 'Regional and Language Options' in Control Panel and check 'Install files for complex script and right-to-left language [including Hebrew]'.

The fonts 3, 4, 7, 10, 11, 13, 14, 15, 16, 17, 18, 19 are only available for Regular type, The font 8 is only available for Bold type, and the others are available for Regular, Bold, Italic, BoldItalic type.

In processing Hebrew, when the string that needs to be changed to the string defined in Unicode type Hebrew Presentation Forms is detected by checking output script, it is changed to the string.

XSL Formatter V3.4 Lite does not support Hebrew.

Restrictions

  • Thai fonts are always embedded in PDF.
  • OpenType font has a functionality called Advanced Tyopographic Extensions, such as Glyph Substitution. XSL Formatter V3.4 supports Glyph substitution ('vert') in vertical writing and 'init', 'medi', 'fina', 'isol', 'liga' 'mset' for Arabic. The font that uses the feature except for these might not be processed correctly.
  • In some cases, the position of vowel is out of position in Arabic and Hebrew.

Image Output

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

Vector Image

The following vector images are outputted to PDF directly as vector images being replaced with the PDF operator.

  • SVG
  • MathML
  • EMF
  • WMF

The vector images other than the above are transformed into the raster images and outputted to PDF. The rasterize-resolution can be set in the result PDF with the value of dpi. See also resterize-resolution in PDF Setting on the Option Setting file in the Online Manual. However, only the Windows version supports the conversion into a raster image. In the other non-Windows versions, the vector image which cannot be outputted to PDF is disregarded.

Raster Image

Generally the raster graphic data is compressed using some compression algorithms in the graphic file. If the compression method and the original (uncompressed) image format are both compatible with PDF file format, the compressed raster graphic data will be directly embedded into the PDF file. If the compression method or original image format are not compatible with PDF format, the graphic data will be uncompressed and converted to PDF compatible bitmap format for the present (if graphic data cannot be uncompressed, its data cannot be processed). After the bitmap format will be compressed using JPEG or ZLIB compression and embedded into PDF file. See also image-compression, jpeg-quality attributes in PDF Setting of the Option Setting File in the Online Manual. If raster image data is directly embedded into the PDF file, these attributes will not be applied.

The raster image which can be embedded directly in PDF is as follows.

  • JPEG
  • PNG
  • GIF
  • TIFF
  • JPEG2000 (V3.4)

However, there are the following restrictions.

  • Progressive JPEG, Interlaced GIF are transformed into regular JPEG or GIF images.
  • 16-bit color in PNG and TIFF is reduced to a 8-bit color.
  • When alpha channel is attached to PNG, TIFF, it is divided.
  • There are some unsupported TIFF formats.

Down sampling

In XSL Formatter V3.4, the down sampling of the raster images embedded in PDF can be down sampled. (V3.4)

How it's down sampled can be specified in Compression in the PDF Option Setting dialog or in Option Seting File on the GUI


Copyright © 1996-2006 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.
заказать осаго киев для своей машины