You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by he...@apache.org on 2010/10/05 00:40:40 UTC
svn commit: r1004465 - in /xmlgraphics/batik/trunk: CHANGES
documentation-sources/content/xdocs/tools/rasterizer.xml
Author: helder
Date: Mon Oct 4 22:40:40 2010
New Revision: 1004465
URL: http://svn.apache.org/viewvc?rev=1004465&view=rev
Log:
General:
Document -font-family, -indexed, -snapshotTime and -anyScriptOrigin options of svgrasterizer.
(closes bug 43950, thanks to Rob Davis <te...@robertjdavis.co.uk> for pointing it out).
Modified:
xmlgraphics/batik/trunk/CHANGES
xmlgraphics/batik/trunk/documentation-sources/content/xdocs/tools/rasterizer.xml
Modified: xmlgraphics/batik/trunk/CHANGES
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/CHANGES?rev=1004465&r1=1004464&r2=1004465&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/CHANGES (original)
+++ xmlgraphics/batik/trunk/CHANGES Mon Oct 4 22:40:40 2010
@@ -9,9 +9,9 @@ Bug fixing is an on-going task, so it is
1. Bugzilla problem reports fixed:
- 43411, 43847, 44553, 44590, 44919, 44936, 44966, 45112, 45114,
- 45117, 45397, 45520, 45883, 45958, 46072, 46124, 46430, 46431,
- 46855, 46871, 47201, 47202, 48182, 48411, 50006
+ 43411, 43847, 43950, 44553, 44590, 44919, 44936, 44966, 45112,
+ 45114, 45117, 45397, 45520, 45883, 45958, 46072, 46124, 46430,
+ 46431, 46855, 46871, 47201, 47202, 48182, 48411, 50006
2. New features
Modified: xmlgraphics/batik/trunk/documentation-sources/content/xdocs/tools/rasterizer.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/documentation-sources/content/xdocs/tools/rasterizer.xml?rev=1004465&r1=1004464&r2=1004465&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/documentation-sources/content/xdocs/tools/rasterizer.xml (original)
+++ xmlgraphics/batik/trunk/documentation-sources/content/xdocs/tools/rasterizer.xml Mon Oct 4 22:40:40 2010
@@ -107,7 +107,7 @@
<dt><strong>-m</strong> <em>mime-type</em></dt>
<dd>
<p>
- specifies the output MIME type, which must be one of
+ specifies the output MIME type, which should be one of
<code>image/png</code>, <code>image/jpeg</code>,
<code>image/tiff</code> or <code>application/pdf</code>,
</p>
@@ -161,6 +161,10 @@
<p>specifies the CSS user stylesheet to use in addition to any
other referenced or embedded stylesheets,</p>
</dd>
+ <dt><strong>-font-family</strong> <em>defaultFontFamily</em></dt>
+ <dd>
+ <p>specifies default font family to be used when none is specified,</p>
+ </dd>
<dt><strong>-lang</strong> <em>language-code</em></dt>
<dd>
<p>specifies the
@@ -173,6 +177,12 @@
number in the range 0 < <em>quality</em> < 1 when generating
JPEG images,</p>
</dd>
+ <dt><strong>-indexed</strong> <em>1|2|4|8</em></dt>
+ <dd>
+ <p>specifies the number of bits per pixel of the output image,
+ using an adaptive pallete, resulting in an indexed image when
+ generating PNG images,</p>
+ </dd>
<dt><strong>-dpi</strong> <em>resolution</em></dt>
<dd>
<p>specifies the resolution of the output image in dots per inch,</p>
@@ -187,10 +197,20 @@
<p>specifies that the SVG files should be rasterized after
dispatching the SVG load event,</p>
</dd>
+ <dt><strong>-snapshotTime</strong></dt>
+ <dd>
+ <p>specifies the document time that should be seeked to before
+ rasterizing the document, implying -onload,</p>
+ </dd>
<dt><strong>-scriptSecurityOff</strong></dt>
<dd>
<p>specifies that any security checks on the scripts running as a
- result of dispatching the SVG load event will be bypassed, and</p>
+ result of dispatching the SVG load event will be bypassed,</p>
+ </dd>
+ <dt><strong>-anyScriptOrigin</strong></dt>
+ <dd>
+ <p>specifies that scripts can be loaded from any location, while by
+ default they can only be loaded from the same location as the document, and</p>
</dd>
<dt><strong>-scripts</strong> <em>allowed-script-types</em></dt>
<dd>