SVG-to-PDFKit demo page

 

$RCSfile: coords-viewattr-01-b.svg,v $ Example PreserveAspectRatio - demonstrate available options Test available options of preserveAspectRatio SVG to fit Viewport 1 Viewport 2 ---------- meet -------------------- xMin* xMid* xMax* ---------- meet ------------------------ *YMin *YMid *YMax ---------- slice ------------------------- xMin* xMid* xMax* ---------- slice --------------------- *YMin *YMid *YMax $Revision: 1.1 $ Text adjusted around a triangle Maths x2 + y2 = z2! Chemistry 2H2 + O2 -> 2H2O Text centered on a complex path Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Looking back Compare the way things are going in the United States with how they were going five years ago. Apr. 2008 4 17 Better 78% Worse Jan. 2009 5 10 About the same 83% Jobs When it comes to the availability of good jobs for American workers, do you think America's best years behind us or yet to come? Apr. 2008 48 9 Behind us 43% Yet to come Jan. 2009 35 8 No opinion 57% Source: New York Times/CBS News Polls Looking ahead What is your best guess about the United States five years from now if things go pretty much as you expect? 39 19 Better 34% Worse 61 17 About the same 19% Economy How would you rate the condition of the national economy these days? 90 80 70 60 50 Jan.08 July.08 Jan.09 Fairly or very bad 92% THE NEW YORK TIMES \ Sample text