summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2011-07-25 09:05:05 +0100
committerKen Sharp <ken.sharp@artifex.com>2011-07-25 09:05:05 +0100
commit1562de0f7dc0615ed1397f42a7ad0eb23f4dcf22 (patch)
tree622bc673150a2b4f9d39839f297e7fa860c8bbf1
parent4e6a7b5c6fc0c202ba0d962cd19578162e1ce726 (diff)
Add some minimal documentation regarding the txtwrite device to devices.htm.
-rw-r--r--gs/doc/Devices.htm19
1 files changed, 18 insertions, 1 deletions
diff --git a/gs/doc/Devices.htm b/gs/doc/Devices.htm
index a65fd6df8..37d474f70 100644
--- a/gs/doc/Devices.htm
+++ b/gs/doc/Devices.htm
@@ -40,8 +40,9 @@
<li><a href="#PS">PostScript file output</a>
<li><a href="#EPS">EPS file output</a>
<li><a href="#PXL">PCL-XL file output</a>
+<li><a href="#TXT">Text output</a>
</ul>
-<li><a href="#Display_devices">Display devices</a>
+<li><a href="#Dis play_devices">Display devices</a>
<ul>
<li><a href="#x11_devices">X Window System</a>
<li><a href="#display_device">display device (MS Windows, OS/2, gtk+)</a>
@@ -751,6 +752,22 @@ a graphic language understood by many recent laser printers.
<dd>Set the compression algorithm used for bitmap graphics. RLE=1, DeltaRow=3. (JPEG=2 is unimplemented)
</dl></blockquote>
+<h3><a name="TXT"></a>Text output</h3>
+
+<p> The txtwrite device will output the text contained in the original
+document as Unicode (UTF-16). This device is currently under development
+and should not be considered as being of production quality.
+
+<h4>Options</h4>
+<blockquote>
+<dl>
+<dt><code>-dTextFormat=<em>0 | 1</em></code> (default is 0)
+<dd>Format 0 outputs Unicode text (with a Byte Order Mark) which approximates
+to the layout of the text in the original document. Format 1 is intended
+for use by developers and outputs Unicode along with information regarding
+the format of the text (position, font name, point size, etc).
+</dl></blockquote>
+
<p>
<hr>