(In reply to comment #75)
> I think the server version check is needed.
> (I wouldn't bother with a cairo version check.)
>
> Might as well use EXTEND_PAD for upscaling with server >= 1.7.
> I was thinking something like
>
> gfxPattern::GraphicsExtend gfxContext::PreferredExtend().
(In reply to comment #75) :GraphicsExtend gfxContext: :PreferredExten d().
> I think the server version check is needed.
> (I wouldn't bother with a cairo version check.)
>
> Might as well use EXTEND_PAD for upscaling with server >= 1.7.
> I was thinking something like
>
> gfxPattern:
cairo seems already to do something like it,
http:// mxr.mozilla. org/mozilla- central/ source/ gfx/cairo/ cairo/src/ cairo-xlib- display. c#339
... and fallbacks if the server is buggy, doesn't it?
http:// mxr.mozilla. org/mozilla- central/ source/ gfx/cairo/ cairo/src/ cairo-xlib- surface. c#1591