<div class="normalize">Hi Zoltan,<div>&nbsp;</div><div>A patch would be nice, though it's unlikely to be included in this release, being a new feature rather than a bugfix. Wasn't it scheduled for August 16th, anyway?</div><div>&nbsp;</div><div>BTW, do you build cairo on windows following the "end-to-end" tutorial? I just tried it with the 1.8.10 versions, but failed to build the cairo itself (zlib, libpng &amp; pixman went smooth). I strongly suspect that there's something wrong with my MSYS setup, but that's easy to check.</div><div>&nbsp;</div><div>Regards,</div><div>Mikhail.</div><div>&nbsp;</div><div>&nbsp;</div><div>18.08.2010, 18:25, "Zolt&aacute;n Tur&aacute;nyi" &lt;<a href="mailto:teknos@gmail.com">teknos@gmail.com</a>&gt;:</div><blockquote>Hi Mikhail,<div>&nbsp;</div><div>No, no response so far. It seems the maintainers of the win32 backend &nbsp;are less active now.</div><div>&nbsp;</div><div>I have browsed through the code and came to the conclusion that the most appropriate way of handling this is to provide a function to change the size of a win32 pinting surface similar to how a pdf surface handles this. (The&nbsp;cairo_pdf_surface_set_size can only be called right after surface creation for the still empty surface.) This would fix the issue.</div> <div>&nbsp;</div><div>I am new to cairo internals so it will take some more time to produce a patch, but I will do it. I fear I will miss the current release if this goes as scheduled. Also, this is an API changing patch, maybe those require some special consideration, I am not sure about the process.</div> <div>&nbsp;</div><div>Zoltan<br /><br /><div class="gmail_quote">2010. augusztus 18. 16:02 Kozhevnikov Mikhail &iacute;rta, <span dir="ltr">&lt;<a href="mailto:mikhailkozhevnikov@yandex.ru">mikhailkozhevnikov@yandex.ru</a>&gt;</span>:<br /> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div>Hi Zoltan,</div><div>&nbsp;</div><div>Did you get any responces on this subject?</div><div>I experienced a similiar problem some time ago and had to use an even crappier workaround -- convert all text into curves. This, however, makes the fonts ugly at closer look, so I still look for a better solution.</div> <div>&nbsp;</div><div>--MK</div><div>01.07.10, 13:09, "Zolt&aacute;n Tur&aacute;nyi" &lt;<a href="mailto:teknos@gmail.com" target="_blank">teknos@gmail.com</a>&gt;:</div><div><div>&nbsp;</div><div class="h5"><blockquote style="border-left: 1px solid #cccccc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1em;">Hi,<br /><br />I am using cairo on Windows to draw into Windows metafiles using the printing surface. Unfortunately the printing surface takes its surface extents from the original clip defined in the metafile device context, which by default is the physical screen size (I found no ways to change this). Then, if I draw on the surface outside its extent then some drawing operations (e.g., strokes) end up in the makefile, some others (fonts) do not. This is very annoying as I need to use co-ordinates larger than the current screen size. Right now I have patched my cairo copy to set the extents to a big enough value, but I hope a real solution can be made part of the next release. Also, I believe it is incorrect behaviour: a mechanism similar to clipping should clip either everything or nothing. <br /> <br />I am not that deep into cairo internals, but I remember seeing something as an unbounded surface: I think this is the right type of surface for a windows metafile (especially if its device context is passed unclipped to cairo). However, specifically for a printing surface I found no ways to indicate this. I am also a bit unsure what would be the impact of removing the extent for real printer device.<br /> <br />I have submitted a bug (#25893) with example code quite some time ago and would be willing to contribute, but I think I need to discuss the above issues with someone knowing more of then win32 backend before just proposing a patch.<br /> <br />Here is a PNG rendering of an erroneous makefile to demo my effect. (Each box is aligned at 100 boundaries and my screen size was something like 1600x1120. Fonts do not show outside.)<br /><a href="http://bugs.freedesktop.org/attachment.cgi?id=36266" target="_blank">http://bugs.freedesktop.org/attachment.cgi?id=36266</a><br /> <br />Can anyone help me how to progress this? <br /><br />Zoltan<br /></blockquote></div></div></blockquote></div></div></blockquote></div>