diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2007-02-06 23:01:42 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2007-02-06 23:01:42 +0000 |
| commit | b5a4f7b65579a789743e5c039c7286cc9d8e24a1 (patch) | |
| tree | b075bcd73b319d0055ac1f82ee28eb8f73663942 /bk_ps.c | |
| parent | 6c294ec3bd944320be32cfd1d93397c2f64350e8 (diff) | |
| download | halibut-b5a4f7b65579a789743e5c039c7286cc9d8e24a1.zip halibut-b5a4f7b65579a789743e5c039c7286cc9d8e24a1.tar.gz halibut-b5a4f7b65579a789743e5c039c7286cc9d8e24a1.tar.bz2 halibut-b5a4f7b65579a789743e5c039c7286cc9d8e24a1.tar.xz | |
Make ps_token() more generally available and use it to improve the formatting
of Type 42 fonts.
[originally from svn r7245]
Diffstat (limited to 'bk_ps.c')
| -rw-r--r-- | bk_ps.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -13,7 +13,6 @@ #define PS_MAXWIDTH 255 static void ps_comment(FILE *fp, char const *leader, word *words); -static void ps_token(FILE *fp, int *cc, char const *fmt, ...); static void ps_string_len(FILE *fp, int *cc, char const *str, int len); static void ps_string(FILE *fp, int *cc, char const *str); @@ -352,7 +351,7 @@ static void ps_comment(FILE *fp, char const *leader, word *words) { fprintf(fp, "\n"); } -static void ps_token(FILE *fp, int *cc, char const *fmt, ...) { +void ps_token(FILE *fp, int *cc, char const *fmt, ...) { va_list ap; va_start(ap, fmt); |