freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Need help: newbee question


From: varun shrivastava
Subject: Re: [ft] Need help: newbee question
Date: Fri, 11 Jun 2010 11:31:02 +0530

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 <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]