The ornamental design for a surfacepattern for fabric, as shown and described.
The sole FIGURE is a plan view of a surface pattern for fabric wherein solid black shading is used to show the contrast in colors between the background of the fabric and the four cloverleaves design. The broken lines surrounding the surface pattern for fabric form no part of the claimed design.