From 0f41489a0965ad34808f68a2a5d2554446f0030a Mon Sep 17 00:00:00 2001 From: Parth Wazurkar Date: Fri, 27 Jul 2018 00:51:21 +0530 Subject: [PATCH] [gf] Add `tfm' element in `GF_FaceRec'. * src/gf/gfdrivr.h: Add `tfm' element in the `GF_FaceRec' structure to accomodate the tfm metric values. --- src/gf/gfdrivr.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/gf/gfdrivr.h b/src/gf/gfdrivr.h index 01fe0d388..f486f973f 100644 --- a/src/gf/gfdrivr.h +++ b/src/gf/gfdrivr.h @@ -30,11 +30,11 @@ FT_BEGIN_HEADER /* BitmapRec for GF format specific glyphs */ typedef struct GF_BitmapRec_ { - FT_UInt bbx_width, bbx_height; - FT_UInt off_x, off_y; - FT_UInt mv_x, mv_y; - FT_Byte *bitmap; - FT_UInt raster; + FT_UInt bbx_width, bbx_height; + FT_UInt off_x, off_y; + FT_UInt mv_x, mv_y; + FT_Byte *bitmap; + FT_UInt raster; } GF_BitmapRec, *GF_Bitmap; @@ -52,8 +52,11 @@ FT_BEGIN_HEADER typedef struct GF_FaceRec_ { - FT_FaceRec root; - GF_Glyph gf_glyph; + FT_FaceRec root; + GF_Glyph gf_glyph; + + const void* tfm; + const void* tfm_data; } GF_FaceRec, *GF_Face;