summaryrefslogtreecommitdiff
path: root/paper.h
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2004-09-24 18:02:07 +0000
committerBen Harris <bjh21@bjh21.me.uk>2004-09-24 18:02:07 +0000
commit7e2d549ac11fa3e33f0fd12d360317d95bf0f8c2 (patch)
tree9b63b8784ae273bde40e7b995621fef25fa0b664 /paper.h
parent8286b93ea3f23d67e2317d6fc4ee6f474412b69c (diff)
downloadhalibut-7e2d549ac11fa3e33f0fd12d360317d95bf0f8c2.zip
halibut-7e2d549ac11fa3e33f0fd12d360317d95bf0f8c2.tar.gz
halibut-7e2d549ac11fa3e33f0fd12d360317d95bf0f8c2.tar.bz2
halibut-7e2d549ac11fa3e33f0fd12d360317d95bf0f8c2.tar.xz
Replace the empirical GhostScript-derived font metrics with ones derived
from Adobe's official AFM files. These are expressed in integer multiples of 1/1000 pt (well, 1/1000 of the design size of the font, actually, but that's always a whole number of points), so use that as our internal unit rather than 1/4096 pt. This doesn't seem to make a significant difference to Halibut's output. [originally from svn r4576]
Diffstat (limited to 'paper.h')
-rw-r--r--paper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/paper.h b/paper.h
index 5976a67..859f933 100644
--- a/paper.h
+++ b/paper.h
@@ -9,8 +9,8 @@
#define HALIBUT_PAPER_H
/* Number of internal units per PostScript point. */
-#define UNITS_PER_PT 4096
-#define FUNITS_PER_PT 4096.0
+#define UNITS_PER_PT 1000
+#define FUNITS_PER_PT 1000.0
typedef struct document_Tag document;
typedef struct font_data_Tag font_data;