Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xgfmerge(1) [debian man page]

XGFMERGE(1)						      General Commands Manual						       XGFMERGE(1)

NAME
xgfmerge - merges two Xgridfit program files SYNOPSIS
xgfmerge [options] file-a file-b [...] DESCRIPTION
Xgfmerge merges two or more Xgridfit program files, where file-a is a program generated automatically from an existing font using TTX and ttx2xgf, and file-b and any other files in the list contain other programming for the font. Xgfmerge outputs the merged programming to stdout. To capture the output in a file, use this syntax: $xgfmerge -o merged-file.xgf file-a.xgf file-b.xgf Note: To merge Xgridfit instructions with those already in a font, the best method is now to run Xgridfit in merge-mode (option -m). OPTIONS
-c Look for a <default type="compile-globals"/> element in each file after the first in the list. If value="no" then ignore all <default>, <control-value>, <function>, <macro> and <pre-program> elements in the file. -h Display a help message. -n Merge <no-compile> elements from all files. <glyph> elements with duplicate "ps-name" attributes are ignored. -o file The file to write the output to. If this option is not used, output is written to stdout. -p When a <pre-program> element in a file other than file-a is available, use it instead of the one from file-a. If this option is not present, xgfmerge merges the programming in the <pre-program> of file-a with that in the <pre-program> of whichever file is being merged at the moment. The result is unlikely to be good if a single run of xgfmerge merges the contents of more than two <pre- program> elements. -s Sort <glyph> elements in the output file into alphabetical order. -v Verbose output: xgfmerge tells you what it is doing at each step. -x Resolve XIncludes before merging all files in the list except for file-a. Any XIncludes from file-a.xgf are stripped out of the files before this operation is performed. If XInclude is used to bring global elements (<control-value>, <function>, etc.) into these files, it is probably a good idea to use the -c option as well. FILES
/usr/share/xml/xgridfit/util/merge.xsl An XSLT script that performs the merge. /usr/share/xml/xgridfit/util/xinclude.xsl An XSLT script that strips out unwanted XIncludes. /usr/share/xml/xgridfit/util/sort-glyphs.xsl An XSLT script that sorts glyph elements in a file. /usr/share/xml/xgridfit/utils/add-blanks.sed Does some formatting of the output. SEE ALSO
xgridfit(1), ttx(1), ttx2xgf(1). AUTHOR
Xgfmerge was written by Peter Baker <psb6m@virginia.edu>. This manual page was written by Peter Baker 2009-12-18 XGFMERGE(1)

Check Out this Related Man Page

XGFCONFIG(1)						      General Commands Manual						      XGFCONFIG(1)

NAME
xgfconfig - configuration program for Xgridfit SYNOPSIS
xgfconfig options [list] DESCRIPTION
Xgfconfig selects XSLT processors and RELAX NG validators for Xgridfit to use; it can also be used to specify a new Xgridfit base direc- tory. Xgridfit maintains lists of validators and processors; on starting, it consults these lists and runs the first validator and processor it can find. Xgfconfig reorders these lists so that your preferred programs are looked for first. Xgfconfig may be invoked in one of these forms: $ xgfconfig --processors processor-list $ xgfconfig --validators validator-list $ xgfconfig --xgridfit-dir /xgridfit/directory $ xgfconfig --show The first of these selects processors (one or more of libxslt, lxml, xsltproc, saxon-6, saxon-9, xalan-j, xalan-c, 4xslt); the second selects validators (one or more of libxml2, lxml, jing, msv, rnv); the third specifies a complete path to the Xgridfit base directory (use it if you have installed Xgridfit in your own account rather than system wide); the fourth displays the current configuration. Several of the processors and validators that Xgridfit knows about are Java programs; for these, Xgridfit needs the name and location of a .jar file (by default it assumes certain standard file names, found in /usr/share/java). Specify this with a hash-mark followed by a com- plete path-name for the file. Here are sample command lines: $ xgfconfig -p saxon-9#/usr/local/share/java/saxon9he.jar lxml $ xgfconfig --config=config.xml -V rnv msv#/home/me/java/msv.jar The second of these commands stores the configuration in the file config.xml in the current directory. (When it starts, Xgridfit looks first for a file config.xml in the current directory; failing that, it looks for ~/.xgridfit/config.xml (Linux/Mac) or some-path (Windows); finally it looks in the Xgridfit base directory before giving up and using the default configuration.) An Xgridfit configuration file is a simple XML file, easily editable by users. The entries in it should be all but self-explanatory. OPTIONS
--config The configuration file to read or write. If this is not specified, Xgfconfig will search in the standard places (see above) for an existing configuration file for which the user has write privileges. Failing that, it will create a configuration file in the directory ~/.xgridfit (Linux/Mac) or some-dir (Windows). If the user is root or has administrative privileges, Xgfconfig will create the file in the Xgridfit base directory. -h, --help Display a help message and exit. -p, --processors The list following the options is a list of processors. -s, --show Display the current configuration and exit. -V, --validators The list following the options is a list of validators. -x, --xgridfit-dir Following the options is the full pathname of the Xgridfit base directory. SEE ALSO
fontforge(1), xgridfit(1), ttx2xgf(1), xgfupdate(1). AUTHOR
Xgfconfig was written by Peter Baker <psb6m@virginia.edu>. This manual page was written by Peter Baker 2010-01-16 XGFCONFIG(1)
Man Page