Fry the tofu in a pan in half the oil until sealed (5 to 10 minutes).
Then set aside to cool.
Fry the onion, garlic and ginger until golden in remaining oil.
Mix the dry spices with a little water to make a paste.
Add to the onion mixture and cook for 10 minutes.
Add the tomato (tinned and purée) and chillies.
Cook for a further 10 minutes.
Combine the tofu and all ingredients in a casserole dish and cook in a pre-heated oven at 400 F or Gas 6 for 25 to 30 minutes.