<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1048</id>
	<title>Nabble - Free Desktop - Cairo - General</title>
	<updated>2009-12-01T03:00:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Free-Desktop---Cairo---General-f1048.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Free-Desktop---Cairo---General-f1048.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26590018</id>
	<title>_cairo_scaled_font_is_frozen(scaled_font) assertion failure with freetype on win32-printing surface</title>
	<published>2009-12-01T03:00:15Z</published>
	<updated>2009-12-01T03:00:15Z</updated>
	<author>
		<name>Kozhevnikov Mikhail</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Could someone explain the basic workflow for text rendering with scaled fonts? 
&lt;br&gt;&lt;br&gt;Currently, I have two faces in TrueType files. I load them using Freetype, pass to cairo_ft_font_face_create_for_ft_face(), then assign the source FT_Face-s as user data with FT_Done_Face as destroy function, create several instances of scaled font for each of the faces (of different size) and do the rendering. 
&lt;br&gt;I works fine for surfaces but the win32-printing one. In the latter case an assertion fails with _cairo_scaled_font_is_frozen(scaled_font) expression. I've tried locking the font each time before setting it, but it seems to make no different. Could you explain what's wrong here and how should one use the font locking mechnism?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Mikhail.
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26590018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/_cairo_scaled_font_is_frozen%28scaled_font%29-assertion-failure-with-freetype-on-win32-printing-surface-tp26590018p26590018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26588494</id>
	<title>pixman_fill() on MMX/SSE</title>
	<published>2009-12-01T00:54:20Z</published>
	<updated>2009-12-01T00:54:20Z</updated>
	<author>
		<name>Benjamin Otte</name>
	</author>
	<content type="html">Hey,
&lt;br&gt;&lt;br&gt;Attached is a patch that makes pixman_fill() work with non-32 bpp. The
&lt;br&gt;MMX and SSE code paths expect the xor value to be expanded to 32bit
&lt;br&gt;while both the NEON and the fast-path implementations do not. And the
&lt;br&gt;callers don't expand the value either.
&lt;br&gt;So I'm very sure the fix is straight-forward and doesn't break
&lt;br&gt;anything, but the checks that I remove might have been there for a
&lt;br&gt;reason.
&lt;br&gt;So it's your time to speak up now If you know why. And if , I'm just
&lt;br&gt;gonna commit it in a few days.
&lt;br&gt;&lt;br&gt;Benjamin
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26588494&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;diff&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/26588494/0/diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pixman_fill%28%29-on-MMX-SSE-tp26588494p26588494.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26587843</id>
	<title>Re: Objections to changing most text tests to use the internal font?</title>
	<published>2009-11-30T23:50:31Z</published>
	<updated>2009-11-30T23:50:31Z</updated>
	<author>
		<name>Adrian Johnson</name>
	</author>
	<content type="html">Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt; What I suggest is:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- Include one Type1, one TrueType, and one bitmap font in boilerplate/. 
&lt;br&gt;&amp;gt; Like we do with surface, have boilerplate/test run the text tests against all of:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- Twin font
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- FreeType with Type1 font
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- FreeType with TrueType font
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- FreeType with bitmap font
&lt;br&gt;&lt;br&gt;I started some work last year to included a TrueType, OpenType/CFF, and 
&lt;br&gt;Type 1 font for testing the subsetting:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://cgit.freedesktop.org/~ajohnson/cairo/log/?h=font-subset-test&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgit.freedesktop.org/~ajohnson/cairo/log/?h=font-subset-test&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please review this branch and see what you think of the boilerplate 
&lt;br&gt;changes for testing the subsetting.
&lt;br&gt;&lt;br&gt;Commit 9d0733bb adds the fonts to the test suite. It is based the Nimbus 
&lt;br&gt;Sans L Regular font.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26587843&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Objections-to-changing-most-text-tests-to-use-the-internal-font--tp26554314p26587843.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26585763</id>
	<title>Re: Objections to changing most text tests to use the	internal font?</title>
	<published>2009-11-30T18:54:46Z</published>
	<updated>2009-11-30T18:54:46Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">On 11/30/2009 08:09 PM, Travis Griggs wrote:
&lt;br&gt;&amp;gt; On Nov 30, 2009, at 4:30 PM, Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As for fonts to ship, WallaWalla from Garrett should do the job:
&lt;br&gt;&lt;br&gt;&amp;gt; There is a font called WallaWalla???? I can't tell you how totally
&lt;br&gt;&amp;gt; cool I think that is. Thanks for sharing.
&lt;br&gt;&lt;br&gt;Here it is:
&lt;br&gt;&lt;a href=&quot;http://linuxart.com/log/archives/2008/08/29/hack-week-wrap-up/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://linuxart.com/log/archives/2008/08/29/hack-week-wrap-up/&lt;/a&gt;&lt;br&gt;&lt;br&gt;The other font I was thinking of is:
&lt;br&gt;&lt;a href=&quot;http://jimmac.musichall.cz/log/?p=441&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jimmac.musichall.cz/log/?p=441&lt;/a&gt;&lt;br&gt;&lt;br&gt;They are like 40k each.
&lt;br&gt;&lt;br&gt;behdad
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26585763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Objections-to-changing-most-text-tests-to-use-the-internal-font--tp26554314p26585763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26584991</id>
	<title>Re: Objections to changing most text tests to use the internal font?</title>
	<published>2009-11-30T17:09:35Z</published>
	<updated>2009-11-30T17:09:35Z</updated>
	<author>
		<name>Travis Griggs-3</name>
	</author>
	<content type="html">On Nov 30, 2009, at 4:30 PM, Behdad Esfahbod wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; As for fonts to ship, WallaWalla from Garrett should do the job:
&lt;br&gt;&lt;br&gt;There is a font called WallaWalla???? I can't tell you how totally &amp;nbsp;
&lt;br&gt;cool I think that is. Thanks for sharing.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Travis Griggs (who lives in Walla Walla Washington)
&lt;br&gt;Objologist
&lt;br&gt;&amp;quot;The best way to know you have a mind is to change it&amp;quot; -Judge Pierre &amp;nbsp;
&lt;br&gt;Leval
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26584991&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Objections-to-changing-most-text-tests-to-use-the-internal-font--tp26554314p26584991.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26584760</id>
	<title>Re: Objections to changing most text tests to use the internal font?</title>
	<published>2009-11-30T16:30:58Z</published>
	<updated>2009-11-30T16:30:58Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">I'm fine with that except that it wouldn't test any of the cairo-ft backend or 
