projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added files in src/math
[pspp]
/
src
/
font.h
diff --git
a/src/font.h
b/src/font.h
index 67c276cd683b2de1b477f52f05868d5877d484b4..e4b327830e832ca7f6bc89bfa94f3fed6f62bc14 100644
(file)
--- a/
src/font.h
+++ b/
src/font.h
@@
-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. */
#if !font_h
#define font_h 1
#if !font_h
#define font_h 1
@@
-103,13
+103,6
@@
struct font_desc
/* Index into deref[] of character with name "space". */
extern int space_index;
/* Index into deref[] of character with name "space". */
extern int space_index;
-/* A set of fonts. */
-struct font_set
- {
- struct font_set *next, *prev; /* Next, previous in chain. */
- struct font_desc *font; /* Current font. */
- };
-
/* Functions to work with any font. */
#define destroy_font(FONT) \
pool_destroy (FONT->owner)
/* Functions to work with any font. */
#define destroy_font(FONT) \
pool_destroy (FONT->owner)
@@
-122,7
+115,7
@@
int font_get_kern_adjust (const struct font_desc *font, int ch1, int ch2);
/* groff fonts. */
struct groff_device_info
{
/* groff fonts. */
struct groff_device_info
{
- /* See groff_font
(5)
. */
+ /* See groff_font
man page
. */
int res, horiz, vert;
int size_scale, unit_width;
int (*sizes)[2], n_sizes;
int res, horiz, vert;
int size_scale, unit_width;
int (*sizes)[2], n_sizes;
@@
-135,6
+128,7
@@
struct font_desc *groff_read_font (const char *fn);
struct font_desc *groff_find_font (const char *dev, const char *name);
int groff_read_DESC (const char *dev_name, struct groff_device_info * dev);
void groff_init (void);
struct font_desc *groff_find_font (const char *dev, const char *name);
int groff_read_DESC (const char *dev_name, struct groff_device_info * dev);
void groff_init (void);
+void groff_done (void);
struct font_desc *default_font (void);
struct font_desc *default_font (void);