[cairo-commit] svgslides/example example-left-right.svg,NONE,1.1

Carl Worth commit at pdx.freedesktop.org
Wed Jul 20 12:06:43 PDT 2005

Committed by: cworth

Update of /cvs/cairo/svgslides/example
In directory gabe:/tmp/cvs-serv29906/example

Added Files:
Log Message:

        * src/svgslides-4suite: Fix so that slide titles and content may
        contain utf-8 characters without crashing python.
        Turn off the override of the transform attribute when copying a
        <g> element from input to output.

        * example/example-left-right.svg: Add missing file.

--- NEW FILE: example-left-right.svg ---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.0" width="1024" height="768"

  <g fill="black">
    <text ss:variable="presentation" x="8" y="28" font-size="20">Presentation Title</text>

    <text ss:variable="title" x="512" y="160" font-size="80" text-anchor="middle">Slide Title</text>

    <g ss:region="left">
      <rect x="100" y="200" width="400" height="530" fill="none" stroke="blue"/>
      <text font-size="40" x="100" y="240">Region: left</text>

    <g ss:region="right">
      <rect x="524" y="200" width="400" height="530" fill="none" stroke="blue"/>
      <text font-size="40" x="524" y="240">Region: right</text>

    <text ss:variable="URL" x="8" y="760" font-size="20">http://example.com</text>

    <text ss:variable="slide-number" x="1016" y="760" text-anchor="end" font-size="20">XX</text>


More information about the cairo-commit mailing list