129,196c129,196 < #define USAGE "Options: < should be a filename, possibly with a resolution, e.g., < `cmr10' or `cmr10.300'.\n" \ < GETOPT_USAGE \ < "align-threshold : if either coordinate of the endpoints on a < spline is closer than this, make them the same; default is .5. < corner-always-threshold : if the angle at a pixel is < less than this, it is considered a corner, even if it is within < `corner-surround' pixels of another corner; default is 60. < corner-surround : number of pixels on either side of a < point to consider when determining if that point is a corner; default < is 4. < corner-threshold : if a pixel, its predecessor(s), < and its successor(s) meet at an angle smaller than this, it's a < corner; default is 100. < display-continue: do not wait for you to hit return after displaying < each character. < display-grid-size : number of expanded pixels between the grid < lines; default is 10. < display-pixel-size : length of one side of the square that < each pixel expands into; default is 9. < display-rectangle-size : length of one side of the square < we draw to represent pixels; default is 6. Must be less than < display-pixel-size. < do-display: show some information in a window, online. < dpi : use a resolution of ; default is 300. < error-threshold : subdivide fitted curves that are off by < more pixels than this; default is 2.0. < filter-alternative-surround : another choice for < filter-surround; default is 1. < filter-epsilon : if the angles using filter-surround and < filter-alternative-surround points differ by more than this, use the < latter; default is 10.0. < filter-iterations : smooth the curve this many times < before fitting; default is 4. < filter-percent : when filtering, use the old point plus this < much of neighbors to determine the new point; default is 33. < filter-surround : number of pixels on either side of a point < to consider when filtering that point; default is 2. < help: print this message. < keep-knees: do not remove ``knees''---points on the inside of the < outline that are between two others. < line-reversion-threshold : if a spline is closer to a straight < line than this, weighted by the square of the curve length, keep it a < straight line even if it is a list with curves; default is .01. < line-threshold : if the spline is not more than this far away < from the straight line defined by its endpoints, < then output a straight line; default is 1. < log: write detailed progress reports to .log. < output-file : write to if it has a suffix and to < `.bzr' if it doesn't. Default is `.bzr'. < range -: only process characters between and < , inclusive. < reparameterize-improve : if reparameterization < doesn't improve the fit by this much, as a percentage, stop; default < is 10. < reparameterize-threshold : if an initial fit is off by more < pixels than this, don't bother to reparameterize; default is 30. < subdivide-search : percentage of the curve from the initial < guess for a subdivision point to look for a better one; default is 10. < subdivide-surround : number of points on either side of a < point to consider when looking for a subdivision point; default is 4. < subdivide-threshold : if a point is this close or closer to a < straight line, subdivide there; default is .03. < tangent-surround : number of points on either side of a < point to consider when computing the tangent at that point; default is 3. < verbose: print brief progress reports on stderr. < version: print the version number of this program. --- > #define USAGE "Options:\ > should be a filename, possibly with a resolution, e.g.,\ > `cmr10' or `cmr10.300'.\n"\ > GETOPT_USAGE\ > "align-threshold : if either coordinate of the endpoints on a\ > spline is closer than this, make them the same; default is .5.\ > corner-always-threshold : if the angle at a pixel is\ > less than this, it is considered a corner, even if it is within\ > `corner-surround' pixels of another corner; default is 60.\ > corner-surround : number of pixels on either side of a\ > point to consider when determining if that point is a corner; default\ > is 4.\ > corner-threshold : if a pixel, its predecessor(s),\ > and its successor(s) meet at an angle smaller than this, it's a\ > corner; default is 100.\ > display-continue: do not wait for you to hit return after displaying\ > each character.\ > display-grid-size : number of expanded pixels between the grid\ > lines; default is 10.\ > display-pixel-size : length of one side of the square that\ > each pixel expands into; default is 9.\ > display-rectangle-size : length of one side of the square\ > we draw to represent pixels; default is 6. Must be less than\ > display-pixel-size.\ > do-display: show some information in a window, online.\ > dpi : use a resolution of ; default is 300.\ > error-threshold : subdivide fitted curves that are off by\ > more pixels than this; default is 2.0.\ > filter-alternative-surround : another choice for\ > filter-surround; default is 1.\ > filter-epsilon : if the angles using filter-surround and\ > filter-alternative-surround points differ by more than this, use the\ > latter; default is 10.0.\ > filter-iterations : smooth the curve this many times\ > before fitting; default is 4.\ > filter-percent : when filtering, use the old point plus this\ > much of neighbors to determine the new point; default is 33.\ > filter-surround : number of pixels on either side of a point\ > to consider when filtering that point; default is 2.\ > help: print this message.\ > keep-knees: do not remove ``knees''---points on the inside of the\ > outline that are between two others.\ > line-reversion-threshold : if a spline is closer to a straight\ > line than this, weighted by the square of the curve length, keep it a\ > straight line even if it is a list with curves; default is .01.\ > line-threshold : if the spline is not more than this far away\ > from the straight line defined by its endpoints,\ > then output a straight line; default is 1.\ > log: write detailed progress reports to .log.\ > output-file : write to if it has a suffix and to\ > `.bzr' if it doesn't. Default is `.bzr'.\ > range -: only process characters between and\ > , inclusive.\ > reparameterize-improve : if reparameterization\ > doesn't improve the fit by this much, as a percentage, stop; default\ > is 10.\ > reparameterize-threshold : if an initial fit is off by more\ > pixels than this, don't bother to reparameterize; default is 30.\ > subdivide-search : percentage of the curve from the initial\ > guess for a subdivision point to look for a better one; default is 10.\ > subdivide-surround : number of points on either side of a\ > point to consider when looking for a subdivision point; default is 4.\ > subdivide-threshold : if a point is this close or closer to a\ > straight line, subdivide there; default is .03.\ > tangent-surround : number of points on either side of a\ > point to consider when computing the tangent at that point; default is 3.\ > verbose: print brief progress reports on stderr.\ > version: print the version number of this program.\