From ee2f2581fb2028982afc13f733f2bff74d6d2f37 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 1 Apr 2013 13:50:41 +1100 Subject: [PATCH] FT2: fix some format string/argument type mismatches --- FT2/Changes | 5 +++++ FT2/FT2.pm | 2 +- FT2/freetyp2.c | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/FT2/Changes b/FT2/Changes index 4290784a..63c27bb8 100644 --- a/FT2/Changes +++ b/FT2/Changes @@ -1,3 +1,8 @@ +Imager-Font-FT2 0.90 +==================== + + - fix some mismatched format strings/types + Imager-Font-FT2 0.89 ==================== diff --git a/FT2/FT2.pm b/FT2/FT2.pm index 3a0886bd..e758d02e 100644 --- a/FT2/FT2.pm +++ b/FT2/FT2.pm @@ -6,7 +6,7 @@ use vars qw($VERSION @ISA); @ISA = qw(Imager::Font); BEGIN { - $VERSION = "0.89"; + $VERSION = "0.90"; require XSLoader; XSLoader::load('Imager::Font::FT2', $VERSION); diff --git a/FT2/freetyp2.c b/FT2/freetyp2.c index a1eb7f79..8d096a1d 100644 --- a/FT2/freetyp2.c +++ b/FT2/freetyp2.c @@ -504,8 +504,8 @@ i_ft2_bbox(FT2_Fonthandle *handle, double cheight, double cwidth, mm_log((1, " bbox=> negw=%" i_DF " glob_desc=%" i_DF " pos_wid=%" i_DF " glob_asc=%" i_DF " desc=%" i_DF " asc=%" i_DF " adv_width=%" i_DF " rightb=%" i_DF "\n", - bbox[0], bbox[1], bbox[2], bbox[3], bbox[4], bbox[5], bbox[6], - bbox[7])); + i_DFc(bbox[0]), i_DFc(bbox[1]), i_DFc(bbox[2]), i_DFc(bbox[3]), + i_DFc(bbox[4]), i_DFc(bbox[5]), i_DFc(bbox[6]), i_DFc(bbox[7]))); return BBOX_RIGHT_BEARING + 1; } -- 2.39.2