That looks like enough space, are all your pigs happy when you pet them and do they have full hearts? If they have a lower friendship, they have a lower chance of digging up truffles. Petting them each day and planting grass can help if that's the issue.