pdf.h

changeset 141
752599b50ff3
parent 133
76c197fe2eeb
child 147
090af3709920
     1.1 --- a/pdf.h	Thu Mar 20 01:08:05 2003 +0000
     1.2 +++ b/pdf.h	Thu Mar 20 06:54:08 2003 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4   * tumble: build a PDF file from image files
     1.5   *
     1.6   * PDF routines
     1.7 - * $Id: pdf.h,v 1.11 2003/03/14 00:57:40 eric Exp $
     1.8 + * $Id: pdf.h,v 1.12 2003/03/19 22:54:07 eric Exp $
     1.9   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    1.10   *
    1.11   * This program is free software; you can redistribute it and/or modify
    1.12 @@ -22,6 +22,13 @@
    1.13   */
    1.14  
    1.15  
    1.16 +#define POINTS_PER_INCH 72
    1.17 +
    1.18 +/* page size limited by Acrobat Reader to 45 inches on a side */
    1.19 +#define PAGE_MAX_INCHES 45
    1.20 +#define PAGE_MAX_POINTS (PAGE_MAX_INCHES * POINTS_PER_INCH)
    1.21 +
    1.22 +
    1.23  typedef struct pdf_file *pdf_file_handle;
    1.24  
    1.25  typedef struct pdf_page *pdf_page_handle;