diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-14 18:48:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-14 18:48:51 +0000 |
commit | 7ca927555b90d86e452643c6619baec96fbcd55d (patch) | |
tree | 555bda7b0fe7886c02ecb3f012a916faee04fb87 /Build/source/texk/dvipsk | |
parent | c56d9b48ff89d5d1bd3951b95489391cd2cfcabb (diff) |
continuing formatting tweaks for writet1.c
git-svn-id: svn://tug.org/texlive/trunk@20437 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/writet1.c | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index 3fbb6a5c67b..1f943b1c43a 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,7 @@ +2010-11-14 Karl Berry <karl@tug.org> + + * writet1.c: endless formatting tweaks. + 2010-11-13 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * download.c: Change i<MAX_CHAR_CODE into i<=MAX_CHAR_CODE, because diff --git a/Build/source/texk/dvipsk/writet1.c b/Build/source/texk/dvipsk/writet1.c index 08a913b81f4..e3f6b588555 100644 --- a/Build/source/texk/dvipsk/writet1.c +++ b/Build/source/texk/dvipsk/writet1.c @@ -97,7 +97,7 @@ static size_t last_ptr_index; #define enc_eof() feof(enc_file) #define valid_code(c) (c >= 0 && c < 256) -#define fixedcontent true /* false for pdfTeX, true for dvips */ +#define fixedcontent true /* false for pdfTeX, true for dvips */ static const char *standard_glyph_names[256] = { /* 0x00 */ @@ -1346,7 +1346,8 @@ static void t1_flush_cs(boolean is_subr) for (ptr = tab; ptr < end_tab; ptr++) { if (ptr->used) { if (is_subr) - sprintf(t1_line_array, "dup %lu %u", (unsigned long) (ptr - tab), ptr->cslen); + sprintf(t1_line_array, "dup %lu %u", + (unsigned long) (ptr - tab), ptr->cslen); else sprintf(t1_line_array, "/%s %u", ptr->name, ptr->cslen); p = strend(t1_line_array); @@ -1356,8 +1357,8 @@ static void t1_flush_cs(boolean is_subr) } else { /* replace unsused subr's by return_cs */ if (is_subr) { - sprintf(t1_line_array, "dup %lu %u%s ", (unsigned long) (ptr - tab), cs_len, - cs_token_pair[0]); + sprintf(t1_line_array, "dup %lu %u%s ", + (unsigned long) (ptr - tab), cs_len, cs_token_pair[0]); p = strend(t1_line_array); memcpy(p, return_cs, cs_len); t1_line_ptr = p + cs_len; |