&lt;br&gt;any of the Type1/TrueType/Type3 etc code. &amp;nbsp;Which is fine. &amp;nbsp;We need to add 
&lt;br&gt;separate tests for those.
&lt;br&gt;&lt;br&gt;So, my recommendation is to switch all the &amp;quot;cairo_select_font_face()&amp;quot; tests to 
&lt;br&gt;twin. &amp;nbsp;That leaves all the ft-*.c and bitmap-font.c tests. &amp;nbsp;Those currently 
&lt;br&gt;use Fontconfig API. &amp;nbsp;We should instead break them down to a bunch, such &amp;nbsp;that:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- They test the cairo Fontconfig API
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- Separate tests for the cairo FreeType API
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- Tests for the different subsetters
&lt;br&gt;&lt;br&gt;What I suggest is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- Include one Type1, one TrueType, and one bitmap font in boilerplate/. 
&lt;br&gt;Like we do with surface, have boilerplate/test run the text tests against all of:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- Twin font
&lt;br&gt;&amp;nbsp; &amp;nbsp;- FreeType with Type1 font
&lt;br&gt;&amp;nbsp; &amp;nbsp;- FreeType with TrueType font
&lt;br&gt;&amp;nbsp; &amp;nbsp;- FreeType with bitmap font
&lt;br&gt;&lt;br&gt;When we add cairo_font_face_create() later, we can extend that to all native 
&lt;br&gt;backends.
&lt;br&gt;&lt;br&gt;As for fonts to ship, WallaWalla from Garrett should do the job:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://ux.suse.de/~garrett/public/wallawalla/0.1/WallaWalla.sfd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ux.suse.de/~garrett/public/wallawalla/0.1/WallaWalla.sfd&lt;/a&gt;&lt;br&gt;&lt;br&gt;We can use fontforge to create TrueType and Type1 variants.
&lt;br&gt;&lt;br&gt;Or use that for TrueType, and another face for Type1 so we can distinguish 
&lt;br&gt;them easily.
&lt;br&gt;&lt;br&gt;Anyway, I know this is a bit more than you asked for, but something we should 
&lt;br&gt;have done long ago.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;behdad
&lt;br&gt;&lt;br&gt;PS. I expect you'd see bugs with user-font not dealing with font-matrix 
&lt;br&gt;offsets correctly...
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 11/28/2009 10:55 AM, M Joonas Pihlaja wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hey,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does anyone have any objcetions to me shifting most of the text test
&lt;br&gt;&amp;gt; cases to use the Twin font?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Until recently a lot of the text tests have been failing for me due to
&lt;br&gt;&amp;gt; mismatches between whatever font which is called &amp;quot;Bitstream Vera&amp;quot; on
&lt;br&gt;&amp;gt; my system and the system used to generate the ref images. &amp;nbsp;A few
&lt;br&gt;&amp;gt; months ago the stars have aligned for me and now the majority of them
&lt;br&gt;&amp;gt; pass suddenly, so presumably they're now failing with other Bitstream
&lt;br&gt;&amp;gt; Veras.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Joonas
&lt;/div&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26584760&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Objections-to-changing-most-text-tests-to-use-the-internal-font--tp26554314p26584760.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26576120</id>
	<title>Re: how to increase a new operator in cairo</title>
	<published>2009-11-30T07:04:39Z</published>
	<updated>2009-11-30T07:04:39Z</updated>
	<author>
		<name>M Joonas Pihlaja</name>
	</author>
	<content type="html">&lt;br&gt;On Mon, 30 Nov 2009, Liang Wang wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; We want to increase a new operator for ROP operation &amp;quot;AND&amp;quot;.
&lt;br&gt;&amp;gt; Could you tell me how to do it.
&lt;br&gt;&lt;br&gt;Does IN or DEST_IN not work for your needs? &amp;nbsp;How do you define AND 
&lt;br&gt;anyway?
&lt;br&gt;&lt;br&gt;To add another operator you'd first need to get it into pixman, so 
&lt;br&gt;have a look at how pixman implements its operators. &amp;nbsp;Adding support in 
&lt;br&gt;cairo after pixman supports it is only a little bit of code after 
&lt;br&gt;that.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Joonas
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26576120&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-increase-a-new-operator-in-cairo-tp26575142p26576120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575142</id>
	<title>how to increase a new operator in cairo</title>
	<published>2009-11-30T05:50:20Z</published>
	<updated>2009-11-30T05:50:20Z</updated>
	<author>
		<name>Liang Wang-3</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;&lt;DIV&gt;We want to increase a new operator for ROP operation &quot;AND&quot;.&lt;/DIV&gt;
&lt;DIV&gt;Could you tell me how to do it.&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much.&lt;/DIV&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

      &lt;br /&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-increase-a-new-operator-in-cairo-tp26575142p26575142.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26564411</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-29T10:04:02Z</published>
	<updated>2009-11-29T10:04:02Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt; If that's the case, should it not be &amp;quot;fixed&amp;quot; in the source?
&lt;br&gt;&lt;br&gt;Sure. File a bug please.
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564411&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26564411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563934</id>
	<title>Would like to submit some patches for Haiku (and BeOS) soon</title>
	<published>2009-11-29T09:22:12Z</published>
	<updated>2009-11-29T09:22:12Z</updated>
	<author>
		<name>Urias McCullough-2</name>
	</author>
	<content type="html">Hey there,
&lt;br&gt;&lt;br&gt;My name is Urias McCullough (IRC: umccullough) and I just wanted to
&lt;br&gt;let the list know that I would like to submit a few Haiku-related
&lt;br&gt;patches in the near future.
&lt;br&gt;&lt;br&gt;About a year ago, a couple people in the Haiku community (including
&lt;br&gt;myself) started seeing what it would take to get Cairo *building* on
&lt;br&gt;Haiku, and it turned out to be pretty minor. Since then, things have
&lt;br&gt;changed again, so the old patches no longer work anyway.
&lt;br&gt;&lt;br&gt;To simplify things, I'd like to get some of the patches into the
&lt;br&gt;master so we can avoid having to re-patch everything again and again.
&lt;br&gt;&lt;br&gt;Most of the patches are small and simple - but I'll probably submit
&lt;br&gt;them in logical pieces for individual review and commit to get things
&lt;br&gt;going.
&lt;br&gt;&lt;br&gt;Would this mailing list be the best place to submit patches?
&lt;br&gt;&lt;br&gt;Disclaimer: I'm not much of a C/C++ dev, so while I can tweak little
&lt;br&gt;things here and there, I will probably struggle with larger changes.
&lt;br&gt;For some of those I will try to find better developers from the Haiku
&lt;br&gt;community to assist.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Urias McCullough
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Would-like-to-submit-some-patches-for-Haiku-%28and-BeOS%29-soon-tp26563934p26563934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563554</id>
	<title>Re: Storing vector information for drawing later</title>
	<published>2009-11-29T08:34:33Z</published>
	<updated>2009-11-29T08:34:33Z</updated>
	<author>
		<name>Mohit Sindhwani-5</name>
	</author>
	<content type="html">Emmanuel Pacaud wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The current development snapshot (1.9.2) exports the cairo-meta-surface,
&lt;br&gt;&amp;gt; that can be used for vector operation recording.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It will be renamed to cairo-recording-surface in the next stable version
&lt;br&gt;&amp;gt; (which is already done in cairo git master branch)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Hi Emmanuel
&lt;br&gt;&lt;br&gt;Thanks for the information. &amp;nbsp;For now, I am trying to get Cairo 1.8.8 
&lt;br&gt;built for Windows CE. &amp;nbsp;Once I manage that, I'll keep a lookout on the 
&lt;br&gt;1.9.2 snapshot to look at how the cairo-recording-surface works.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Mohit.
&lt;br&gt;11/30/2009 | 12:34 AM.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563554&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Storing-vector-information-for-drawing-later-tp26501814p26563554.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563523</id>
	<title>Calling on subsystem maintainers to get ready to check their backends.</title>
	<published>2009-11-29T08:30:46Z</published>
	<updated>2009-11-29T08:30:46Z</updated>
	<author>
		<name>M Joonas Pihlaja</name>
	</author>
	<content type="html">&lt;br&gt;Hey all,
