Hi Albert,
I don't, sorry. Perhaps I did not trust that case and had no suitable
test documents at hand.
Feel free to correct it.
Best regards
Christian
Am 08.12.2012 18:47, schrieb Albert Astals Cid:
El Dissabte, 8 de desembre de 2012, a les 17:27:51, Harry Roberts va escriure:
Hi,
I have a PDF which raises assertion error in `
GfxGouraudTriangleShading::getTriangle`.
This assertion doesn't make sense, isParameterized() check if `nFuncs> 0`,
but the code handles both cases.
Christian do you remember why you added that assert?
When disabling the assertion the PDF appears to render correctly.
Can we have such PDF?
Albert
GfxState.cc line 4481
---------------------------------------------------------------------
assert(!isParameterized());
v = triangles[i][0];
*x0 = vertices[v].x;
*y0 = vertices[v].y;
if (nFuncs> 0) {
in = colToDbl(vertices[v].color.c[0]);
for (j = 0; j< nFuncs; ++j) {
funcs[j]->transform(&in,&out[j]);
}
for (j = 0; j< gfxColorMaxComps; ++j) {
color0->c[j] = dblToCol(out[j]);
}
} else {
*color0 = vertices[v].color;
}
---------------------------------------------------------------------
Cheers,
- Harry
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler