Distrotech / reportlab

Mirror of https://bitbucket.org/rptlab/reportlab
Other
61 stars 41 forks source link

"x_order_2: colinear!" message from renderPM #15

Open snoopyjc opened 4 years ago

snoopyjc commented 4 years ago

Using renderPM.drawToFile to convert some SVG images to PNG and this console message appears on one of them:

x_order_2: colinear!

The conversion still works, though!

I grepped thru all my python site packages to find this:

Binary file _renderPM.cp36-win_amd64.pyd matches

snoopyjc commented 4 years ago

I found it in line 352 of https://github.com/Distrotech/reportlab/blob/48cafb6d64ff92fd9d4f9a4dd888be6f7d55b765/src/rl_addons/renderPM/libart_lgpl/art_svp_wind.c:

fprintf (STDERR, "x_order_2: colinear!\n");
MestreLion commented 2 years ago

Wow, they're vendoring a discontinued library, using a version from 2003, almost 20 years ago, with a single change since then (in 2011!)

I was bitten by this massive console output and googled for fixes or workarounds. Along with the "colinear!" It also freezes when trying to render some SVG files.