Replace the hardcoded instances of "4096" and "4096.0" in the paper backends
[sgt/halibut] / paper.h
diff --git a/paper.h b/paper.h
index d6f34b9..5976a67 100644 (file)
--- 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;