Limitation of recording surface

"Bernhard R. Fischer" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <1721467.mFCfIYiI7s@kerdohl>
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?


Examples:
The following two charts are rendered on the same system, same software, same 
version...
The only difference is that for the 2nd (raster) PDF more input data (contour 
lines) is used. You can clearly see (if you zoom in) that the first one is a 
vector image and the second is a raster image. The first also has embedded 
fonts which the 2nd does not have.

http://www.abenteuerland.at/download/eagle/murter_vector.pdf
http://www.abenteuerland.at/download/eagle/murter_raster.pdf


Best regards,
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

iQEcBAABCAAGBQJU0egCAAoJEB2of8NcX/1H6eMIAL/v6OH8NtpTjUtOaNa1XT5U
/59S8NM5Lal4o1PCh8Jz8YCrFLh3QgqCUH29uOMEnttZoMGuY/z831+E+HKINBH4
G3+1zhHU2w11x1e2yYP8gLBRJ3tS1JF4AJoaVDSIASNtP4eLhO0HNuBsa5Ymllmk
vKr0oJF0ojRCpOHSJznhBg9oqLaAK5FvJXlaw7oBRZoiqHRLJkdBxbtgKSxhQFfW
+WWpmaw1kSJdPDaXDTZbIZdrPsSvJG+0EErgfmZ304IPsr2w9nOZ7LrRNdqcpCAu
kQ2mq0eTh3mZq8Eq/pCfHyEQ2cIprjYYtdYHMUNyN7aCVnCnlb4M7RsMIMDWYc4=
=Iva0
-----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.