&lt;br&gt;&lt;br&gt;This is a heads up for anyone who has an interest in the 
&lt;br&gt;&amp;quot;experimental&amp;quot; cairo backends or non-VAX platforms. &amp;nbsp;We're pushing 
&lt;br&gt;towards a 1.10 cairo release in the not totally distant future, so if 
&lt;br&gt;you have a favourite backend please get check that your backend still 
&lt;br&gt;works. There's a big change in Chris' pipeline which affects how the 
&lt;br&gt;backends are structured cooking here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://cgit.freedesktop.org/~ickle/cairo/commit/?h=wip/compositor&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgit.freedesktop.org/~ickle/cairo/commit/?h=wip/compositor&lt;/a&gt;&lt;br&gt;&lt;br&gt;It's likely a good idea to wait until that gets merged into git 
&lt;br&gt;master, but after that would be a great time to shake any bugs out. :)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Joonas
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563523&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Calling-on-subsystem-maintainers-to-get-ready-to-check-their-backends.-tp26563523p26563523.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562926</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-29T07:24:50Z</published>
	<updated>2009-11-29T07:24:50Z</updated>
	<author>
		<name>Mohit Sindhwani-5</name>
	</author>
	<content type="html">Kozhevnikov Mikhail wrote:
&lt;br&gt;&amp;gt; Seems to work fine without it. Thank you!
&lt;br&gt;&amp;gt; Didn't think of it this way :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers, 
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;If that's the case, should it not be &amp;quot;fixed&amp;quot; in the source?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Mohit.
&lt;br&gt;11/29/2009 | 11:24 PM.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562926&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26562926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26561668</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-29T04:33:02Z</published>
	<updated>2009-11-29T04:33:02Z</updated>
	<author>
		<name>Kozhevnikov Mikhail</name>
	</author>
	<content type="html">Seems to work fine without it. Thank you!
&lt;br&gt;Didn't think of it this way :)
&lt;br&gt;&lt;br&gt;Cheers, 
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;br&gt;28.11.09, 00:00, &amp;quot;Tor Lillqvist&amp;quot; :
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Dingo is built with MSVC, while fontconfig.h requires unistd.h.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;Does it really &amp;quot;require&amp;quot; it? What happens if you just remove that
&lt;br&gt;&amp;gt; &amp;nbsp;#include ? Quickly glancing, I don't see any immediate
&lt;br&gt;&amp;gt; &amp;nbsp;reason why &amp;nbsp;would need to include .
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;--tml
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Здесь спама нет &lt;a href=&quot;http://mail.yandex.ru/nospam/sign&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.yandex.ru/nospam/sign&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26561668&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26561668.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556210</id>
	<title>Re: Video Hackfest conclusions</title>
	<published>2009-11-28T11:29:36Z</published>
	<updated>2009-11-28T11:29:36Z</updated>
	<author>
		<name>Siarhei Siamashka</name>
	</author>
	<content type="html">On Tuesday 24 November 2009, Benjamin Otte wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As you may be aware, we held a video hackfest last week in Barcelona.
&lt;br&gt;&amp;gt; Developers met to discuss how best to improve GPU support for video
&lt;br&gt;&amp;gt; applications. See &lt;a href=&quot;http://gstreamer.freedesktop.org/wiki/VideoHackfest&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gstreamer.freedesktop.org/wiki/VideoHackfest&lt;/a&gt;&lt;br&gt;&amp;gt; for more details. In particular, you might be interested in the notes
&lt;br&gt;&amp;gt; some people took while the hackfest was going on. These can be found
&lt;br&gt;&amp;gt; at &lt;a href=&quot;http://gstreamer.freedesktop.org/wiki/VideoHackfest/Notes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gstreamer.freedesktop.org/wiki/VideoHackfest/Notes&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What follows is the results we arrived at after the hackfest. They are
&lt;br&gt;&amp;gt; taken from &lt;a href=&quot;http://gstreamer.freedesktop.org/wiki/VideoHackfest/Conclusions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gstreamer.freedesktop.org/wiki/VideoHackfest/Conclusions&lt;/a&gt;&lt;br&gt;&amp;gt; but certainly deserve wide circulation. We're interested in any
&lt;br&gt;&amp;gt; comments (or questions) you might have about them, so please don't
&lt;br&gt;&amp;gt; heistate to reply.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you do reply, please make sure to reduce the recipient list
&lt;br&gt;&amp;gt; appropriately.
&lt;/div&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; == YUV in pixman ==
&lt;br&gt;&amp;gt; It has been a goal for a while to make video a first-class citizen in
&lt;br&gt;&amp;gt; the image stack. A concrete API proposal on how to integrate video
&lt;br&gt;&amp;gt; into pixman was reached and reviewed.
&lt;br&gt;&amp;gt; Links:
&lt;br&gt;&amp;gt; &amp;nbsp;* &lt;a href=&quot;http://gstreamer.freedesktop.org/wiki/VideoHackfest/YCbCr_Formats&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gstreamer.freedesktop.org/wiki/VideoHackfest/YCbCr_Formats&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;* &lt;a href=&quot;http://gstreamer.freedesktop.org/wiki/VideoHackfest/pixman&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gstreamer.freedesktop.org/wiki/VideoHackfest/pixman&lt;/a&gt;&lt;br&gt;&amp;gt; Actions:
&lt;br&gt;&amp;gt; &amp;nbsp;* GStreamer developers to provide a specification of important YUV formats
&lt;br&gt;&amp;gt; &amp;nbsp;* Write implementation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; == YUV in Cairo ==
&lt;br&gt;&amp;gt; To make it easy for applications to use these different formats, the
&lt;br&gt;&amp;gt; Cairo API needs to be extended to allow them. A proposal does exist
&lt;br&gt;&amp;gt; and has been reviewed, details need to be finalized.
&lt;br&gt;&amp;gt; Links:
&lt;br&gt;&amp;gt; &amp;nbsp;* &lt;a href=&quot;http://gstreamer.freedesktop.org/wiki/VideoHackfest/Cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gstreamer.freedesktop.org/wiki/VideoHackfest/Cairo&lt;/a&gt;&lt;br&gt;&amp;gt; Actions:
&lt;br&gt;&amp;gt; &amp;nbsp;* Finalize proposal
&lt;br&gt;&amp;gt; &amp;nbsp;* Write implementation
&lt;/div&gt;&lt;br&gt;I would like to have some clarification regarding forcing BILINEAR filter for
&lt;br&gt;nonscaled YCbCr images.
&lt;br&gt;&lt;br&gt;What happens if some YCbCr image is used as both source and destination if we
&lt;br&gt;want to draw some RGB stuff on top of video frame? In this case the operation
&lt;br&gt;will be split into fetching YCbCr data into temporary scanline buffer (and
&lt;br&gt;converting it to a8r8g8b8 format), doing the operation and writing data back,
&lt;br&gt;converting it to YCbCr. For this kind of operation, any distortions in the
&lt;br&gt;original image are probaby not desired. A test can involve trying to do OVER
&lt;br&gt;compositing operation with fully transparent RGB source and YCbCr as
&lt;br&gt;the destination. Optimistically, the destination image should not change at
&lt;br&gt;all. But in reality, some of the pixels have to be clamped to [0, 255] range
&lt;br&gt;when converting to RGB. So the requirement can be relaxed to requiring
&lt;br&gt;YCbCr -&amp;gt; RGB -&amp;gt; YCbCr roundtrip to only be allowed to modify the values which
&lt;br&gt;are clamped during this conversion. It can be treated somewhat similar to
&lt;br&gt;handling top 8 bits in x8r8g8b8 format. Some different YCbCr pixel values map
&lt;br&gt;to the same a8r8g8b8 value, but so do x8r8g8b8 pixels.
&lt;br&gt;&lt;br&gt;Using bilinear filter on YCbCr -&amp;gt; RGB -&amp;gt; YCbCr roundtrip would introduce some
&lt;br&gt;blur unless I'm mistaken. But this filter may still be a good idea when
&lt;br&gt;generating a final RGB picture. BTW, introducing a dithering filter for doing
&lt;br&gt;final conversion into r5g6b5 format may be a good idea too.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Siarhei Siamashka
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26556210&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-Hackfest-conclusions-tp26494626p26556210.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26554314</id>
	<title>Objections to changing most text tests to use the internal font?</title>
	<published>2009-11-28T07:55:54Z</published>
	<updated>2009-11-28T07:55:54Z</updated>
	<author>
		<name>M Joonas Pihlaja</name>
	</author>
	<content type="html">&lt;br&gt;Hey,
