diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2009-06-08 08:58:07 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2009-06-08 08:58:07 +0000 |
commit | 5adefaa278f30813af94c423bed99d1628b23a2c (patch) | |
tree | 76b0edd887559dcea0be9d28a569d8191f3e8307 /Build/source/texk/web2c/luatexdir/pdf | |
parent | be2021a8a7f377786a2fba684fd950975c892533 (diff) |
source code for luatex 0.40.3
git-svn-id: svn://tug.org/texlive/trunk@13669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pagetree.c | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfpage.c | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfpage.h | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pagetree.c b/Build/source/texk/web2c/luatexdir/pdf/pagetree.c index 03b743f5214..8d05d89956b 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pagetree.c +++ b/Build/source/texk/web2c/luatexdir/pdf/pagetree.c @@ -32,8 +32,8 @@ #endif static const char __svn_version[] = - "$Id: pagetree.c 2306 2009-04-16 15:01:45Z taco $ " - "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.2/source/texk/web2c/luatexdir/pdf/pagetree.c $"; + "$Id: pagetree.c 2448 2009-06-08 07:43:50Z taco $ " + "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.3/source/texk/web2c/luatexdir/pdf/pagetree.c $"; /**********************************************************************/ /* Page diversions */ @@ -62,7 +62,7 @@ typedef struct divert_list_entry_ { static int comp_divert_list_entry(const void *pa, const void *pb, void *p) { - (void)p; + (void) p; if (((const divert_list_entry *) pa)->divnum > ((const divert_list_entry *) pb)->divnum) return 1; diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfpage.c b/Build/source/texk/web2c/luatexdir/pdf/pdfpage.c index d5826ffecb7..d3d23cf5be7 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdfpage.c +++ b/Build/source/texk/web2c/luatexdir/pdf/pdfpage.c @@ -25,8 +25,8 @@ #include "ptexlib.h" static const char __svn_version[] = - "$Id: pdfpage.c 2414 2009-06-03 12:57:01Z taco $ " - "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.2/source/texk/web2c/luatexdir/pdf/pdfpage.c $"; + "$Id: pdfpage.c 2448 2009-06-08 07:43:50Z taco $ " + "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.40.3/source/texk/web2c/luatexdir/pdf/pdfpage.c $"; #define lround(a) (long) floor((a) + 0.5) #define setpdffloat(a,b,c) {(a).m = (b); (a).e = (c);} @@ -61,8 +61,8 @@ static void calc_k2(pdfstructure * p) lround(pdf2double(p->hz) * pdf2double(p->ext) * exp10_arr[p->tm[0].e]); p->k2 = exp10_arr[e_tj + - p->cw.e] / (exp10_arr[p->pdf.h.e] * pdf2double(p->fs) * - pdf2double(p->tm[0])); + p->cw.e] / (exp10_arr[p->pdf.h.e] * pdf2double(p->fs) * + pdf2double(p->tm[0])); } void pdf_page_init() @@ -92,7 +92,7 @@ void pdf_page_init() setpdffloat(p->cm[4], 0, decimal_digits); /* horizontal movement on page */ setpdffloat(p->cm[5], 0, decimal_digits); /* vertical movement on page */ /* for placement inside BT...ET */ - setpdffloat(p->tm[0], exp10_arr[6], 6); /* mantissa holds HZ expand * ExtendFont */ + setpdffloat(p->tm[0], exp10_arr[6], 6); /* mantissa holds HZ expand * ExtendFont */ setpdffloat(p->tm[1], 0, 0); setpdffloat(p->tm[2], 0, 3); /* mantissa holds SlantFont, 0 = default */ setpdffloat(p->tm[3], 1, 0); diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfpage.h b/Build/source/texk/web2c/luatexdir/pdf/pdfpage.h index aff5e0201e1..dce2c76ff6f 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdfpage.h +++ b/Build/source/texk/web2c/luatexdir/pdf/pdfpage.h @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */ -/* $Id: pdfpage.h 2336 2009-04-19 08:38:24Z hhenkel $ */ +/* $Id: pdfpage.h 2448 2009-06-08 07:43:50Z taco $ */ #ifndef PDFPAGE_H # define PDFPAGE_H @@ -45,10 +45,10 @@ typedef enum { WMODE_H, WMODE_V } writing_mode; /* []TJ runs horizontal or verti # define setpdffloat(a,b,c) {(a).m = (b); (a).e = (c);} -#ifdef hz +# ifdef hz /* AIX 4.3 defines hz as 100 in system headers */ -#undef hz -#endif +# undef hz +# endif typedef struct { pdfpos pdf; /* pos. on page (PDF page raster) */ |