summaryrefslogtreecommitdiff
path: root/paper.h
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2004-09-21 18:09:35 +0000
committerBen Harris <bjh21@bjh21.me.uk>2004-09-21 18:09:35 +0000
commitf8c869cc8731d710cb5309f3f10dd51d840ea30c (patch)
treeee70e493cef6bc9425f58eb86c94f138e9d65e1b /paper.h
parent798124f6d326ecfacb4e7a9f2eb38756a29e09f5 (diff)
downloadhalibut-f8c869cc8731d710cb5309f3f10dd51d840ea30c.zip
halibut-f8c869cc8731d710cb5309f3f10dd51d840ea30c.tar.gz
halibut-f8c869cc8731d710cb5309f3f10dd51d840ea30c.tar.bz2
halibut-f8c869cc8731d710cb5309f3f10dd51d840ea30c.tar.xz
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]
Diffstat (limited to 'paper.h')
-rw-r--r--paper.h4
1 files changed, 4 insertions, 0 deletions
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;