summaryrefslogtreecommitdiff
path: root/src/cairo-scaled-font-subsets-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-02-07 23:10:47 +1030
committerAdrian Johnson <ajohnson@redneon.com>2007-02-07 23:10:47 +1030
commit2d1db24d1e7f3967b7ab498ce0ed29508c08a04b (patch)
tree34f20b015d317c11c509b7eb4fce0a457710659e /src/cairo-scaled-font-subsets-private.h
parent274dfa4598bcb11b9f8330d23934a4ef1797fdbf (diff)
PDF: Another fix for TrueType metrics
Not all TrueType fonts have an em size of 2048.
Diffstat (limited to 'src/cairo-scaled-font-subsets-private.h')
-rw-r--r--src/cairo-scaled-font-subsets-private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-scaled-font-subsets-private.h b/src/cairo-scaled-font-subsets-private.h
index 91148b37..88dbfbb5 100644
--- a/src/cairo-scaled-font-subsets-private.h
+++ b/src/cairo-scaled-font-subsets-private.h
@@ -210,9 +210,9 @@ _cairo_cff_subset_fini (cairo_cff_subset_t *cff_subset);
typedef struct _cairo_truetype_subset {
char *base_font;
- int *widths;
- long x_min, y_min, x_max, y_max;
- long ascent, descent;
+ double *widths;
+ double x_min, y_min, x_max, y_max;
+ double ascent, descent;
char *data;
unsigned long data_length;
unsigned long *string_offsets;