1XGFMERGE(1)                 General Commands Manual                XGFMERGE(1)
2
3
4

NAME

6       xgfmerge - merges two Xgridfit program files
7

SYNOPSIS

9       xgfmerge [options] file-a file-b [...]
10

DESCRIPTION

12       Xgfmerge  merges  two or more Xgridfit program files, where file-a is a
13       program generated automatically from an existing  font  using  TTX  and
14       ttx2xgf,  and file-b and any other files in the list contain other pro‐
15       gramming for the font.  Xgfmerge outputs the merged programming to std‐
16       out.  To capture the output in a file, use this syntax:
17
18            $xgfmerge -o merged-file.xgf file-a.xgf file-b.xgf
19
20       Note:  To merge Xgridfit instructions with those already in a font, the
21       best method is now to run Xgridfit in merge-mode (option -m).
22

OPTIONS

24       -c     Look for a <default  type="compile-globals"/>  element  in  each
25              file  after the first in the list. If value="no" then ignore all
26              <default>,  <control-value>,  <function>,  <macro>   and   <pre-
27              program> elements in the file.
28
29       -h     Display a help message.
30
31       -n     Merge  <no-compile>  elements  from  all files. <glyph> elements
32              with duplicate "ps-name" attributes are ignored.
33
34       -o file
35              The file to write the output to. If this  option  is  not  used,
36              output is written to stdout.
37
38       -p     When  a  <pre-program>  element  in  a file other than file-a is
39              available, use it instead of the one from file-a. If this option
40              is  not  present,  xgfmerge  merges the programming in the <pre-
41              program> of file-a with that in the <pre-program>  of  whichever
42              file  is  being merged at the moment.  The result is unlikely to
43              be good if a single run of xgfmerge merges the contents of  more
44              than two <pre-program> elements.
45
46       -s     Sort  <glyph>  elements  in  the  output  file into alphabetical
47              order.
48
49       -v     Verbose output: xgfmerge tells you what  it  is  doing  at  each
50              step.
51
52       -x     Resolve  XIncludes  before  merging all files in the list except
53              for file-a. Any XIncludes from file-a.xgf are  stripped  out  of
54              the  files  before  this  operation is performed. If XInclude is
55              used to  bring  global  elements  (<control-value>,  <function>,
56              etc.) into these files, it is probably a good idea to use the -c
57              option as well.
58

FILES

60       /usr/share/xml/xgridfit/util/merge.xsl
61              An XSLT script that performs the merge.
62
63       /usr/share/xml/xgridfit/util/xinclude.xsl
64              An XSLT script that strips out unwanted XIncludes.
65
66       /usr/share/xml/xgridfit/util/sort-glyphs.xsl
67              An XSLT script that sorts glyph elements in a file.
68
69       /usr/share/xml/xgridfit/utils/add-blanks.sed
70              Does some formatting of the output.
71

SEE ALSO

73       xgridfit(1), ttx(1), ttx2xgf(1).
74

AUTHOR

76       Xgfmerge was written by Peter Baker <psb6m@virginia.edu>.
77
78       This manual page was written by Peter Baker
79
80
81
82                                  2009-12-18                       XGFMERGE(1)
Impressum