XEP 4.9 Reference for Java
Total Page:16
File Type:pdf, Size:1020Kb
XEP 4.9 Reference for Java Abstract This document is a reference manual for XEP rendering engine. It contains a detailed description of supported input and output formats, layout control features, and formatter configuration. In the last chapter, issues specific to Java platform are discussed. Table of Contents 1. Overview ........................................................................................................................................ 4 2. XEP Configuration ......................................................................................................................... 5 2.1. Configuration Structure ...................................................................................................... 5 2.2. Core Options ....................................................................................................................... 6 2.3. Parameters for Output Generators ...................................................................................... 8 2.4. Fonts Configuration ............................................................................................................ 9 2.4.1. Fonts and Font Families ........................................................................................... 9 2.4.2. Font Groups ........................................................................................................... 11 2.4.3. Font Aliases ............................................................................................................ 12 2.5. Languages Configuration .................................................................................................. 12 2.5.1. Hyphenation Configuration ................................................................................... 12 2.5.2. Language-Specific Font Aliases ............................................................................ 13 3. XSL FO Support .......................................................................................................................... 13 3.1. Formatting Objects Supported by XEP 4.9 ....................................................................... 13 3.2. Formatting Properties Supported by XEP 4.9 ................................................................... 16 3.3. Notes on Formatting Objects Implementation .................................................................. 26 3.4. Supported Expressions ...................................................................................................... 27 3.5. Color Specifiers ................................................................................................................ 29 3.6. Extensions to the XSL 1.0 Recommendation ................................................................... 30 3.6.1. Document Information ........................................................................................... 31 3.6.2. Document Outline (Bookmarks) ............................................................................ 31 3.6.3. Indexes ................................................................................................................... 32 3.6.4. Flow Sections ......................................................................................................... 34 3.6.5. Last Page Number Reference ................................................................................. 34 3.6.6. Change Bars ........................................................................................................... 35 3.6.7. Background Image Scaling and Content Type ....................................................... 35 Page 1 of 128 3.6.8. Initial Destination ................................................................................................... 36 3.6.9. Omitted Initial Header in Tables ............................................................................ 36 3.6.10. Base URI Definition: xml:base ............................................................................ 36 3.6.11. Border and Padding on Regions ........................................................................... 36 3.6.12. Floats Alignment .................................................................................................. 36 3.7. XSL 1.1 Support ............................................................................................................... 37 3.7.1. Document Outline (Bookmarks) ............................................................................ 38 3.7.2. Indexes ................................................................................................................... 38 3.7.3. Last Page Number Reference ................................................................................. 39 3.7.4. Change Bars ........................................................................................................... 39 4. Output Format Settings ................................................................................................................ 40 4.1. Unicode Strings in Annotations (PDF, PostScript) ........................................................... 40 4.2. Initial Zoom Factor (PDF, PostScript) .............................................................................. 41 4.3. PDF Viewer Preferences (PDF, PostScript) ...................................................................... 41 4.4. Treatment of Unused Destinations (PDF, PostScript) ....................................................... 42 4.5. ICC Profile (PDF) ............................................................................................................. 43 4.6. PDF/X Support (PDF) ....................................................................................................... 43 4.7. Prepress Support (PDF, PostScript) .................................................................................. 43 4.8. PDF Version (PDF) ........................................................................................................... 45 4.9. Compression of PDF Streams (PDF) ................................................................................ 45 4.10. Linearization (PDF) ........................................................................................................ 45 4.11. Document Security (PDF) ............................................................................................... 46 4.12. PostScript Language Level (PostScript) ......................................................................... 47 4.13. EPS Graphics Treatment (PostScript) ............................................................................. 47 4.14. Page Device Control (PostScript) ................................................................................... 48 4.15. Images Treatment in XML Output (XML) ..................................................................... 48 5. Supported Graphic Formats ......................................................................................................... 49 5.1. Bitmap Graphics ............................................................................................................... 49 5.1.1. PNG ........................................................................................................................ 49 5.1.2. JPEG ...................................................................................................................... 50 5.1.3. GIF ......................................................................................................................... 50 5.1.4. TIFF ....................................................................................................................... 50 5.2. Vector Graphics ................................................................................................................. 50 5.2.1. SVG ........................................................................................................................ 51 5.2.2. PDF ........................................................................................................................ 53 5.2.3. EPS ......................................................................................................................... 54 6. Supported Fonts ........................................................................................................................... 54 Page 2 of 128 6.1. PostScript Type 1 Fonts .................................................................................................... 54 6.1.1. PostScript Fonts and Unicode ................................................................................ 54 6.1.2. Standard Adobe Fonts ............................................................................................ 56 6.2. TrueType Fonts ................................................................................................................. 57 6.3. OpenType/CFF Fonts ........................................................................................................ 57 7. Linguistic Algorithms .................................................................................................................. 58 7.1. Line Breaking Algorithm .................................................................................................. 58 7.2. Hyphenation ...................................................................................................................... 59 7.3. Support for Right-to-Left Writing Systems .....................................................................