SVG) Tiny 1.2 Specification
Total Page:16
File Type:pdf, Size:1020Kb
Scalable Vector Graphics (SVG) Tiny 1.2 Specification W3C Working Draft 08 December 2005 This version: http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/ Previous version: http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/ Latest version: http://www.w3.org/TR/SVGMobile12/ Editors: Ola Andersson (Ikivo) <ola.andersson@ikivo.com> Robin Berjon (Expway) <robin.berjon@expway.fr> Jon Ferraiolo (Adobe Systems) <jon.ferraiolo@adobe.com> Vincent Hardy (Sun Microsystems, Inc.) <vincent.hardy@sun.com> Scott Hayman (Research In Motion Limited) Dean Jackson (W3C) <dean@w3.org> Chris Lilley (W3C) <chris@w3.org> Craig Northway (Canon, Inc.) <craign@cisra.canon.com.au> Antoine Quint (Invited Expert) <aq@fuchsia-design.com> Authors: See author list Copyright ©2005 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply. Abstract This specification defines the features and syntax for Scalable Vector Graphics (SVG) Tiny, Version 1.2, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML. SVG Tiny 1.2 is the baseline profile of SVG, implementable on a range of devices from cellphones and PDAs to desktop and laptop computers, and is the core of SVG 1.2. Other SVG 1.2 specifications will extend this functionality to form supersets (for example, SVG 1.2 Full). Status of this document This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/. This is a W3C Last Call Working Draft. If the feedback is positive, the SVG Working Group plans to submit this specification for consideration as a W3C Candidate Recommendation. This is the third Last Call Working Draft for this specification. The second Last Call resulted in a number of comments which all have been addressed by the SVG Working Group, a list of all comments can be found in the Last Call Comments List. The purpose of this third Last Call is to allow reviewers to verify that their comments have been included as agreed by the SVG Working Group, it is not intended as a new, general review period. Comments for this specification should have a subject starting with the prefix '[SVGMobile12]' followed by the number of the comment from the Last Call Comments List. E.g. "[SVGMobile12], SVGT12-4, subject here". Please send them to www-svg@w3.org, the public email list for issues related to SVG. This list is archived and acceptance of this archiving policy is requested automatically upon first post. To subscribe to this list send an email to www-svg-request@w3.org with the word subscribe in the subject line. Comments are accepted until 28 December 2005. This document has been produced by the SVG Working Group as part of the W3C Graphics Activity, following the procedures set out for the W3C Process. The authors of this document are listed at the end in the Author List section. The patent policy for this document is the 5 February 2004 W3C Patent Policy. Patent disclosures relevant to this specification may be found on the SVG Working Group's patent disclosure page. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) with respect to this specification should disclose the information in accordance with section 6 of the W3C Patent Policy. Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress. Available languages The English version of this specification is the only normative version. However, for translations in other languages see http://www.w3.org/Graphics/SVG/svg-updates/translations.html. Table of Contents ● 1 Introduction ● 2 Concepts ● 3 Rendering Model ● 4 Basic Data Types and Color Keywords ● 5 Document Structure ● 6 Styling ● 7 Coordinate Systems, Transformations and Units ● 8 Paths ● 9 Basic Shapes ● 10 Text ● 11 Painting: Filling, Stroking, Colors and Paint Servers ● 12 Multimedia ● 13 Interactivity ● 14 Linking ● 15 Scripting ● 16 Animation ● 17 Fonts ● 18 Metadata ● 19 Extensibility ● Appendix A The SVG Micro DOM (uDOM) ● Appendix B IDL Definitions ● Appendix C Implementation Requirements ● Appendix D Conformance Criteria ● Appendix E Conformance to QA Framework Specification Guidelines ● Appendix F Accessibility Support ● Appendix G Internationalization Support ● Appendix H JPEG Support ● Appendix I Minimizing SVG File Sizes ● Appendix J Feature strings ● Appendix K Element Table ● Appendix L Attribute and Property Tables ● Appendix M Media Type registration for image/svg+xml ● Appendix N RelaxNG Schema for SVG Tiny 1.2 ● Appendix O References ● Appendix P Change History Full Table of Contents The authors of the SVG Tiny 1.2 specification are the people who participated in the SVG Working Group as members or alternates. Authors: ❍ Ola Andersson, Ikivo ❍ Phil Armstrong, Corel Corporation ❍ Henric Axelsson, Ericsson AB ❍ Selim Balcısoy, Nokia ❍ Robin Berjon, Expway ❍ Benoît Bézaire, Itedo (formerly Corel Corporation) ❍ John Bowler, Microsoft Corporation ❍ Gordon Bowman, Corel Corporation ❍ Craig Brown, Canon Information Systems Research Australia ❍ Mike Bultrowicz, Savage Software ❍ Tolga Çapin, Nokia ❍ Milt Capsimalis, Autodesk Inc. ❍ Mathias Larsson Carlander, Ericsson AB ❍ Jakob Cederquist, Ikivo ❍ Suresh Chitturi, Nokia ❍ Charilaos Christopoulos, Ericsson AB ❍ Richard Cohn, Adobe Systems Inc. ❍ Lee Cole, Quark ❍ Cyril Concolato, Groupe des Ecoles des Télécommunications (GET) ❍ Don Cone, America Online Inc. ❍ Alex Danilo, Canon Information Systems Research Australia ❍ Thomas DeWeese, Eastman Kodak ❍ David Dodds, Lexica ❍ Andrew Donoho, IBM ❍ David Duce, Oxford Brookes University ❍ Jean-Claude Dufourd, Streamezzo (formerly GET) ❍ Jerry Evans, Sun Microsystems ❍ Jon Ferraiolo, Adobe Systems Inc. ❍ Darryl Fuller, Schema Software ❍ 藤沢 淳 (FUJISAWA Jun), Canon ❍ Scott Furman, Netscape Communications Corporation ❍ Brent Getlin, Macromedia ❍ Christophe Gillette, Motorola (formerly BitFlash) ❍ Peter Graffagnino, Apple ❍ Rick Graham, BitFlash ❍ Vincent Hardy, Sun Microsystems Inc. ❍ 端山 貴也 (HAYAMA Takanari), KDDI Research Labs ❍ Scott Hayman, Research In Motion Limited ❍ Stephane Heintz, BitFlash ❍ Lofton Henderson, OASIS ❍ Ivan Herman, W3C ❍ Jan Christian Herlitz, Excosoft ❍ Alan Hester, Xerox Corporation ❍ Bob Hopgood, RAL (CCLRC) ❍ Bin Hu, Motorola ❍ Michael Ingrassia, Nokia ❍ 石川 雅康 (ISHIKAWA Masayasu), W3C ❍ Dean Jackson, W3C (W3C Team Contact) ❍ Christophe Jolif, ILOG S.A. ❍ Lee Klosterman, Hewlett-Packard ❍ 小林 亜令 (KOBAYASHI Arei), KDDI Research Labs ❍ Thierry Kormann, ILOG S.A. ❍ Yuri Khramov, Schema Software ❍ Kelvin Lawrence, IBM ❍ Håkon Lie, Opera ❍ Chris Lilley, W3C (Working Group Chair) ❍ Vincent Mahe, France Telecom ❍ Philip Mansfield, Schema Software ❍ Kevin McCluskey, Netscape Communications Corporation ❍ 水口 充 (MINAKUCHI Mitsuru), Sharp Corporation ❍ Luc Minnebo, Agfa-Gevaert N.V. ❍ Jean-Claude Moissinac, Groupe des Ecoles des Télécommunications (GET) ❍ Craig Northway, Canon Information Systems Research Australia ❍ Tuan Nguyen, Microsoft Corporation ❍ 小野 修一郎 (ONO Shuichiro), Sharp Corporation ❍ Lars Piepel, Vodafone ❍ Antoine Quint, Fuchsia Design (formerly of ILOG) ❍ ••••••• •••• (Nandini Ramani), Sun Microsystems ❍ Bruno David Simões Rodrigues, Vodafone ❍ 相良 毅 (SAGARA Takeshi), KDDI Research Labs ❍ Troy Sandal, Visio Corporation ❍ Peter Santangeli, Macromedia ❍ Sebastian Schnitzenbaumer, SAP AG ❍ Haroon Sheikh, Corel Corporation ❍ Brad Sipes, Ikivo ❍ Andrew Sledd, Ikivo ❍ Пётр Соротокин (Peter Sorotokin), Adobe Systems Inc. ❍ Gavriel State, Corel Corporation ❍ Robert Stevahn, Hewlett-Packard ❍ Timothy Thompson, Eastman Kodak ❍ 上田 宏高 (UEDA Hirotaka), Sharp Corporation ❍ Rick Yardumian, Canon Development Americas ❍ Charles Ying, Openwave Systems Inc. ❍ Shenxue Zhou, Quark Acknowledgments The SVG Working Group would like to acknowledge the many people outside of the SVG Working Group who help with the process of developing the SVG specification. These people are too numerous to list individually. They include but are not limited to the early implementers of the SVG languages (including viewers, authoring tools, and server-side transcoders), developers of SVG content, people who have contributed on the www-svg@w3.org and svg- developers@yahoogroups.com email lists, other Working Groups at the W3C, and the W3C Team. SVG is truly a cooperative effort between the SVG Working Group, the rest of the W3C, and the public and benefits greatly from the pioneering work of early implementers and content developers, feedback from the public. SVG Tiny 1.2 - 20051208 TopContentsNextElementsAttributes 1 Introduction Contents ● 1.1 About SVG ● 1.2 SVG Tiny 1.2 ❍ 1.2.1 Modularization ❍ 1.2.2 Element and Attribute collections ❍ 1.2.3 Profiling the SVG specification ● 1.3 Defining an SVG Tiny 1.2 document ● 1.4 SVG MIME type, file name extension and Macintosh file type ● 1.5 Compatibility with Other Standards Efforts ● 1.6 Definitions 1.1 About SVG SVG is a language for describing two-dimensional graphics in XML [XML11]. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), multimedia (such as raster images and video) and text. Graphical objects can be grouped, styled, transformed