<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>Hi Cairo Developers,</div><div><br></div><div>I got the error from below&#39;s code in latest cairo version(1.10.0). My height and width is more that 32767.</div>

<div>Is there a limited size for surface? Thanks.</div><div><br></div><div>_image =  new unsigned char[height * pitch];</div><div>memset(_image, 0, height * pitch * sizeof(unsigned char));</div><div><span style="white-space: pre-wrap; ">        </span></div>

<div>_surface = ::cairo_image_surface_create_for_data(_image</div><div><span style="white-space: pre-wrap; ">        </span>, CAIRO_FORMAT_A8</div><div><span style="white-space: pre-wrap; ">        </span>, width</div><div><span style="white-space: pre-wrap; ">        </span>, height</div>

<div><span style="white-space: pre-wrap; ">        </span>, pitch);</div><div><br></div></span>From,<br>Sean<div><br></div><div>&quot;naughty in the way of creative, not mischief&quot;</div><br>