The traditional variant is from
Guangdong province, where the filling consists of candied
wintermelon. The candied wintermelon mash is then combined with white sesame seeds and glutinous rice flour. Coconut in the form of mash or desiccated shreds and almond paste, as well as vanilla, are also sometimes added. The paste is encased in
Cantonese-style pastry dough; the authentic flavour and flaky texture of the pastry is traditionally produced by using pork lard shortening, and glazing with egg wash. Due to its rising popularity in Western countries, brought about by immigration, butter is sometimes substituted in place of lard, though this will alter the taste. The level of sweetness is mild, compared to Western sweet pastries. Southeast Asian variations can include spices such as Chinese five spice (五香粉). Although this spice is of Chinese origin, it was not traditionally used in sweetheart cakes. Sweetheart cake may be confused with the husband cake (老公饼 or Lao gong bing), which uses red bean curd and
star anise in its filling. ==Legends of origin==