Author: sjur Date: Tue Jul 5 12:08:22 2016 New Revision: 1751454 URL: http://svn.apache.org/viewvc?rev=1751454&view=rev Log: Slightly better rendering of the default project logo as rendered from svg: the text is now roughly in the middle of the generated image, and the image size follows the text size instead of being hugely much wider with the text at the very right end.
Modified: forrest/trunk/main/template-sites/basic/src/documentation/content/xdocs/images/project.svg Modified: forrest/trunk/main/template-sites/basic/src/documentation/content/xdocs/images/project.svg URL: http://svn.apache.org/viewvc/forrest/trunk/main/template-sites/basic/src/documentation/content/xdocs/images/project.svg?rev=1751454&r1=1751453&r2=1751454&view=diff ============================================================================== --- forrest/trunk/main/template-sites/basic/src/documentation/content/xdocs/images/project.svg (original) +++ forrest/trunk/main/template-sites/basic/src/documentation/content/xdocs/images/project.svg Tue Jul 5 12:08:22 2016 @@ -36,7 +36,7 @@ SVG spec (http://www.w3.org/TR/SVG/) as xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0" xmlns:for="http://apache.org/forrest" - width="520" height="65" > + width="180" height="65" > <title>Project logo</title> <defs> @@ -73,7 +73,7 @@ SVG spec (http://www.w3.org/TR/SVG/) as </defs> <g filter="url(#shadowFilter)" fill="url(#gradient)"> - <text x="99%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: end" > + <text x="92%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: end" > <for:project-name /> </text> </g>