&lt;br&gt;&lt;br&gt;Does anyone have any objcetions to me shifting most of the text test 
&lt;br&gt;cases to use the Twin font?
&lt;br&gt;&lt;br&gt;Until recently a lot of the text tests have been failing for me due to 
&lt;br&gt;mismatches between whatever font which is called &amp;quot;Bitstream Vera&amp;quot; on 
&lt;br&gt;my system and the system used to generate the ref images. &amp;nbsp;A few 
&lt;br&gt;months ago the stars have aligned for me and now the majority of them 
&lt;br&gt;pass suddenly, so presumably they're now failing with other Bitstream 
&lt;br&gt;Veras.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Joonas
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554314&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Objections-to-changing-most-text-tests-to-use-the-internal-font--tp26554314p26554314.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26548277</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-27T14:00:45Z</published>
	<updated>2009-11-27T14:00:45Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt; Dingo is built with MSVC, while fontconfig.h requires unistd.h.
&lt;br&gt;&lt;br&gt;Does it really &amp;quot;require&amp;quot; it? What happens if you just remove that
&lt;br&gt;#include &amp;lt;unistd.h&amp;gt;? Quickly glancing, I don't see any immediate
&lt;br&gt;reason why &amp;lt;fontconfig.h&amp;gt; would need to include &amp;lt;unistd.h&amp;gt;.
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26548277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26548277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26545150</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-27T09:04:17Z</published>
	<updated>2009-11-27T09:04:17Z</updated>
	<author>
		<name>Shixin Zeng-2</name>
	</author>
	<content type="html">I built all dependencies with MSVC by this method, and all
&lt;br&gt;dependencies can be found at this repository. You can check the
&lt;br&gt;history to see what I did.
&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Shixin Zeng
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/27 Kozhevnikov Mikhail &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26545150&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mikhailkozhevnikov@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Shixin,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Looks interesting. Do you use some existing set of libraries that mimic the UNIX enviroment? Or do you implement it all on your own?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mikhail
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 27.11.09, 10:25, &amp;quot;Shixin Zeng&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26545150&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zeng.shixin@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have a repository with an ambition to build as many gnome apps on
&lt;br&gt;&amp;gt;&amp;gt;  windows with MSVC as possible, where includes freetype. It's based on
&lt;br&gt;&amp;gt;&amp;gt;  scons and still in progress, and I'm just building some gnome related
&lt;br&gt;&amp;gt;&amp;gt;  libraries.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  The repository is located at:&lt;a href=&quot;http://github.com/zsx/freetype2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/zsx/freetype2&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;  The instructions:&lt;a href=&quot;http://code.google.com/p/gnome4win/wiki/GetStarted&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/gnome4win/wiki/GetStarted&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  Best Regards
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  Shixin Zeng
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  On Fri, Nov 27, 2009 at 10:09 AM, Kozhevnikov Mikhail
&lt;br&gt;&amp;gt;&amp;gt;   wrote:
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; I've got a bug report for Dingo on Windows having some fonts displayed incorrectly. It appears to be again the same one mentioned here &lt;a href=&quot;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; I thought of using Freetype font backend to fix this. However, there's a problem as Dingo is built with MSVC, while fontconfig.h requires unistd.h.
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; Has anyone tried using freetype on Windows with MSVC?
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; Mikhail.
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; cairo mailing list
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26545150&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt; &lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;  &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Яндекс.Почта. Письма есть. Спама - нет. &lt;a href=&quot;http://mail.yandex.ru/nospam/sign&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.yandex.ru/nospam/sign&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26545150&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26545150.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544980</id>
	<title>Re: [PATCH] pixman: high qualtiy downscaling</title>
	<published>2009-11-27T08:51:47Z</published>
	<updated>2009-11-27T08:51:47Z</updated>
	<author>
		<name>Ian Britten</name>
	</author>
	<content type="html">Soeren Sandmann wrote:
&lt;br&gt;&amp;gt; Maybe that is CAIRO_FILTER_GOOD, but that would conflate interpolatino
&lt;br&gt;&amp;gt; and sampling, which would bug me. Another possibility is that cairo
&lt;br&gt;&amp;gt; simply offers
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; CAIRO_RESAMPLE_FAST
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; CAIRO_RESAMPLE_GOOD
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; CAIRO_RESAMPLE_BEST
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; defaulting to GOOD, where GOOD then would mean &amp;quot;make it look good&amp;quot;. 
&lt;br&gt;&lt;br&gt;+1
&lt;br&gt;&lt;br&gt;I don't appreciate the differences between interpolation and sampling,
&lt;br&gt;and I'm certain my (end)users wouldn't.
&lt;br&gt;Whatever Cairo eventually offers, I will likely just wrap+expose with
&lt;br&gt;abstract FAST/GOOD/BEST options (At least, until a knowledgeable user
&lt;br&gt;needs more specific control, if ever ...)
&lt;br&gt;&lt;br&gt;PS: My more interesting downscaling concern/goal would be about
&lt;br&gt;downscaling *huge* source images to a reasonable (ie on-screen) size,
&lt;br&gt;but that's probably a whole different discussion ...
&lt;br&gt;&lt;br&gt;Ian
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544980&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pixman%3A-high-qualtiy-downscaling-tp24762728p26544980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544791</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-27T08:36:52Z</published>
	<updated>2009-11-27T08:36:52Z</updated>
	<author>
		<name>Kozhevnikov Mikhail</name>
	</author>
	<content type="html">Hi Shixin,
&lt;br&gt;&lt;br&gt;Looks interesting. Do you use some existing set of libraries that mimic the UNIX enviroment? Or do you implement it all on your own?
&lt;br&gt;&lt;br&gt;Mikhail
&lt;br&gt;&lt;br&gt;27.11.09, 10:25, &amp;quot;Shixin Zeng&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544791&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zeng.shixin@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have a repository with an ambition to build as many gnome apps on
&lt;br&gt;&amp;gt; &amp;nbsp;windows with MSVC as possible, where includes freetype. It's based on
&lt;br&gt;&amp;gt; &amp;nbsp;scons and still in progress, and I'm just building some gnome related
&lt;br&gt;&amp;gt; &amp;nbsp;libraries.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;The repository is located at:&lt;a href=&quot;http://github.com/zsx/freetype2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/zsx/freetype2&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;The instructions:&lt;a href=&quot;http://code.google.com/p/gnome4win/wiki/GetStarted&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/gnome4win/wiki/GetStarted&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;Best Regards
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;Shixin Zeng
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;On Fri, Nov 27, 2009 at 10:09 AM, Kozhevnikov Mikhail
&lt;br&gt;&amp;gt; &amp;nbsp; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; I've got a bug report for Dingo on Windows having some fonts displayed incorrectly. It appears to be again the same one mentioned here &lt;a href=&quot;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; I thought of using Freetype font backend to fix this. However, there's a problem as Dingo is built with MSVC, while fontconfig.h requires unistd.h.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Has anyone tried using freetype on Windows with MSVC?
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; cairo mailing list
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544791&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Яндекс.Почта. Письма есть. Спама - нет. &lt;a href=&quot;http://mail.yandex.ru/nospam/sign&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.yandex.ru/nospam/sign&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544791&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26544791.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544640</id>
	<title>Re: freetype on windows</title>
	<published>2009-11-27T08:25:40Z</published>
	<updated>2009-11-27T08:25:40Z</updated>
	<author>
		<name>Shixin Zeng-2</name>
	</author>
	<content type="html">I have a repository with an ambition to build as many gnome apps on
