]> git.imager.perl.org - imager.git/commitdiff
- image.h had no prototype for i_ft2_bbox_r() and it was being called
authorTony Cook <tony@develop=help.com>
Mon, 6 Dec 2004 02:42:59 +0000 (02:42 +0000)
committerTony Cook <tony@develop=help.com>
Mon, 6 Dec 2004 02:42:59 +0000 (02:42 +0000)
  from Imager.xs

Changes
image.h

diff --git a/Changes b/Changes
index bb0cc7f2e78ca90d259bc0e17eaa5d2a46ab57d0..e0a7032e2898b184d9d73b6d994fd84cb52d349b 100644 (file)
--- a/Changes
+++ b/Changes
@@ -938,6 +938,8 @@ Revision history for Perl extension Imager.
   Resolves: https://rt.cpan.org/Ticket/Display.html?id=8645
 - tools/imager has been removed from the MANIFEST, it's way too late
   to test/debug for 0.44.
+- image.h had no prototype for i_ft2_bbox_r() and it was being called
+  from Imager.xs
 
 =================================================================
 
diff --git a/image.h b/image.h
index c1f99ad4b1ff6d16bc323dd29acde15a5b34aec0..07c7a73d66548ba6f8b3ca78c8ca73eb5202bde4 100644 (file)
--- a/image.h
+++ b/image.h
@@ -295,6 +295,8 @@ extern int i_ft2_settransform(FT2_Fonthandle *handle, double *matrix);
 extern int i_ft2_sethinting(FT2_Fonthandle *handle, int hinting);
 extern int i_ft2_bbox(FT2_Fonthandle *handle, double cheight, double cwidth, 
                       char const *text, int len, int *bbox, int utf8);
+extern int i_ft2_bbox_r(FT2_Fonthandle *handle, double cheight, double cwidth, 
+                     char const *text, int len, int vlayout, int utf8, int *bbox);
 extern int i_ft2_text(FT2_Fonthandle *handle, i_img *im, int tx, int ty, 
                       i_color *cl, double cheight, double cwidth, 
                       char const *text, int len, int align, int aa,