Preheat the oven to 325 degrees. Grease a small baking sheet.
Press the tofu according to directions on page 252. After pressing, cut the tofu into 1⁄2-inch cubes. In a bowl, toss tofu with soy sauce until each cube is coated. Place in one layer on the prepared baking sheet. Bake for 45 minutes, turning the tofu a couple of times with a spatula. Remove from oven and set aside.
To prepare pineapple, cut in half lengthwise using a sharp knife. Remove the flesh and cut into bite-sized pieces. Set aside 11⁄2 cups for this recipe, and save the rest for another use. Reserve the shell for serving.
In a large skillet or wok, heat oil over medium-high heat and sauté onions until soft and lightly browned. Season with salt. Add garlic, curry, coriander, and chili-garlic sauce, and let cook a few more minutes. Add cashews, carrots, peas, raisins, rice, broth, pineapple, and tofu. Cook until heated through and adjust salt to taste. Serve the rice like they do in Thai- land—in the pineapple shell!