i didn't understood fully what you said,
i am creating the cairo surface of same width and heigth as
int stride = cairo_format_stride_for_width(CAIRO_FORMAT_A8,
bitmap->width);
cairo_surface_t *surface =
cairo_image_surface_create_for_data(bitmap->buffer, CAIRO_FORMAT_A8,
bitmap->width, bitmap->rows, stride);
cairo_surface_write_to_png(surface, "A.png");
Thanks
Varun
On Fri, Jun 11, 2010 at 11:17 AM, Infro <[email protected]> wrote:
> If I had to take a guess, I would say that the 16pt @ 300dpi was
> copied/drawn incorrectly, specifically, that the source data had a smaller
> width than the destination, and that created the "slanted" effect.
>
> As from my sample, the 12 starts in the top right corner and proceeds to
> the bottom left corner, which is my guess.
> ex.
> (source is 1-8, desitnation is 1-0)
> 1234567812
> 3456781234
> 5678123456
> 6712345678
> 1234567812
>
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype