Comment 8 for bug 430887

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Yes that'd would be the end goal, we already do that this space thing when parsing obj number, see XRef.cc line 963

About this patch, i'd prefer to move it to the CairoOutputDev, the other *OutputDev already do this check, and in a regular project i'd suggest "upstreaming" the checks but here i prefer not to touch existing code to ease future merges with xpdf code (if he ever does a new release) so moving to CairoOutputDev is as good for fixing the bug and eases a bit the merging so if you agree Carlos or I can commit the fix there.