Patches in Matlab are glued together from individual triangles. Their edges are normally not visible, but when I export the figure in a vector graphics format they can clearly be seen (not the whole picture is shown, just a zoomed-in portion)

Code to generate this MWE was:
xx = [0:1:100, 100:-1:0];
yy = [zeros(1,101), ones(1,101)];
p1 = patch(xx,yy,'b');
print('testPatch','-dpdf','-painters')
Alternative function fill behaves the same. Is there a way to avoid this bug or do I have to live with bitmaps in this case?
EDIT: One workaround is to hatch the area instead of filling it. That obviously isn't always possible, but in my case it worked nicely and I could stick to vector graphics. The relevant FEX submission is http://www.mathworks.com/matlabcentral/fileexchange/30733-hatchfill
plot2svg allows creating vector graphics files (SVGs) with unbroken patches. I'd stay tuned also for export_fig updates, it seems that Yair Altman is working on this issue. Wouldn't hold my breath for a solution from The Mathworks.