diff options
Diffstat (limited to 'doc/limn.texi')
-rw-r--r-- | doc/limn.texi | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/limn.texi b/doc/limn.texi index 7c38f08..1984837 100644 --- a/doc/limn.texi +++ b/doc/limn.texi @@ -1,8 +1,8 @@ -@c Copyright (C) 1992, 93 Free Software Foundation. +@c Copyright (C) 1992, 93, 04 Free Software Foundation. @c This is part of the GNU font utilities manual. @c For copying conditions, see the file fontutil.texi. -@node Limn, BZRto, Charspace, Top +@node Limn @chapter Limn @pindex limn @@ -49,7 +49,7 @@ the file @file{limn/README} for the full citations. @end menu -@node Limn algorithm, Invoking Limn, , Limn +@node Limn algorithm @section Limn algorithm @cindex Limn algorithm @@ -76,7 +76,7 @@ implemented in @file{limn/fit.c}. @example find pixel outlines for each pixel outline: - find corners, yielding curve lists + find corners for each curve list: remove knees filter @@ -86,9 +86,9 @@ for each pixel outline: set initial t values find tangents fit with one spline - while error > reparameterize-threshold, reparameterize - if error > error-threshold, subdivide and recurse - if linearity < line-threshold, change to straight line + while error > reparameterize-threshold + if error > error-threshold + if linearity < line-threshold revert bad lines align endpoints @end example @@ -106,7 +106,7 @@ for each pixel outline: @end menu -@node Finding pixel outlines, Finding corners, , Limn algorithm +@node Finding pixel outlines @subsection Finding pixel outlines @cindex pixel outlines, finding in bitmaps @@ -150,7 +150,7 @@ coordinates will start at (0,1) and proceed counterclockwise: (0,0) start => (0,1)<-(1,1) | ^ v | - (0,0)->(0,1) + (0 @end example @@ -169,7 +169,7 @@ The source code for this is in @file{limn/pxl-outline.c} and @file{lib/edge.c}. -@node Finding corners, Removing knees, Finding pixel outlines, Limn algorithm +@node Finding corners @subsection Finding corners @cindex corners, finding @@ -241,7 +241,7 @@ corners. The search for another corner within @samp{corner-surround} pixels continues, however. -@node Removing knees, Filtering curves, Finding corners, Limn algorithm +@node Removing knees @subsection Removing knees @cindex knees, removing @@ -280,7 +280,7 @@ programmed the operation). So Limn provides an option @samp{-keep-knees}; if you specify it, Limn simply skips this step. -@node Filtering curves, Fitting the bitmap curve, Removing knees, Limn algorithm +@node Filtering curves @subsection Filtering curves @cindex filtering curves @@ -356,7 +356,7 @@ proportionately. (For a 1200@dmn{dpi} font, we've had good results with @samp{-filter-surround=12} and @samp{filter-alternative-surround= 6}.) -@node Fitting the bitmap curve, Changing splines to lines, Filtering curves, Limn algorithm +@node Fitting the bitmap curve @subsection Fitting the bitmap curve @cindex fitting bitmap curves @@ -406,7 +406,7 @@ The sections below describe the spline-fitting process in more detail. @end menu -@node Initializing t, Finding tangents, , Fitting the bitmap curve +@node Initializing t @subsubsection Initializing @math{t} @cindex initializing t @@ -434,7 +434,7 @@ here. (See the Plass & Stone article cited in @file{limn/README} if you're curious about them.) -@node Finding tangents, Finding the spline, Initializing t, Fitting the bitmap curve +@node Finding tangents @subsubsection Finding tangents @cindex blending of adjacent curves @@ -486,7 +486,7 @@ the outline Limn fits to the bitmap seems off, you will want to scale it proportionately. -@node Finding the spline, Reparameterization, Finding tangents, Fitting the bitmap curve +@node Finding the spline @subsubsection Finding the spline @cindex error in fitting @@ -525,7 +525,7 @@ separately (subdivision). The following two sections describe these operations in more detail. -@node Reparameterization, Subdivision, Finding the spline, Fitting the bitmap curve +@node Reparameterization @subsubsection Reparameterization @cindex reparameterization @@ -567,7 +567,7 @@ each piece separately. Otherwise, Limn saves the fitted spline and goes on to the next piece of the pixel outline. -@node Subdivision, , Reparameterization, Fitting the bitmap curve +@node Subdivision @subsubsection Subdivision @cindex subdivision of curves @@ -630,7 +630,7 @@ terminate. (Eventually the curve will be short enough to fit with a straight line (@pxref{Fitting the bitmap curve}), if nothing else.) -@node Changing splines to lines, Changing lines to splines, Fitting the bitmap curve, Limn algorithm +@node Changing splines to lines @subsection Changing splines to lines @cindex splines to lines @@ -653,7 +653,7 @@ to a line. You can change the theshold with the @samp{-line-threshold} option. -@node Changing lines to splines, Aligning endpoints, Changing splines to lines, Limn algorithm +@node Changing lines to splines @subsection Changing lines to splines @cindex lines to splines @@ -689,7 +689,7 @@ compares the result to a threshold, .01 by default. You can change this with the @samp{-line-reversion-threshold} option. -@node Aligning endpoints, Displaying fitting online, Changing lines to splines, Limn algorithm +@node Aligning endpoints @subsection Aligning endpoints @cindex aligning endpoints @@ -710,7 +710,7 @@ By default, ``close enough'' is half a pixel. You can change this with the @samp{-align-threshold} option. -@node Displaying fitting online, , Aligning endpoints, Limn algorithm +@node Displaying fitting online @subsection Displaying fitting online @cindex online display of fitted outline @@ -791,7 +791,7 @@ Limn*geometry: 300x400-0-0 in the lower right corner of the screen. -@node Invoking Limn, , Limn algorithm, Limn +@node Invoking Limn @section Invoking Limn @cindex Limn options |