From 7e2d549ac11fa3e33f0fd12d360317d95bf0f8c2 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 24 Sep 2004 18:02:07 +0000 Subject: 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] --- paper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'paper.h') 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; -- cgit v1.1