summaryrefslogtreecommitdiff
path: root/src/autofit/ft-hb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/autofit/ft-hb.c')
-rw-r--r--src/autofit/ft-hb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/autofit/ft-hb.c b/src/autofit/ft-hb.c
index 1958f9c36..7ba1bfa55 100644
--- a/src/autofit/ft-hb.c
+++ b/src/autofit/ft-hb.c
@@ -38,12 +38,13 @@
static hb_blob_t *
_hb_ft_reference_table (hb_face_t *face, hb_tag_t tag, void *user_data)
{
- FT_UNUSED (face);
FT_Face ft_face = (FT_Face) user_data;
FT_Byte *buffer;
FT_ULong length = 0;
FT_Error error;
+ FT_UNUSED (face);
+
/* Note: FreeType like HarfBuzz uses the NONE tag for fetching the entire blob */
error = FT_Load_Sfnt_Table (ft_face, tag, 0, NULL, &length);