If I'm going to paint MDF I usually use a spray primer filler (now often called a hi-build primer) in tins, which often comes in grey, or mucky yellow colour. It is thicker than the ordinary primers and builds up well. As regards MDF edges, I just use a bit of wood filler and sand it down, THEN...