From a6bb748265c636976abec200103124f007705123 Mon Sep 17 00:00:00 2001 From: Parth Wazurkar Date: Tue, 7 Aug 2018 19:44:01 +0530 Subject: [PATCH] [gf, pk] Change some data types to `signed' type. * src/gf/gfdrivr.h(GF_GlyphRec): Do it. * src/pk/pkdrivr.h(PK_GlyphRec): Ditto. --- src/gf/gfdrivr.h | 10 +++++----- src/pk/pkdrivr.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gf/gfdrivr.h b/src/gf/gfdrivr.h index 0dc631a0e..9754fbecb 100644 --- a/src/gf/gfdrivr.h +++ b/src/gf/gfdrivr.h @@ -30,9 +30,9 @@ 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_Int bbx_width, bbx_height; + FT_Int off_x, off_y; + FT_Int mv_x, mv_y; FT_Byte *bitmap; FT_UInt raster; @@ -44,8 +44,8 @@ FT_BEGIN_HEADER FT_UInt code_min, code_max; GF_Bitmap bm_table; FT_Int ds, hppp, vppp; - FT_UInt font_bbx_w, font_bbx_h; - FT_UInt font_bbx_xoff, font_bbx_yoff; + FT_Int font_bbx_w, font_bbx_h; + FT_Int font_bbx_xoff, font_bbx_yoff; } GF_GlyphRec, *GF_Glyph; diff --git a/src/pk/pkdrivr.h b/src/pk/pkdrivr.h index 4d739fa29..7c8fb3841 100644 --- a/src/pk/pkdrivr.h +++ b/src/pk/pkdrivr.h @@ -29,9 +29,9 @@ FT_BEGIN_HEADER typedef struct PK_BitmapRec_ { - FT_UInt bbx_width, bbx_height; - FT_UInt off_x, off_y; - FT_UInt mv_x, mv_y; + FT_Int bbx_width, bbx_height; + FT_Int off_x, off_y; + FT_Int mv_x, mv_y; FT_Byte *bitmap; FT_UInt raster; @@ -41,7 +41,7 @@ FT_BEGIN_HEADER { FT_UInt code_min, code_max; PK_Bitmap bm_table; - FT_UInt ds, hppp, vppp; + FT_Int ds, hppp, vppp; FT_UInt font_bbx_w, font_bbx_h; FT_UInt font_bbx_xoff, font_bbx_yoff;