[cairo-commit] svgslides ChangeLog, 1.53, 1.54 svgslides.xsl, 1.40, 1.41

Carl Worth commit at pdx.freedesktop.org
Thu Feb 10 13:39:18 PST 2005


Committed by: cworth

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

Modified Files:
	ChangeLog svgslides.xsl 
Log Message:

        * svgslides.xsl: Copy font-family attribute from text sample.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/svgslides/ChangeLog,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- ChangeLog	4 Feb 2005 20:50:21 -0000	1.53
+++ ChangeLog	10 Feb 2005 21:39:16 -0000	1.54
@@ -1,3 +1,7 @@
+2005-02-10  Carl Worth  <cworth at cworth.org>
+
+	* svgslides.xsl: Copy font-family attribute from text sample.
+
 2005-02-04  Carl Worth  <cworth at cworth.org>
 
 	* svgslides.xsl: Fix broken indenting of list items, (so they

Index: svgslides.xsl
===================================================================
RCS file: /cvs/cairo/svgslides/svgslides.xsl,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- svgslides.xsl	4 Feb 2005 20:50:21 -0000	1.40
+++ svgslides.xsl	10 Feb 2005 21:39:16 -0000	1.41
@@ -84,6 +84,7 @@
     <xsl:variable name="text-sample"   select="svg:text[1]" />
     <xsl:variable name="font-size"     select="$text-sample/@font-size" />
     <xsl:variable name="font-color"    select="$text-sample/@fill" />
+    <xsl:variable name="font-family"   select="$text-sample/@font-family" />
 
     <xsl:copy>
       <xsl:apply-templates select="@*" />
@@ -92,6 +93,7 @@
 	  transform="translate({$region-x},{$region-y})"
 	  font-size="{$font-size}"
 	  fill="{$font-color}"
+	  font-family="{$font-family}"
 	  >
 
 	<!-- XXX: Can anyone tell me how to eliminate this horrendous




More information about the cairo-commit mailing list