- the segments parameter supplied to the fountain filter and the
fountain fill contructor now accepts color names or other
descriptions as other functions do.
+- fix a few compiler warnings
+- document the Imager::Font::BBox advance_width() method
=================================================================
- implement i_incomplete for bmp files
- check if freetype 2 is faster/slower than freetype 1 with Imager's glyph
caching. If FT1 is faster, add caching as a TODO for FT2.
+- add XS for i_tags_get_string() and test it.
+- test and fix problem with fallback value for
+ Imager::Font::BBox->advance_width.
- add sample CGI that handles an uploaded image (done)
- examples for fountain filter in Imager::Filters
- allow Imager::Fountain to take color descriptions (eg. blue, FF000)
#include "datatypes.h"
#include <stdlib.h>
#include <stdio.h>
-
+#include <string.h>
/*
=cut
*/
+int
i_ft2_cp(FT2_Fonthandle *handle, i_img *im, int tx, int ty, int channel,
double cheight, double cwidth, char const *text, int len, int align,
int aa, int vlayout, int utf8) {
if (error) {
ft2_push_message(error);
*name_buf = '\0';
- return;
+ return 0;
}
if (*name_buf) {
return strlen(name_buf) + 1;
#ifdef _MSC_VER
#include <io.h>
#endif
+#include <string.h>
#define IOL_DEB(x)
=item advance_width()
+The advance width of the string, if the driver supports that,
+otherwise the same as end_offset.
+
=cut
sub advance_width {
#include "imconfig.h"
#include "log.h"
+#include <stdlib.h>
#define DTBUFF 50
#define DATABUFF DTBUFF+3+10+1+5+1+1
return i_matrix_transform_bg(src, xsize, ysize, matrix, NULL, NULL);
}
-
+static void
i_matrix_mult(double *dest, double *left, double *right) {
int i, j, k;
double accum;