&lt;br&gt;windows with MSVC as possible, where includes freetype. It's based on
&lt;br&gt;scons and still in progress, and I'm just building some gnome related
&lt;br&gt;libraries.
&lt;br&gt;&lt;br&gt;The repository is located at:&lt;a href=&quot;http://github.com/zsx/freetype2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/zsx/freetype2&lt;/a&gt;&lt;br&gt;The instructions:&lt;a href=&quot;http://code.google.com/p/gnome4win/wiki/GetStarted&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/gnome4win/wiki/GetStarted&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Shixin Zeng
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Nov 27, 2009 at 10:09 AM, Kozhevnikov Mikhail
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544640&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mikhailkozhevnikov@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've got a bug report for Dingo on Windows having some fonts displayed incorrectly. It appears to be again the same one mentioned here &lt;a href=&quot;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&lt;/a&gt;.
&lt;br&gt;&amp;gt; I thought of using Freetype font backend to fix this. However, there's a problem as Dingo is built with MSVC, while fontconfig.h requires unistd.h.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Has anyone tried using freetype on Windows with MSVC?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; cairo mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544640&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544640&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26544640.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544440</id>
	<title>freetype on windows</title>
	<published>2009-11-27T08:09:47Z</published>
	<updated>2009-11-27T08:09:47Z</updated>
	<author>
		<name>Kozhevnikov Mikhail</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I've got a bug report for Dingo on Windows having some fonts displayed incorrectly. It appears to be again the same one mentioned here &lt;a href=&quot;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/archives/cairo/2009-October/018321.html&lt;/a&gt;. 
&lt;br&gt;I thought of using Freetype font backend to fix this. However, there's a problem as Dingo is built with MSVC, while fontconfig.h requires unistd.h.
&lt;br&gt;&lt;br&gt;Has anyone tried using freetype on Windows with MSVC?
&lt;br&gt;&lt;br&gt;Cheers, 
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544440&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/freetype-on-windows-tp26544440p26544440.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544340</id>
	<title>Re: Cairo Drawing Speed</title>
	<published>2009-11-27T08:02:09Z</published>
	<updated>2009-11-27T08:02:09Z</updated>
	<author>
		<name>Siarhei Siamashka</name>
	</author>
	<content type="html">On Tuesday 24 November 2009, Koen Kooi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 24-11-09 14:56, Jonathan Morton wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; There are a lot of
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; performance enhancements done, especially for ARM processors.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I feel obliged to point out that an ARM920T won't be able to take
&lt;br&gt;&amp;gt; &amp;gt; advantage of either the NEON or ARM-SIMD kernels in Pixman - it's a v5
&lt;br&gt;&amp;gt; &amp;gt; chip, so it's like asking a classic Pentium to understand SSE.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Worse, arm920t is armv4t, arm926 is v5.
&lt;/div&gt;&lt;/div&gt;I still have some armv6 SIMD patches (a few 16bpp fast paths) not yet merged
&lt;br&gt;into pixman. They were used on Nokia N810
&lt;br&gt;&lt;br&gt;As for the older ARM chips, I'm not quite sure if they are going to
&lt;br&gt;be still used in new devices running more or less normal linux software
&lt;br&gt;stack (including pixman). Of course if somebody is up to also optimizing
&lt;br&gt;pixman for armv4 chips, it would be only encouraged I guess.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Siarhei Siamashka
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544340&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26544340/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cairo-Drawing-Speed-tp26489326p26544340.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544325</id>
	<title>Re: Paginating a png image.</title>
	<published>2009-11-27T07:54:34Z</published>
	<updated>2009-11-27T07:54:34Z</updated>
	<author>
		<name>RichardShann</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Fri, 27 Nov 2009 09:19:32 +0200
&lt;br&gt;&amp;gt; From: Gerdus van Zyl
&lt;br&gt;&amp;gt; Subject: Re: [cairo] Paginating a png image.
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544325&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Message-ID:
&lt;br&gt;&amp;gt; 	&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544325&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;91882ea90911262319k2a9fb179u1f419cdaa900f5c2@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Content-Type: text/plain; charset=ISO-8859-1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think you need to keep the rectangle the same:
&lt;br&gt;&amp;gt; cairo_rectangle (cr, 0.0, 0.0, (double)width, (double)page_height);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and move the offset to the source:
&lt;br&gt;&amp;gt; cairo_set_source_surface (cr, the_surface, 0.0,
&lt;br&gt;&amp;gt; (double)page_height*page_nr); //the y could also be negative can't
&lt;br&gt;&amp;gt; remember
&lt;/div&gt;Thanks! with a negative offset in there it works.
&lt;br&gt;Richard Shann
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26544325&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Paginating-a-png-image.-tp26533912p26544325.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543912</id>
	<title>Re: Pixman scaling performance</title>
	<published>2009-11-27T07:27:48Z</published>
	<updated>2009-11-27T07:27:48Z</updated>
	<author>
		<name>Siarhei Siamashka</name>
	</author>
	<content type="html">On Friday 27 November 2009, Soeren Sandmann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Siarhei Siamashka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543912&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siarhei.siamashka@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; &amp;gt; It's mostly a question about the status of
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://cgit.freedesktop.org/~sandmann/pixman/log/?h=unroll&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgit.freedesktop.org/~sandmann/pixman/log/?h=unroll&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; branch, which should improve performance of nearest scaling.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If tested with render_bench program on ARM Cortex-A8, we get the
&lt;br&gt;&amp;gt; &amp;gt; following results (it's mostly showing the performance of OVER
&lt;br&gt;&amp;gt; &amp;gt; compositing operation with nearest or bilinear scaling).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; As expected, bilinear scaling improved a lot in git (almost reaching
&lt;br&gt;&amp;gt; &amp;gt; imlib2), but nearest scaling is still a bit too slow.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Both SRC and OVER operations are quite important for browsers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was hoping that someone would take your old scaling fast paths and
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - do them with preprocessor macros instead of duplicating them
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - go through the fast path system on top of the 'flags' branch
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instead of the additional if statements.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But it may make sese to merge the unroll branch regardless.
&lt;/div&gt;&lt;/div&gt;Well, looks like we had a little bit of miscommunication then.
&lt;br&gt;&lt;br&gt;Generally I see three layers in pixman:
&lt;br&gt;&lt;br&gt;1. Fully functional simple implementations. Can be used as a reference
&lt;br&gt;implementation and also in the cases which are not supported by fast paths.
&lt;br&gt;2. Some portable fast path C implementations, which implement some subsets of
&lt;br&gt;operations but have lower computational complexity and better performance for
&lt;br&gt;the cases they can handle. Can be used on the platforms which do not have 
&lt;br&gt;special hardware-specific optimizations and should preferably provide
&lt;br&gt;sufficient performance not to lose badly to competing libraries :)
&lt;br&gt;Also can be used for benchmarking platform-specific optimizations against
&lt;br&gt;them.
&lt;br&gt;3. Platform-specific optimizations which push performance up to the hardware
&lt;br&gt;limits.
&lt;br&gt;&lt;br&gt;Automated testing can help to compare these alternative implementations to
&lt;br&gt;each other. Tests should be sensitive enough to easily detect problems in
&lt;br&gt;corner cases (like bugs related to '&amp;lt;=' vs. '&amp;lt;' operator usage in 'if'
&lt;br&gt;expression, etc.). Tests themselves can be tested by trying to artificially
&lt;br&gt;introduce bugs into code and checking whether they get caught.
&lt;br&gt;&lt;br&gt;Both your patch from 'unroll' branch and my older nearest neighbor scaling
&lt;br&gt;patch belong to the second layer. They are more or less comparable to each
&lt;br&gt;other. Your patch is more generic and supports more cases of clipping. My
&lt;br&gt;patch was somewhat faster on ARM (with almost no performance difference on
&lt;br&gt;x86).
&lt;br&gt;&lt;br&gt;In any case, I'm most interested in the third layer and ARM specific
&lt;br&gt;optimizations (for scaling too). That's why I would like to see 'unroll'
&lt;br&gt;branch merged so that we can move on. It's nice to see pixman performance
&lt;br&gt;improving steadily.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Siarhei Siamashka
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543912&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26543912/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pixman-scaling-performance-tp26391498p26543912.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541703</id>
	<title>Re: [PATCH] pixman: high qualtiy downscaling</title>
	<published>2009-11-27T04:18:13Z</published>
	<updated>2009-11-27T04:18:13Z</updated>
	<author>
		<name>Soeren Sandmann-2</name>
	</author>
	<content type="html">Carlos Garcia Campos &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541703&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carlosgc@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; What's the status of this? any chance of getting this fixed in
