[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: src/utils/tfmtodit/*: Improve the license information.
From: |
Bernd Warken |
Subject: |
[groff] 01/01: src/utils/tfmtodit/*: Improve the license information. |
Date: |
Thu, 18 Sep 2014 02:35:37 +0000 |
bwarken pushed a commit to branch master
in repository groff.
commit ea8c17964ee4f271e012a289196f2a8bbf5555e9
Author: Bernd Warken <address@hidden>
Date: Thu Sep 18 04:35:31 2014 +0200
src/utils/tfmtodit/*: Improve the license information.
---
ChangeLog | 4 ++
src/utils/tfmtodit/Makefile.sub | 5 +--
src/utils/tfmtodit/tfmtodit.cpp | 3 +-
src/utils/tfmtodit/tfmtodit.man | 99 ++++++++++++++++++++++++++++++++------
4 files changed, 89 insertions(+), 22 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8c9cdb2..85361d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2014-09-18 Bernd Warken <address@hidden>
+ * src/utils/tfmtodit/*: Improve the license information.
+
+2014-09-18 Bernd Warken <address@hidden>
+
* src/utils/pfbtops/*: Improve the license information.
2014-09-18 Bernd Warken <address@hidden>
diff --git a/src/utils/tfmtodit/Makefile.sub b/src/utils/tfmtodit/Makefile.sub
index f35394f..fe85d4b 100644
--- a/src/utils/tfmtodit/Makefile.sub
+++ b/src/utils/tfmtodit/Makefile.sub
@@ -2,10 +2,7 @@
#
# File position: <groff-source>/src/utils/tfmtodit/Makefile.sub
#
-# Copyright (C) 2014
-# Free Software Foundation, Inc.
-#
-# Last update: 2 Sep 2014
+# Copyright (C) 2014 Free Software Foundation, Inc.
#
# This file is part of `font utf8' which is part of `groff'.
#
diff --git a/src/utils/tfmtodit/tfmtodit.cpp b/src/utils/tfmtodit/tfmtodit.cpp
index 5f5c1d9..6fef258 100644
--- a/src/utils/tfmtodit/tfmtodit.cpp
+++ b/src/utils/tfmtodit/tfmtodit.cpp
@@ -1,6 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989-1992, 2000, 2001, 2004, 2009, 2011
- Free Software Foundation, Inc.
+/* Copyright (C) 1989-2014 Free Software Foundation, Inc.
Written by James Clark (address@hidden)
This file is part of groff.
diff --git a/src/utils/tfmtodit/tfmtodit.man b/src/utils/tfmtodit/tfmtodit.man
index c71ebed..6cb2922 100644
--- a/src/utils/tfmtodit/tfmtodit.man
+++ b/src/utils/tfmtodit/tfmtodit.man
@@ -1,6 +1,14 @@
-.ig
-Copyright (C) 1989-2000, 2001, 2002, 2009
- Free Software Foundation, Inc.
+.TH TFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
+.SH NAME
+tfmtodit \- create font files for use with groff \-Tdvi
+.
+.
+.\" --------------------------------------------------------------------
+.\" Legal Terms
+.\" --------------------------------------------------------------------
+.
+.de co
+Copyright (C) 1989-2014 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -17,6 +25,11 @@ versions, except that this permission notice may be included
in
translations approved by the Free Software Foundation instead of in
the original English.
..
+.
+.\" --------------------------------------------------------------------
+.\" Definitions
+.\" --------------------------------------------------------------------
+.
.ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
.el .ds tx TeX
.\" Like TP, but if specified indent is more than half
@@ -25,11 +38,13 @@ the original English.
.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
.el .TP "\\$1"
..
-.TH TFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-tfmtodit \- create font files for use with groff \-Tdvi
+.
+.
+.\" --------------------------------------------------------------------
.SH SYNOPSIS
-.nr a \n(.j
+.\" --------------------------------------------------------------------
+.
+nr a \n(.j
.ad l
.nr i \n(.i
.in +\w'\fBtfmtodit 'u
@@ -47,19 +62,28 @@ tfmtodit \- create font files for use with groff \-Tdvi
.I font
.br
.ad \na
+.
+.
+.\" --------------------------------------------------------------------
.SH DESCRIPTION
+.\" --------------------------------------------------------------------
+.
.B tfmtodit
creates a font file for use with
.B
groff \-Tdvi\fR.
+.
.I tfm_file
is the name of the \*(tx font metric file for the font.
+.
.I map_file
is a file giving the groff names for characters in the font;
this file should consist of a sequence of lines of the form:
.IP
.I
n c1 c2 \fR.\|.\|.
+.
+.
.LP
where
.I n
@@ -68,12 +92,17 @@ and
.IR c1 ,
.IR c2 ,.\|.\|.
are the groff names of the character.
+.
If a character has no groff names but exists in the tfm file,
then it will be put in the groff font file as an unnamed character.
+.
.I font
is the name of the groff font file.
+.
The groff font file is written to
.IR font .
+.
+.
.LP
The
.B \-s
@@ -84,6 +113,7 @@ if
.B troff
should search it whenever
a character is not found in the current font.)
+.
If the font is special,
it should be listed in the
.B fonts
@@ -91,20 +121,26 @@ command in the DESC file;
if it is not special, there is no need to list it, since
.B troff
can automatically mount it when it's first used.
+.
+.
.LP
-To do a good job of math typesetting, groff requires
-font metric information not present in the tfm file.
+To do a good job of math typesetting, groff requires font metric
+information not present in the tfm file.
+.
The reason for this is that \*(tx has separate math italic fonts
whereas groff uses normal italic fonts for math.
-The additional information required by groff is given by the
-two arguments to the
+.
+The additional information required by groff is given by the two
+arguments to the
.B math_fit
macro in the Metafont programs for the Computer Modern fonts.
+.
In a text font (a font for which
.B math_fitting
is false), Metafont normally ignores these two arguments.
-Metafont can be made to put this information in the gf file
-by loading the following definition after
+.
+Metafont can be made to put this information in the gf file by loading
+the following definition after
.B cmbase
when creating
.BR cm.base :
@@ -142,28 +178,38 @@ or
should be specified with the
.B \-g
option.
+.
The
.B \-g
option should not be given for a font for which
.B math_fitting
is true.
+.
+.
+.\" --------------------------------------------------------------------
.SH OPTIONS
-.PP
+.\" --------------------------------------------------------------------
+.
It is possible to have whitespace between a command line option and its
parameter.
+.
.TP
.B \-v
Print the version number.
+.
.TP
.B \-s
The font is special.
+.
The effect of this option is to add the
.B special
command to the font file.
+.
.TP
.BI \-k n
The skewchar of this font is at position
.IR n .
+.
.I n
should be an integer;
it may be given in decimal,
@@ -173,26 +219,47 @@ in octal,
or with a leading
.B 0x
in hexadecimal.
-The effect of this option is to ignore any kerns whose second component
-is the specified character.
+.
+The effect of this option is to ignore any kerns whose second
+component is the specified character.
+.
.TP
.BI \-g gf_file
.I gf_file
is a gf file produced by Metafont containing special and numspecial
commands giving additional font metric information.
+.
+.
+.\" --------------------------------------------------------------------
.SH FILES
+.\" --------------------------------------------------------------------
+.
.Tp \w'address@hidden@/devdvi/DESC'u+2n
.B @FONTDIR@/devdvi/DESC
Device description file.
+.
.TP
.BI @FONTDIR@/devdvi/ F
Font description file for font
.IR F .
+.
+.
+.\" --------------------------------------------------------------------
.SH "SEE ALSO"
+.\" --------------------------------------------------------------------
+.
.BR groff (@MAN1EXT@),
.BR grodvi (@MAN1EXT@),
.BR groff_font (@MAN5EXT@)
.
+.
+.\" --------------------------------------------------------------------
+.SH COPYING
+.\" --------------------------------------------------------------------
+.
+.co
+.
+.
.\" Local Variables:
.\" mode: nroff
.\" End:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: src/utils/tfmtodit/*: Improve the license information.,
Bernd Warken <=