projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
miscellaneous compiler warnings
[pspp]
/
src
/
groff-font.c
diff --git
a/src/groff-font.c
b/src/groff-font.c
index 2787a793c9d35a53c34aa686f7c83b8bad6fd1ba..af86e784f2ad958849c41509f3bc56de8eae64a2 100644
(file)
--- a/
src/groff-font.c
+++ b/
src/groff-font.c
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include "font.h"
#include <config.h>
#include "font.h"
@@
-28,11
+28,15
@@
#include "alloc.h"
#include "error.h"
#include "filename.h"
#include "alloc.h"
#include "error.h"
#include "filename.h"
+#include "getline.h"
#include "hash.h"
#include "pool.h"
#include "str.h"
#include "version.h"
#include "hash.h"
#include "pool.h"
#include "str.h"
#include "version.h"
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
int font_number_to_index (int);
int space_index;
int font_number_to_index (int);
int space_index;
@@
-48,7
+52,7
@@
static void add_kern (struct font_desc * font, int ch1, int ch2, int adjust);
/* Typical whitespace characters for tokenizing. */
static const char whitespace[] = " \t\n\r\v";
/* Typical whitespace characters for tokenizing. */
static const char whitespace[] = " \t\n\r\v";
-/* Some notes on the groff_font
(8)
manpage:
+/* Some notes on the groff_font manpage:
DESC file format: A typical PostScript `res' would be 72000, with
`hor' and `vert' set to 1 to indicate that all those positions are
DESC file format: A typical PostScript `res' would be 72000, with
`hor' and `vert' set to 1 to indicate that all those positions are
@@
-62,7
+66,7
@@
static const char whitespace[] = " \t\n\r\v";
/* Reads a Groff font description file and converts it to a usable
binary format in memory. Installs the binary format in the global
/* Reads a Groff font description file and converts it to a usable
binary format in memory. Installs the binary format in the global
- font table. See groff_font
(8)
for a description of the font
+ font table. See groff_font for a description of the font
description format supported. Returns nonzero on success. */
struct font_desc *
groff_read_font (const char *fn)
description format supported. Returns nonzero on success. */
struct font_desc *
groff_read_font (const char *fn)