&lt;br&gt;&amp;gt; pixman soon? Poppler has been affected by this bug[1] for a long
&lt;br&gt;&amp;gt; time, and it's the main reason why we still allow building
&lt;br&gt;&amp;gt; poppler-glib frontend with the splash backend. If there's anything I
&lt;br&gt;&amp;gt; can do to help, please let me know.
&lt;br&gt;&lt;br&gt;My opinion on the subject is basically still here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://lists.cairographics.org/archives/cairo/2009-June/017498.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/archives/cairo/2009-June/017498.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;A quite general solution would be to add the ability to resample at a
&lt;br&gt;user-specified rate with a user-specified filter kernel. A first
&lt;br&gt;implementation of this could offer just a box filter.
&lt;br&gt;&lt;br&gt;In practical terms, this would mean changing the fetching in
&lt;br&gt;pixman-bits-image.c to fetch subpixels and average them together
&lt;br&gt;instead of fetching whole pixels.
&lt;br&gt;&lt;br&gt;A new function
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pixman_image_set_resample_rate (image, rate_x, rate_y)
&lt;br&gt;&lt;br&gt;would be added, where rate_x and rate_y both default to 1. If they are
&lt;br&gt;set to something other than 1, then a different fetch function is
&lt;br&gt;installed that fetches rate_x times rate_y subpixels per pixel, then
&lt;br&gt;averages them together. I don't think this would be a huge amount of
&lt;br&gt;work to do.
&lt;br&gt;&lt;br&gt;To get approximately GdkPixbuf level of quality, you could then do:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if downscaling in the X direction, then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;	rate_x = 1 / scale_ratio_x
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rate_x = 1;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if downscaling in the Y direction, then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rate_y = 1 / scale_ratio_y
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rate_x = 1;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (rate_x == 1 || rate_y == 1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;	filter = PIXMAN_FILTER_BILINEAR;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; filter = PIXMAN_FILTER_NEAREST;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pixman_image_set_filter (image, filter);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pixman_image_set_resample_rate (image, rate_x, rate_y);
&lt;br&gt;&lt;br&gt;Though, there could be aliasing issues resulting from the combination
&lt;br&gt;of nearest interpolation with super sampling where some source pixels
&lt;br&gt;may get disproportionately overrepresented. BILINEAR could be used in
&lt;br&gt;all cases if this is a problem.
&lt;br&gt;&lt;br&gt;&lt;br&gt;- Cairo API -
&lt;br&gt;&lt;br&gt;Corresponding cairo API would have to be added. Below are some
&lt;br&gt;thoughts on that. They should not be taken as fully formed proposal.
&lt;br&gt;&lt;br&gt;The direct translation of the pixman API would be:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cairo_pattern_set_resampling_rate (pattern, rate_x, rate_y)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cairo_pattern_set_resampling_filter (pattern, filter).
&lt;br&gt;&lt;br&gt;and that would enough for a sufficiently motivated developer to get
&lt;br&gt;reasonable rescaling, but you have to write basically the code above,
&lt;br&gt;so there likely should be some simplified API to let users say &amp;quot;please
&lt;br&gt;just make it look reasonable&amp;quot;.
&lt;br&gt;&lt;br&gt;Maybe that is CAIRO_FILTER_GOOD, but that would conflate interpolatino
&lt;br&gt;and sampling, which would bug me. Another possibility is that cairo
&lt;br&gt;simply offers
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CAIRO_RESAMPLE_FAST
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CAIRO_RESAMPLE_GOOD
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CAIRO_RESAMPLE_BEST
&lt;br&gt;&lt;br&gt;defaulting to GOOD, where GOOD then would mean &amp;quot;make it look good&amp;quot;. 
&lt;br&gt;&lt;br&gt;Another issue is how/whether to configure resampling of masks. &amp;nbsp;Having
&lt;br&gt;this ability is interesting because it gives us these features:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- resampling with a gaussian kernel gives us blurring of both
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;images and geometry
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- using a better kernel than the current box filter could
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;potentially give higher quality antialiasing.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- setting the sampling rate to something other than 17x15 gives a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user-settable tradeoff between speed and quality geometry
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rendering.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Soren
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541703&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--pixman%3A-high-qualtiy-downscaling-tp24762728p26541703.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541660</id>
	<title>Re: [PATCH] [pixman-test]: support for testing pixbuf fast path functions in blitters-test</title>
	<published>2009-11-27T04:14:20Z</published>
	<updated>2009-11-27T04:14:20Z</updated>
	<author>
		<name>Soeren Sandmann-2</name>
	</author>
	<content type="html">Siarhei Siamashka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541660&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siarhei.siamashka@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; This is a patch for extending 'blitters-test' to also cover pixbuf related
&lt;br&gt;&amp;gt; fast path functions in pixman.
&lt;br&gt;&lt;br&gt;Looks good to me.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Soren
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541660&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH---pixman-test-%3A-support-for-testing-pixbuf-fast-path-functions-in-blitters-test-tp26399875p26541660.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541635</id>
	<title>Re: Pixman scaling performance</title>
	<published>2009-11-27T04:11:41Z</published>
	<updated>2009-11-27T04:11:41Z</updated>
	<author>
		<name>Soeren Sandmann-2</name>
	</author>
	<content type="html">Siarhei Siamashka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siarhei.siamashka@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It's mostly a question about the status of
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://cgit.freedesktop.org/~sandmann/pixman/log/?h=unroll&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cgit.freedesktop.org/~sandmann/pixman/log/?h=unroll&lt;/a&gt;&lt;br&gt;&amp;gt; branch, which should improve performance of nearest scaling.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If tested with render_bench program on ARM Cortex-A8, we get the
&lt;br&gt;&amp;gt; following results (it's mostly showing the performance of OVER
&lt;br&gt;&amp;gt; compositing operation with nearest or bilinear scaling).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As expected, bilinear scaling improved a lot in git (almost reaching
&lt;br&gt;&amp;gt; imlib2), but nearest scaling is still a bit too slow.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Both SRC and OVER operations are quite important for browsers.
&lt;/div&gt;&lt;br&gt;I was hoping that someone would take your old scaling fast paths and 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - do them with preprocessor macros instead of duplicating them
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - go through the fast path system on top of the 'flags' branch
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instead of the additional if statements.
&lt;br&gt;&lt;br&gt;But it may make sese to merge the unroll branch regardless.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Soren
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541635&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pixman-scaling-performance-tp26391498p26541635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541341</id>
	<title>Re: [PATCH, pixman] Eliminate fast path flags</title>
	<published>2009-11-27T03:44:44Z</published>
	<updated>2009-11-27T03:44:44Z</updated>
	<author>
		<name>Soeren Sandmann-2</name>
	</author>
	<content type="html">Siarhei Siamashka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541341&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siarhei.siamashka@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Yeah, we should probably at have at least two CRC32 values, one for
&lt;br&gt;&amp;gt; &amp;gt; the 2 million case, and one for a 100 million case that could run
&lt;br&gt;&amp;gt; &amp;gt; overnight.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It might also be interesting to have many more than two values, and
&lt;br&gt;&amp;gt; &amp;gt; store them in a table where each row would contain both CRC and seed
&lt;br&gt;&amp;gt; &amp;gt; for 2 million iterations, for 4 million, for 6 million and so on.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The test could then pick a range to run at random, which would
&lt;br&gt;&amp;gt; &amp;gt; substantially increase the coverage.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is that performance of different systems may vary a lot, so 100
&lt;br&gt;&amp;gt; millions may be fine for one system, but too much for the other. 
&lt;/div&gt;&lt;br&gt;I am saying that there would be a table like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;lt;seed&amp;gt;, &amp;lt;crc value&amp;gt; }, &amp;nbsp; &amp;nbsp; &amp;nbsp;/* after 1000000 iterations */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;lt;seed&amp;gt;, &amp;lt;crc value&amp;gt; }, &amp;nbsp; &amp;nbsp; &amp;nbsp;/* after 2000000 iterations */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;lt;seed&amp;gt;, &amp;lt;crc value&amp;gt; }, &amp;nbsp; &amp;nbsp; &amp;nbsp;/* after 3000000 iterations */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;lt;seed&amp;gt;, &amp;lt;crc value&amp;gt; }, &amp;nbsp; &amp;nbsp; &amp;nbsp;/* after 4000000 iterations */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { ... },
&lt;br&gt;&lt;br&gt;and so on. The test suite could then do these things:
&lt;br&gt;&lt;br&gt;(1) It could pick a random number k between 0 and 99 (with a seed of
&lt;br&gt;current time), then run that range of tests, using the seed and CRC
&lt;br&gt;from row[k-1] as the starting seeds and CRCs.
&lt;br&gt;&lt;br&gt;After running those 1000000 iterations it would compare the crc value
&lt;br&gt;to the one in in row[k] and fail the test if they didn't match. (It
&lt;br&gt;could also compare the seed values and complain that the test table
&lt;br&gt;itself was broken).
&lt;br&gt;&lt;br&gt;(2) It could repeat (1) until you stopped it
&lt;br&gt;&lt;br&gt;(3) It could run all 100 tests.
&lt;br&gt;&lt;br&gt;I think this would substantially increase the coverage from the
&lt;br&gt;test. Of course, maybe 100 is not the right number.
&lt;br&gt;&lt;br&gt;&amp;gt; For modern systems it probably also makes sense to add multithreading
&lt;br&gt;&amp;gt; support to the test so that it can utilize all the available CPU
&lt;br&gt;&amp;gt; cores.
&lt;br&gt;&lt;br&gt;Agreed.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Soren
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541341&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH%2C-pixman--Eliminate-fast-path-flags-tp26311310p26541341.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540149</id>
	<title>Re: OpenType fonts in Windows Metafiles</title>
	<published>2009-11-27T02:00:05Z</published>
	<updated>2009-11-27T02:00:05Z</updated>
	<author>
		<name>Adrian Johnson</name>
	</author>
	<content type="html">Zoltán Turányi wrote:
