From f8c869cc8731d710cb5309f3f10dd51d840ea30c Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 21 Sep 2004 18:09:35 +0000 Subject: Replace the hardcoded instances of "4096" and "4096.0" in the paper backends with a macro. halibut.ps and halibut.pdf are identical (modulo dates) over this change. [originally from svn r4564] --- paper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'paper.h') diff --git a/paper.h b/paper.h index d6f34b9..5976a67 100644 --- a/paper.h +++ b/paper.h @@ -8,6 +8,10 @@ #ifndef HALIBUT_PAPER_H #define HALIBUT_PAPER_H +/* Number of internal units per PostScript point. */ +#define UNITS_PER_PT 4096 +#define FUNITS_PER_PT 4096.0 + typedef struct document_Tag document; typedef struct font_data_Tag font_data; typedef struct font_encoding_Tag font_encoding; -- cgit v1.1