summaryrefslogtreecommitdiff
path: root/src/autofit/afdummy.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2004-03-27 08:43:17 +0000
committerWerner Lemberg <wl@gnu.org>2004-03-27 08:43:17 +0000
commit8bb07e6386ef47f9f9d2bd28a36dda8784530727 (patch)
tree394a32d8b60b74d69633141cff4470e328f84d11 /src/autofit/afdummy.h
parent60e0a4d5db5703bfa2c2dc7efaab6269d0fbc895 (diff)
downloadfreetype2-8bb07e6386ef47f9f9d2bd28a36dda8784530727.tar.gz
Add vertical phantom points.
* include/freetype/internal/tttypes.h (TT_LoaderRec): Add `top_bearing', `vadvance', `pp3, and `pp4'. * src/autofit/afloader.c (af_loader_load_g): Handle two more points. * src/autohint/ahhint.c (ah_hinter_load): Handle two more points. * src/truetype/ttgload.c (Get_VMetrics): New function. (TT_Load_Simple_Glyph, TT_Process_Simple_Glyph): Handle two more points. (load_truetype_glyph): Use Get_VMetrics. Handle two more points. (compute_glyph_metrics): Thanks to vertical phantom points we now can always compute `advance_height' and `top_bearing'. * src/truetype/ttobjs.h (TT_SubglyphRec): Add vertical phantom points. * src/autohint/ahglyph.c (ah_outline_load): Fix allocation of `news'. Converting some files to Unix end-of-line convention.
Diffstat (limited to 'src/autofit/afdummy.h')
-rw-r--r--src/autofit/afdummy.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/autofit/afdummy.h b/src/autofit/afdummy.h
index 6d3ab444e..f4594c0f9 100644
--- a/src/autofit/afdummy.h
+++ b/src/autofit/afdummy.h
@@ -1,18 +1,18 @@
-#ifndef __AFDUMMY_H__
-#define __AFDUMMY_H__
-
-#include "aftypes.h"
-
-FT_BEGIN_HEADER
-
- /* a dummy script metrics class used when no hinting should
- * be performed. This is the default for non-latin glyphs !
- */
-
- FT_LOCAL( const AF_ScriptClassRec ) af_dummy_script_class;
-
-/* */
-
-FT_END_HEADER
-
-#endif /* __AFDUMMY_H__ */
+#ifndef __AFDUMMY_H__
+#define __AFDUMMY_H__
+
+#include "aftypes.h"
+
+FT_BEGIN_HEADER
+
+ /* a dummy script metrics class used when no hinting should
+ * be performed. This is the default for non-latin glyphs !
+ */
+
+ FT_LOCAL( const AF_ScriptClassRec ) af_dummy_script_class;
+
+/* */
+
+FT_END_HEADER
+
+#endif /* __AFDUMMY_H__ */