[autofit] Typos. * src/autofit/afshaper.c (af_shaper_buf_create, af_shaper_get_elem) [!FT_CONFIG_OPTION_USE_HARFBUZZ]: Make it compile.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
diff --git a/ChangeLog b/ChangeLog
index 2d710a9..17d2a27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2015-12-06 Werner Lemberg <wl@gnu.org>
+ [autofit] Typos.
+
+ * src/autofit/afshaper.c (af_shaper_buf_create, af_shaper_get_elem)
+ [!FT_CONFIG_OPTION_USE_HARFBUZZ]: Make it compile.
+
+2015-12-06 Werner Lemberg <wl@gnu.org>
+
[autofit] Add support for Khmer script.
We split Khmer into two auto-hinter scripts: `Khmer' (`khmr') and
diff --git a/src/autofit/afshaper.c b/src/autofit/afshaper.c
index f7c518a..1881387 100644
--- a/src/autofit/afshaper.c
+++ b/src/autofit/afshaper.c
@@ -544,11 +544,12 @@
void*
af_shaper_buf_create( FT_Face face )
{
+ FT_Error error;
FT_Memory memory = face->memory;
FT_ULong* buf;
- FT_ALLOC( buf, sizeof ( FT_ULong ) );
+ FT_MEM_ALLOC( buf, sizeof ( FT_ULong ) );
return (void*)buf;
}
@@ -620,7 +621,7 @@
FT_LOAD_NO_SCALE |
FT_LOAD_NO_HINTING |
FT_LOAD_IGNORE_TRANSFORM,
- advance ) )
+ advance );
if ( y_offset )
*y_offset = 0;