&lt;br&gt;&amp;gt; I attached two emf files showing the drawing and the resulting wmf files 
&lt;br&gt;&amp;gt; that does/does not have the text in them. (Note that wmf files have a 
&lt;br&gt;&amp;gt; thumbnail bitmap stored with them, which shows the text, but if you drop 
&lt;br&gt;&amp;gt; the wmf onto a PowerPointslide, it misses the text.)
&lt;br&gt;&lt;br&gt;All your emf/wmf attachments render correctly in Windows Picture Viewer 
&lt;br&gt;and EMFexplorer. Maybe it is a bug in the application you are importing 
&lt;br&gt;the files into.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenType-fonts-in-Windows-Metafiles-tp26518868p26540149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538653</id>
	<title>Re: Paginating a png image.</title>
	<published>2009-11-26T23:19:32Z</published>
	<updated>2009-11-26T23:19:32Z</updated>
	<author>
		<name>Gerdus van Zyl</name>
	</author>
	<content type="html">I think you need to keep the rectangle the same:
&lt;br&gt;cairo_rectangle (cr, 0.0, 0.0, (double)width, (double)page_height);
&lt;br&gt;&lt;br&gt;and move the offset to the source:
&lt;br&gt;cairo_set_source_surface (cr, the_surface, 0.0,
&lt;br&gt;(double)page_height*page_nr); //the y could also be negative can't
&lt;br&gt;remember
&lt;br&gt;&lt;br&gt;~G
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 8:59 PM, Richard Shann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538653&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richard.shann@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am trying to print a .png image which is created by an external
&lt;br&gt;&amp;gt; application as several pages abutted vertically. (That is the width is
&lt;br&gt;&amp;gt; the width of A4 paper, the height is number_pages * the height of A4).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using the GtkPrintOperation, and can get the first page, but the
&lt;br&gt;&amp;gt; subsequent pages are (largely) blank.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the callback for the begin-print I set up the cairo surface
&lt;br&gt;&amp;gt; and compute the number of pages from by scaling by 842/595 which is A4
&lt;br&gt;&amp;gt; aspect ratio.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  the_surface = cairo_image_surface_create_from_png (image.png);
&lt;br&gt;&amp;gt;  int src_width = cairo_image_surface_get_width(the_surface);
&lt;br&gt;&amp;gt;  int src_height = cairo_image_surface_get_height(the_surface);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  int width = 595;
&lt;br&gt;&amp;gt;  int height = 842;
&lt;br&gt;&amp;gt;  int page_height =  height*((double)src_width)/width;
&lt;br&gt;&amp;gt;  int num_pages = src_height/page_height;
&lt;br&gt;&amp;gt;  gtk_print_operation_set_n_pages (operation, num_pages);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then with the draw-page callback I try to take each chunk of the image,
&lt;br&gt;&amp;gt; and this is where I guess I make some mistake:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    cairo_t * cr = gtk_print_context_get_cairo_context (context);
&lt;br&gt;&amp;gt;    cairo_set_source_surface (cr, the_surface, 0.0, 0.0);
&lt;br&gt;&amp;gt;    cairo_rectangle (cr, 0.0, (double)page_height*page_nr,
&lt;br&gt;&amp;gt; (double)width, (double)page_height);
&lt;br&gt;&amp;gt;    cairo_fill (cr);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is, I move the y-coordinate of the cairo_rectangle on by one
&lt;br&gt;&amp;gt; page_height at each call expecting this to take a new page from the
&lt;br&gt;&amp;gt; image surface. However only the value page_nr=0 behaves as expected, the
&lt;br&gt;&amp;gt; second page has just a tiny strip from the bottom of the first page,
&lt;br&gt;&amp;gt; printed at the bottom, and the rest of the pages are blank.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help would be appreciated
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Richard Shann
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; cairo mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538653&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538653&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Paginating-a-png-image.-tp26533912p26538653.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537318</id>
	<title>Re: Building Cairo with only Image and PNG surfaces</title>
	<published>2009-11-26T18:41:11Z</published>
	<updated>2009-11-26T18:41:11Z</updated>
	<author>
		<name>Mars Depp</name>
	</author>
	<content type="html">&lt;div&gt;Hi Mohit,&lt;br&gt;&lt;/div&gt;&lt;div&gt;I‘ve also encountered the same situation. &lt;/div&gt;&lt;div&gt;In order to avoid it, I tried adding the necessary src files into my CairoBuildProject one by one, meanwhile building the project step by step. &lt;/div&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 7:03 PM, Mohit Sindhwani &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537318&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ml3p@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Mars Depp wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;
