Whisk the flour, baking powder and salt together in a bowl and set aside.
In a large bowl, beat the butter and sugar together until pale and fluffy, about 3 minutes.
Add the egg, vanilla and almond extract if using, and beat until fully combined.
Lower the mixer speed and add the flour mixture in two batches, mixing just until no dry streaks remain.
Divide the dough in half, pat each half into a disc, wrap and chill for at least 1 hour.
On a lightly floured surface, roll one disc to 1/4 inch thickness and cut out shapes with cookie cutters.
Transfer the cookies to parchment-lined baking sheets, spacing them 2 inches apart, and bake at 350°F (175°C) for 8 to 10 minutes until the edges just turn pale gold.
Cool on the sheet for 5 minutes, then move to a wire rack to cool completely before icing.