Directories
¶
| Path | Synopsis |
|---|---|
|
Package agr reads Grace project files (.agr, .agr-par) - the part of the format OneFit writes (see docs/features.md) - into a Project.
|
Package agr reads Grace project files (.agr, .agr-par) - the part of the format OneFit writes (see docs/features.md) - into a Project. |
|
Package backend writes a draw.Drawing as a file: EPS (what OneFit's C core asks gracebat for), PDF (cropped as epstopdf crops gracebat's EPS), and SVG.
|
Package backend writes a draw.Drawing as a file: EPS (what OneFit's C core asks gracebat for), PDF (cropped as epstopdf crops gracebat's EPS), and SVG. |
|
cmd
|
|
|
agr-inventory
command
agr-inventory lists which parts of the Grace project format (.agr and .agr-par files) a set of files actually uses: every directive, reduced to its shape (graph/set numbers become #, numbers N, strings STR), with how many lines and files use it, and every text escape found inside strings.
|
agr-inventory lists which parts of the Grace project format (.agr and .agr-par files) a set of files actually uses: every directive, reduced to its shape (graph/set numbers become #, numbers N, strings STR), with how many lines and files use it, and every text escape found inside strings. |
|
grace-probe
command
grace-probe runs gracebat on a Grace project and prints what it draws, one primitive per line, in viewport units - the black-box measurements plot-go is built from (see AGENTS.md: gracebat's output, never Grace's source).
|
grace-probe runs gracebat on a Grace project and prints what it draws, one primitive per line, in viewport units - the black-box measurements plot-go is built from (see AGENTS.md: gracebat's output, never Grace's source). |
|
plot-go
command
plot-go renders a Grace project file (.agr) the way gracebat does, without Grace: to PDF, EPS, SVG, PNG or TIFF.
|
plot-go renders a Grace project file (.agr) the way gracebat does, without Grace: to PDF, EPS, SVG, PNG or TIFF. |
|
Package draw is the drawing plot-go makes of a page: paths and texts in viewport units (the page's shorter side is 1, origin at the bottom left), in the order they are drawn.
|
Package draw is the drawing plot-go makes of a page: paths and texts in viewport units (the page's shorter side is 1, origin at the bottom left), in the order they are drawn. |
|
Package figure builds figures: Grace projects of their own, composed from the plots OneFit writes for its fits (fit-curves-N.agr), kept apart from them so a refit never overwrites one.
|
Package figure builds figures: Grace projects of their own, composed from the plots OneFit writes for its fits (fit-curves-N.agr), kept apart from them so a refit never overwrites one. |
|
internal
|
|
|
afm
Package afm gives plot-go the metrics of the 14 standard PDF fonts: each character's advance width and ink box, from Adobe's Core 14 AFM files (adobe-core14/, distributed with Adobe's MustRead.html as its terms require; see NOTICE).
|
Package afm gives plot-go the metrics of the 14 standard PDF fonts: each character's advance width and ink box, from Adobe's Core 14 AFM files (adobe-core14/, distributed with Adobe's MustRead.html as its terms require; see NOTICE). |
|
cff
Package cff subsets an OpenType font's CFF table (Adobe Technical Note #5176, "The Compact Font Format Specification") into a bare CFF font holding only the glyphs a PDF uses, so the PDF can embed it as a Type1C font program (FontFile3), as Ghostscript embeds the URW base-35 fonts.
|
Package cff subsets an OpenType font's CFF table (Adobe Technical Note #5176, "The Compact Font Format Specification") into a bare CFF font holding only the glyphs a PDF uses, so the PDF can embed it as a Type1C font program (FontFile3), as Ghostscript embeds the URW base-35 fonts. |
|
drawcmp
Package drawcmp compares two drawings - plot-go's and gracebat's (read from its EPS by internal/eps) - primitive by primitive.
|
Package drawcmp compares two drawings - plot-go's and gracebat's (read from its EPS by internal/eps) - primitive by primitive. |
|
eps
Package eps reads the EPS that gracebat writes into a list of drawing primitives - paths, arcs and texts with their exact coordinates - so plot-go's drawing can be compared with gracebat's number by number.
|
Package eps reads the EPS that gracebat writes into a list of drawing primitives - paths, arcs and texts with their exact coordinates - so plot-go's drawing can be compared with gracebat's number by number. |
|
fontfile
Package fontfile finds additional TrueType/OpenType fonts by PostScript name.
|
Package fontfile finds additional TrueType/OpenType fonts by PostScript name. |
|
glyph
Package glyph gives the outlines of characters in standard and installed fonts, so text can be drawn as shapes - the same in every browser, whatever fonts it has.
|
Package glyph gives the outlines of characters in standard and installed fonts, so text can be drawn as shapes - the same in every browser, whatever fonts it has. |
|
Package pdfmerge joins PDF files into one, page after page, as `pdftk A.pdf B.pdf cat output All.pdf` does, and splits one into a PDF per page, as `pdftk A.pdf burst` does - with the standard library only, so OneFit needs no PDF tool for either.
|
Package pdfmerge joins PDF files into one, page after page, as `pdftk A.pdf B.pdf cat output All.pdf` does, and splits one into a PDF per page, as `pdftk A.pdf burst` does - with the standard library only, so OneFit needs no PDF tool for either. |
|
Package raster exports PNG and losslessly compressed TIFF through an installed PDF converter, cropped to the drawing as the PDF, EPS and SVG are, or the whole page with Options.FullPage.
|
Package raster exports PNG and losslessly compressed TIFF through an installed PDF converter, cropped to the drawing as the PDF, EPS and SVG are, or the whole page with Options.FullPage. |
|
Package render draws a Grace project (agr.Project) the way gracebat does, into a draw.Drawing.
|
Package render draws a Grace project (agr.Project) the way gracebat does, into a draw.Drawing. |
Click to show internal directories.
Click to hide internal directories.