xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psan...@apache.org
Subject svn commit: r1417491 - in /xmlgraphics/site/trunk/content/batik/tools: browser.mdtext pretty-printer.mdtext rasterizer.mdtext
Date Wed, 05 Dec 2012 15:40:38 GMT
Author: psancho
Date: Wed Dec  5 15:40:36 2012
New Revision: 1417491

URL: http://svn.apache.org/viewvc?rev=1417491&view=rev
Log:
missing quotes: further changes

Modified:
    xmlgraphics/site/trunk/content/batik/tools/browser.mdtext
    xmlgraphics/site/trunk/content/batik/tools/pretty-printer.mdtext
    xmlgraphics/site/trunk/content/batik/tools/rasterizer.mdtext

Modified: xmlgraphics/site/trunk/content/batik/tools/browser.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/batik/tools/browser.mdtext?rev=1417491&r1=1417490&r2=1417491&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/batik/tools/browser.mdtext (original)
+++ xmlgraphics/site/trunk/content/batik/tools/browser.mdtext Wed Dec  5 15:40:36 2012
@@ -43,7 +43,7 @@ If you are using Mac OS X, and you have 
 
 ### Starting the browser for the source distribution <a id="starting-source"></a>
 
-If you downloaded the [source distribution](../install.html#distributions) of Batik, you
should have a zip file called `batik-src-1.6.zip` (or similar) that expanded into a directory
called `xml-batik` or `batik-`*`version`*`. In that directory, you can find build scripts
for the platform you are running on. For example, there is a `build.bat` script for users
of the Windows platform and there is a `build.sh` script for UNIX users.
+If you downloaded the [source distribution](../install.html#distributions) of Batik, you
should have a zip file called `batik-src-1.6.zip` (or similar) that expanded into a directory
called `xml-batik` or `batik-`*`version`*. In that directory, you can find build scripts for
the platform you are running on. For example, there is a `build.bat` script for users of the
Windows platform and there is a `build.sh` script for UNIX users.
 
 To start the browser you should:
 

Modified: xmlgraphics/site/trunk/content/batik/tools/pretty-printer.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/batik/tools/pretty-printer.mdtext?rev=1417491&r1=1417490&r2=1417491&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/batik/tools/pretty-printer.mdtext (original)
+++ xmlgraphics/site/trunk/content/batik/tools/pretty-printer.mdtext Wed Dec  5 15:40:36 2012
@@ -67,15 +67,19 @@ specifies the public ID to in the doctyp
 specifies the system ID to in the doctype declaration, when `-doctype change` is specified.
 
 For example:
-java -jar batik-svgpp.jar -tab-width 2 -newline cr-lf src.svg dest.svg
+
+    java -jar batik-svgpp.jar -tab-width 2 -newline cr-lf src.svg dest.svg
+
 will format `src.svg` and write it to `dest.svg` using a tabulation width of 2 and Windows-style
newlines, and:
-java -jar batik-svgpp.jar -no-format -doctype change -public-id "-//W3C//DTD SVG 1.1//EN"
\
-     -system-id "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" src.svg dest.svg
+
+    java -jar batik-svgpp.jar -no-format -doctype change -public-id "-//W3C//DTD SVG 1.1//EN"
\
+         -system-id "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" src.svg dest.svg
+
 will format `src.svg` and write it to `dest.svg` unchanged, except for the doctype public
and system IDs, which will be replaced by those specified.
 
 ### Using the source distribution <a id="using-source"></a>
 
-If you downloaded the source distribution of Batik, you will have a zip or tar file that
expanded into a directory called `xml-batik` or`batik-`*`version`*. In that directory, you
can find build scripts for the platform you are running on. For example, there is a `build.bat`
script for users of the Windows platform and there is a `build.sh` script for UNIX users.
+If you downloaded the source distribution of Batik, you will have a zip or tar file that
expanded into a directory called `xml-batik` or `batik-`*`version`*. In that directory, you
can find build scripts for the platform you are running on. For example, there is a `build.bat`
script for users of the Windows platform and there is a `build.sh` script for UNIX users.
 
 To start the pretty printer you should:
 
@@ -90,14 +94,20 @@ Open a command line window and go to the
 
 -
 For windows, type the following at the command prompt:
-build svgpp
-and for Unix:
-./build.sh svgpp
+
+    build svgpp
+    and for Unix:
+    ./build.sh svgpp
+
 This will print out a help message for the pretty printer.
 
 
 You can pass options to the rasterizer as follows, for Windows:
-build svgpp [OPTIONS] FILES
+
+    build svgpp [OPTIONS] FILES
+
 and for Unix:
-./build.sh svgpp [OPTIONS] FILES
+
+    ./build.sh svgpp [OPTIONS] FILES
+
 Refer to [“Using the binary distribution”](#using-binary) for an explanation of
these options.

Modified: xmlgraphics/site/trunk/content/batik/tools/rasterizer.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/batik/tools/rasterizer.mdtext?rev=1417491&r1=1417490&r2=1417491&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/batik/tools/rasterizer.mdtext (original)
+++ xmlgraphics/site/trunk/content/batik/tools/rasterizer.mdtext Wed Dec  5 15:40:36 2012
@@ -17,142 +17,144 @@ The method for starting the rasterizer d
 
 If you downloaded the binary distribution of Batik, you should have a file called `batik-1.6.zip`
(or similar), and, after expanding that file, a jar file called `batik-rasterizer.jar`. To
start the rasterizer, open a console, go to the directory where you expanded the distribution
(and where `batik-rasterizer.jar` is located) and simply type the following at the command
prompt:
 
-java -jar batik-rasterizer.jar FILES
+    java -jar batik-rasterizer.jar FILES
 
 For example, if you type:
 
-java -jar batik-rasterizer.jar samples/batikFX.svg
+    java -jar batik-rasterizer.jar samples/batikFX.svg
 
 you will see the following printout:
-Converting file: samples/BatikFX.svg to samples/BatikFX.png
+
+    Converting file: samples/BatikFX.svg to samples/BatikFX.png
+
 Once the conversion is complete, you will find a `batikFX.png` file in the samples directory.
 
 You can pass options on the command line:
 
-java -jar batik-rasterizer.jar [OPTIONS] FILES
+    java -jar batik-rasterizer.jar [OPTIONS] FILES
 
 where, as options:
 
 
 
- **-d**  *dir|file*
+ **`-d`** *`dir|file`*
 :
 specifies the output directory, or the output file if there is only a single input file,
 
 
- **-m**  *mime-type*
+ **`-m`** *`mime-type`*
 :
 specifies the output MIME type, which should be one of `image/png`, `image/jpeg`, `image/tiff`
or `application/pdf`,
 
 
- **-w**  *width*
+ **`-w`** *`width`*
 :
 specifies the output width as a floating point value,
 
 
- **-h**  *height*
+ **`-h`** *`height`*
 :
 specifies the output height as a floating point value,
 
 
- **-maxw**  *width*
+ **`-maxw`** *`width`*
 :
 specifies the maximum output width as a floating point value,
 
 
- **-maxh**  *height*
+ **`-maxh`** *`height`*
 :
 specifies the maximum output height as a floating point value,
 
 
- **-a**  *x*  **,**  *y*  **,**  *width*  **,**  *height*
+ **`-a`** *`x`* **`,`** *`y`* **`,`** *`width`* **`,`** *`height`*
 :
 specifies the area of interest (as floating point values) of the SVG file to rasterize (and
if not specified, will be determined by the `width` / `height` / `viewBox` attributes if specified
in the document, and be 0,0,400,400 otherwise),
 
 
- **-bg**  *alpha*  **.**  *red*  **.**  *green*  **.**  *blue*
+ **`-bg`** *`alpha`* **`.`** *`red`* **`.`** *`green`* **`.`** *`blue`*
 :
 specifies the background fill color as an ARGB quadruple, where each component is an integer
in the range 0—255,
 
 
- **-cssMedia**  *media*
+ **`-cssMedia`** *`media`*
 :
 specifies the CSS media type used for matching CSS rules,
 
 
- **-cssAlternate**  *file|uri*
+ **`-cssAlternate`** *`file|uri`*
 :
 specifies the CSS alternate stylesheet to use,
 
 
- **-cssUser**  *file|uri*
+ **`-cssUser`** *`file|uri`*
 :
 specifies the CSS user stylesheet to use in addition to any other referenced or embedded
stylesheets,
 
 
- **-font-family**  *defaultFontFamily*
+ **`-font-family`** *`defaultFontFamily`*
 :
 specifies default font family to be used when none is specified,
 
 
- **-lang**  *language-code*
+ **`-lang`** *`language-code`*
 :
 specifies the [RFC 3066](http://www.faqs.org/rfcs/rfc3066.html) language code to use,
 
 
- **-q**  *quality*
+ **`-q`** *`quality`*
 :
 specifies the quality of the output image, as a floating point number in the range 0 <
*quality* < 1 when generating JPEG images,
 
 
- **-indexed**  *1|2|4|8*
+ **`-indexed`** *`1|2|4|8`*
 :
 specifies the number of bits per pixel of the output image, using an adaptive pallete, resulting
in an indexed image when generating PNG images,
 
 
- **-dpi**  *resolution*
+ **`-dpi`** *`resolution`*
 :
 specifies the resolution of the output image in dots per inch,
 
 
- **-validate**
+ **`-validate`**
 :
 specifies that the source SVG files must be validated against their DTDs,
 
 
- **-onload**
+ **`-onload`**
 :
 specifies that the SVG files should be rasterized after dispatching the SVG load event,
 
 
- **-snapshotTime**
+ **`-snapshotTime`**
 :
 specifies the document time that should be seeked to before rasterizing the document, implying
-onload,
 
 
- **-scriptSecurityOff**
+ **`-scriptSecurityOff`**
 :
 specifies that any security checks on the scripts running as a result of dispatching the
SVG load event will be bypassed,
 
 
- **-anyScriptOrigin**
+ **`-anyScriptOrigin`**
 :
 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
 
 
- **-scripts**  *allowed-script-types*
+ **`-scripts`** *`allowed-script-types`*
 :
 specifies a list of script types (i.e., values for the `type` attribute on `script` elements)
that should be loaded.
 
 For example:
 
-java -jar batik-rasterizer.jar -d myDir -m image/jpeg samples/*.svg
+    java -jar batik-rasterizer.jar -d myDir -m image/jpeg samples/*.svg
 
 will generate JPEG images for all the SVG files found in the samples directory.
 
 ### Using the source distribution <a id="usingSource"></a>
 
-If you downloaded the source distribution of Batik, you got a zip or tar file that expanded
into a directory called `xml-batik` or `batik- *version*`. In that directory, you can find
build scripts for the platform you are running on. For example, there is a `build.bat` script
for users of the Windows platform and there is a `build.sh` script for UNIX users.
+If you downloaded the source distribution of Batik, you got a zip or tar file that expanded
into a directory called `xml-batik` or `batik-`*`version`*. In that directory, you can find
build scripts for the platform you are running on. For example, there is a `build.bat` script
for users of the Windows platform and there is a `build.sh` script for UNIX users.
 
 To start the rasterizer you should:
 
@@ -164,22 +166,22 @@ To start the rasterizer you should:
 -
 For windows, type the following at the command prompt:
 
-build svgrasterizer
+    build svgrasterizer
 
 and for Unix:
 
-./build.sh svgrasterizer
+    ./build.sh svgrasterizer
 
 This will print out a help message for the rasterizer.
 
 
 You can pass options to the rasterizer as follows, for Windows:
 
-build svgrasterizer [OPTIONS] FILES
+    build svgrasterizer [OPTIONS] FILES
 
 and for Unix:
 
-./build.sh svgrasterizer [OPTIONS] FILES
+    ./build.sh svgrasterizer [OPTIONS] FILES
 
 Refer to [“Using the binary distribution”](#using-binary) for an explanation of
the options.
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message