summaryrefslogtreecommitdiff
path: root/src/sfnt/sfnt.c
diff options
context:
space:
mode:
authorWu, Chia-I (吳佳一) <olvaffe@gmail.com>2006-02-14 06:40:10 +0000
committerWu, Chia-I (吳佳一) <olvaffe@gmail.com>2006-02-14 06:40:10 +0000
commitf5aa47beb077998675f5adc38c94aaf7ee8a447e (patch)
treea476e09f300cb90271f72cdc609bdb81fde32c4b /src/sfnt/sfnt.c
parentd39fda2b5598fcedf4edab8343b32a30c13b9efa (diff)
downloadfreetype2-f5aa47beb077998675f5adc38c94aaf7ee8a447e.tar.gz
Clean up the SFNT_Interface. Table loading functions are now named
after the tables' tags; `hdmx' is TrueType-specific and thus the code is moved to the truetype module; `get_metrics' is moved here from the truetype module so that the code can be shared with the cff module. This pass involves no real changes. That is, the code is moved verbatim mostly. The only exception is the return value of `tt_face_get_metrics'. * include/freetype/internal/sfnt.h, src/sfnt/rules.mk, src/sfnt/sfdriver.c, src/sfnt/sfnt.c, src/sfnt/sfobjs.c, src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h, src/sfnt/ttsbit0.c: Clean up the SFNT_Interface. * src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: Metrics-related tables' loading and parsing code is moved here. Move `tt_face_get_metrics' here from the truetype module. The return value is changed from `void' to `FT_Error'. * include/freetype/internal/fttrace.h: New trace: ttmtx. * src/truetype/ttpload.c, src/truetype/ttpload.h: `hdmx' loading and parsing code is moved here. New function `tt_face_load_prep' splitted from `tt_face_load_fpgm'. `tt_face_load_fpgm' returns `FT_Err_Ok' if `fpgm' doesn't exist. * src/cff/cffgload.c, src/cff/cffobjs.c: Update. * src/truetype/ttgload.c, src/truetype/ttobjs.c: Update.
Diffstat (limited to 'src/sfnt/sfnt.c')
-rw-r--r--src/sfnt/sfnt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sfnt/sfnt.c b/src/sfnt/sfnt.c
index a7b14a7a7..bba25ca65 100644
--- a/src/sfnt/sfnt.c
+++ b/src/sfnt/sfnt.c
@@ -20,6 +20,7 @@
#include <ft2build.h>
#include "ttload.c"
+#include "ttmtx.c"
#include "ttcmap.c"
#include "ttkern.c"
#include "sfobjs.c"