There could be 3 ways to do it. One is the obvious tons of filler. The other would be some smooth fiberglass work. And the third would be cut it out, and have some plastic welding done w/ a smooth piece of plastic and still a little fiberglass to hold it all together.
Then again, it's not impossible to have those painted either. Maybe a flat black w/ gloss black letter on the "NISSAN". and Gloss black 370 Z