I don&amp;#39;t know if you have turn on the switch of WIN32 backend.&lt;br&gt;
Have a try, add &amp;quot;#define CAIRO_HAS_WIN32_SURFACE 1 &amp;quot; to &amp;quot;cairo-features.h&amp;quot;, which included by &amp;quot;cairo.h&amp;quot;.&lt;br&gt;
Good luck~&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;
Hi Mars&lt;br&gt;
&lt;br&gt;
Thanks for the reply.&lt;br&gt;
&lt;br&gt;
I have tried that.  I am actually trying to build without the WIN32 surface since that gives numerous problems on Windows CE.&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Mohit.&lt;br&gt;
11/26/2009 | 7:03 PM.&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537318&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Building-Cairo-with-only-Image-and-PNG-surfaces-tp26516168p26537318.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535750</id>
	<title>Re: Awful PDF output from Evince</title>
	<published>2009-11-26T14:32:48Z</published>
	<updated>2009-11-26T14:32:48Z</updated>
	<author>
		<name>Adrian Johnson</name>
	</author>
	<content type="html">Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt; No, on the contrary: &amp;nbsp;it includes thousands of small fallback images, 
&lt;br&gt;&amp;gt; typically a few pixels wide and high!
&lt;br&gt;&lt;br&gt;This looks like it is printing each Type 3 glyph as an image. This was a 
&lt;br&gt;bug that was fixed in poppler 0.12.0 when I made poppler-cairo use user 
&lt;br&gt;fonts for Type 3 fonts. It works for me using poppler master.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535750&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Awful-PDF-output-from-Evince-tp26535074p26535750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535591</id>
	<title>Re: Awful PDF output from Evince</title>
	<published>2009-11-26T14:13:15Z</published>
	<updated>2009-11-26T14:13:15Z</updated>
	<author>
		<name>Behdad Esfahbod-3</name>
	</author>
	<content type="html">On 11/26/2009 04:59 PM, Adrian Johnson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Behdad Esfahbod wrote:
&lt;br&gt;&amp;gt;&amp;gt; When I try printing this PDF:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.toronto.diplo.de/Vertretung/toronto/en/04/VisaRegulations/downloaddatei__visaform__schengen,property=Daten.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.toronto.diplo.de/Vertretung/toronto/en/04/VisaRegulations/downloaddatei__visaform__schengen,property=Daten.pdf&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; using evince into a new PDF (I'm trying to shrink it from A4 to
&lt;br&gt;&amp;gt;&amp;gt; Letter), I get a 23MB output. The original is 91K!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Printing to PS is slightly better. Comes out at 5MB.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Both outputs take a LONG LONG time to render in evince. And the
&lt;br&gt;&amp;gt;&amp;gt; printer didn't like them either.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; behdad
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I printed your PDF to PDF and PS using code similar to the PS/PDF
&lt;br&gt;&amp;gt; rendering example [1] and get a 215k PDF and 614k PS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does the PS file contain one big image? It may be an evince bug.
&lt;/div&gt;&lt;br&gt;No, on the contrary: &amp;nbsp;it includes thousands of small fallback images, 
&lt;br&gt;typically a few pixels wide and high!
&lt;br&gt;&lt;br&gt;behdad:~ 0$ grep 'Fallback' output.ps &amp;nbsp;| wc -l
&lt;br&gt;8229
&lt;br&gt;behdad:~ 0$ grep 'Fallback' output.ps &amp;nbsp;| tail
&lt;br&gt;% Fallback Image: x=189, y=761, w=7, h=1 res=300dpi size=450
&lt;br&gt;% Fallback Image: x=200, y=761, w=3, h=1 res=300dpi size=195
&lt;br&gt;% Fallback Image: x=206, y=761, w=4, h=1 res=300dpi size=255
&lt;br&gt;% Fallback Image: x=211, y=761, w=5, h=1 res=300dpi size=315
&lt;br&gt;% Fallback Image: x=217, y=761, w=4, h=1 res=300dpi size=255
&lt;br&gt;% Fallback Image: x=224, y=761, w=3, h=1 res=300dpi size=195
&lt;br&gt;% Fallback Image: x=231, y=761, w=4, h=1 res=300dpi size=255
&lt;br&gt;% Fallback Image: x=120, y=762, w=4, h=1 res=300dpi size=255
&lt;br&gt;% Fallback Image: x=177, y=762, w=4, h=1 res=300dpi size=255
&lt;br&gt;% Fallback Image: x=231, y=762, w=4, h=1 res=300dpi size=255
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;http://www.cairographics.org/renderpdf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cairographics.org/renderpdf/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535591&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Awful-PDF-output-from-Evince-tp26535074p26535591.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535426</id>
	<title>Re: Awful PDF output from Evince</title>
	<published>2009-11-26T13:59:05Z</published>
	<updated>2009-11-26T13:59:05Z</updated>
	<author>
		<name>Adrian Johnson</name>
	</author>
	<content type="html">Behdad Esfahbod wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; When I try printing this PDF:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.toronto.diplo.de/Vertretung/toronto/en/04/VisaRegulations/downloaddatei__visaform__schengen,property=Daten.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.toronto.diplo.de/Vertretung/toronto/en/04/VisaRegulations/downloaddatei__visaform__schengen,property=Daten.pdf&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; using evince into a new PDF (I'm trying to shrink it from A4 to Letter), I get 
&lt;br&gt;&amp;gt; a 23MB output. &amp;nbsp;The original is 91K!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Printing to PS is slightly better. &amp;nbsp;Comes out at 5MB.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Both outputs take a LONG LONG time to render in evince. &amp;nbsp;And the printer 
&lt;br&gt;&amp;gt; didn't like them either.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; behdad
&lt;/div&gt;&lt;br&gt;&lt;br&gt;I printed your PDF to PDF and PS using code similar to the PS/PDF 
&lt;br&gt;rendering example [1] and get a 215k PDF and 614k PS.
&lt;br&gt;&lt;br&gt;Does the PS file contain one big image? It may be an evince bug.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://www.cairographics.org/renderpdf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cairographics.org/renderpdf/&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;cairo mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535426&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cairo@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.cairographics.org/mailman/listinfo/cairo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.cairographics.org/mailman/listinfo/cairo&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Awful-PDF-output-from-Evince-tp26535074p26535426.html" />
</entry>

</feed>
