Re: Limitation of recording surface

"Bernhard R. Fischer" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <5258882.hm32UfeVbR@kerdohl>
On Wednesday 04 February 2015 23:11:24 Adrian Johnson wrote:
> On 04/02/15 20:05, Bernhard R. Fischer wrote:
> > Hi!
> > 
> > I'm developing Smrender which is a chart renderer for OSM data and I use
> > cairographics for it. Those charts are highly complex and contain a huge
> > amount of vector data.
> > 
> > Internally, everything is rendered to a recording surface which is finally
> > "painted" to a PDF surface (or other formats).
> > 
> > 
> > I found out that with some amount of input data the PDF is degraded to a
> > raster image instead of vector image.
> > 
> > Is there any known limit in the recording surface or in the PDF surface
> > which causes this behavior? Is there any possibility to change this or do
> > you have any suggestions what I can do to avoid this?
> 
> No. As long you do not use operators unsupported by PDF it should not be
> rasterized. If you are only using CAIRO_OPERATOR_OVER and seeing
> rasterization in pdf it is likely a bug.
> 

I use CAIRO_OPERATOR_OVER and CAIRO_OPERATOR_CLEAR but nothing else. I'll try 
to track down the problem more specifically.

Bernhard

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABCAAGBQJU0xgjAAoJEB2of8NcX/1HN9AH/1jZqueMKZ4IYu53qHGnMT6o
89VzlJnAufL+sFfukAL/TELNKQ7gHmJjdV5Fq0oQkSExWkNeAPstgHgw6Ke7dohS
AOvRgyYKrcmVNAYp4SFWaUXds/Z0K4dGnvkMRxnCsCMIBlQYttqyzlXgfVoy2CCX
Lfw1EambXX6xjkEuc/gNh645LpAU4WhVRSm44N4udDiP+vTWSyjWpia/JbQ2x9jk
xyzBWbcgUyFaA6fxmGCw+nAMO4AQiFxzn7vpIbAmCTCj5ICfdnSy4+6EL/5T3g4n
wdEKOVW6VTEweIPbv/nnF90hgblL4jCrOTGwpq3nihsRlrX4xZMVqwAbmhvMdmQ=
=SiWu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.