Re: Documenting GridFitTT

Ralph Giles <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
Igor,

I'd suggest the attached wording changes. This also corrects a number of 
spelling and grammar issues.

 -r

_______________________________________________
gs-code-review mailing list
[email protected]
http://www.ghostscript.com/mailman/listinfo/gs-code-review
gridfit2.txt (text/plain, 2.6 KB)
Index: doc/Language.htm
===================================================================
RCS file: /cvs/ghostscript/gs/doc/Language.htm,v
retrieving revision 1.76
diff -u -r1.76 Language.htm
--- doc/Language.htm	22 Oct 2003 11:22:30 -0000	1.76
+++ doc/Language.htm	27 Oct 2003 10:21:05 -0000
@@ -1992,6 +1992,27 @@
 <b><tt>-dAlignToPixels</tt></b>.
 </dl>
 
+
+<dl>
+<dt><b><tt>GridFitTT &lt;integer&gt;</tt></b>
+<dd>Control the use of True Type grid fitting (hinting).
+Ghostscript implements a reduced True Type bytecode interpreter,
+which can interpret the subset of True Type glyph instructions  
+not covered by Apple's patent. This allows the Dynalab fonts to 
+rasterize properly.
+Fonts with patented instructions can't be properly grid-fitted.
+This parameter controls the action of the reduced interpreter:
+a value of 0 disables grid fitting for all fonts;
+a value of 1 enables the grid fitting for glyphs that don't involve 
+patented instructions.
+When set to 1 a warning is printed to stderr when a patented 
+instruction is encountered, and the glyph is rendered ignoring the 
+entire grid fitting program. This parameter defaults to 0, but this
+may be overridden on the command line with
+<b><tt>-dGridFitTT=1</tt></b>.
+</dl>
+
+
 <dl>
 <dt><b><tt>UseWTS &lt;boolean&gt;</tt></b>
 <dd>If <tt>true</tt>, and if AccurateScreens are specified (either as
Index: doc/Use.htm
===================================================================
RCS file: /cvs/ghostscript/gs/doc/Use.htm,v
retrieving revision 1.91
diff -u -r1.91 Use.htm
--- doc/Use.htm	22 Oct 2003 16:39:28 -0000	1.91
+++ doc/Use.htm	27 Oct 2003 10:21:13 -0000
@@ -1823,6 +1823,24 @@
 </dl>
 
 <dl>
+<dt><b><tt>-dGridFitTT=</tt></b><em>n</em>
+<dd> This specifies the initial value for the implementation specific
+user parameter <b><tt>GridFitTT</tt></b>.
+Setting this to 1 enables grid fitting (hinting) for True Type glyphs 
+that don't involve patented instructions. The value 0 disables grid 
+fitting for all True Type fonts. The default value is 0.
+
+<p>
+Setting <b><tt>-dGridFitTT=1</tt></b> may improve rendering
+of True Type fonts. In particular, some fonts rely on the grid fitting 
+instructions for proper rasterization.
+Ghostscript only supports the freely-implementable subset of grid 
+fitting instructions. If a patented instruction is encountered, a 
+warning is printed to <tt>stderr</tt> and the glyph is rendered with no 
+grid fitting.
+</dl>
+
+<dl>
 <dt><b><tt>-dUseCIEColor</tt></b>
 <dd>Set UseCIEColor in the page device dictionary, remapping device-dependent 
 color values through a CIE color space. This can can improve conversion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.