summaryrefslogtreecommitdiff
path: root/src/cairo-truetype-subset-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-02 20:20:49 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-02 20:24:08 -0400
commit59262577708ddb656851624377efb2a671fa8ca3 (patch)
tree2c75bd94e2cfe3efb333b0b1509c0540181af100 /src/cairo-truetype-subset-private.h
parent5cb3e66305b25a3380f2ca5829ac81e4a27e76d0 (diff)
downloadcairo-59262577708ddb656851624377efb2a671fa8ca3.tar.gz
Revamp the build system.
Quick summary of changes: - Move list of cairo source files out of src/Makefile.am and into src/Sources.mk, - Generate files src/Config.mk and src/Config.mk.win32 that choose the right set of source files and headers based on configured backends and features. This drastically simplifies building using other build systems. The src/Makefile.win32 file needs to be updated to reflect these changes. - Add README files to various directories, - Add toplevel HACKING file.
Diffstat (limited to 'src/cairo-truetype-subset-private.h')
-rw-r--r--src/cairo-truetype-subset-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-truetype-subset-private.h b/src/cairo-truetype-subset-private.h
index e4be77ce1..397a9f389 100644
--- a/src/cairo-truetype-subset-private.h
+++ b/src/cairo-truetype-subset-private.h
@@ -39,6 +39,8 @@
#include "cairoint.h"
+#if CAIRO_HAS_FONT_SUBSET
+
/* The structs defined here should strictly follow the TrueType
* specification and not be padded. We use only 16-bit integer
* in their definition to guarantee that. The fields of type
@@ -192,4 +194,6 @@ typedef struct _tt_glyph_data {
tt_composite_glyph_t glyph;
} tt_glyph_data_t;
+#endif /* CAIRO_HAS_FONT_SUBSET */
+
#endif /* CAIRO_TRUETYPE_SUBSET_PRIVATE_H */